DX Infrastructure Management

Tech Tip: Unable to Open the Dashboard Portlet: "Not able to get the current user or the roles associated with the user" 

May 26, 2017 10:59 AM

Document ID:  TEC1288691
Last Modified Date:  05/26/2017

 

 

Issue:

Since the upgrade to UMP 8.5.1 I cannot open the dashboard portlet, instead I receive an error message saying: 

"Not able to get the current user or the roles associated with the user"

dash.JPG

This issue happens for every user and even after redeploying the portlet completely.

 

In the wasp.log the below exception is seen:

May 17 14:02:05:246 ERROR [http-bio-80-exec-7, org.apache.catalina.core.ContainerBase.[wasp-engine].[localhost].[/dashboard]] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.firehunter.dashboard.config.ActorSetup': Invocation of init method failed; nested exception is java.lang.RuntimeException: For input string: ""

 

 

Environment:
UIM/UMP 8.5.1
Cause:

The  <dashboard> webepp section in the wasp.cfg contains the details of the <jdbc> connection to an external database data source  (If a Database for SQL Data Sources has been created).

i.e.

<dashboard>

...

<jdbc>

            <1>

                jdbc_driver = com.microsoft.sqlserver.jdbc.SQLServerDriver

                name = jdbc/uimserver

                jdbc_username = 

                jdbc_url = jdbc:sqlserver://UIMserver831;DatabaseName=CA_UIM

                jdbc_password = 

             </1>

 </jdbc>

...

<dashboard>

 

Empty credentials strings as shown above might cause this issue.

Resolution:

To solve the problem:

 

1. Deactivate the UMP wasp

2. Remove the section from the wasp.cfg:

 

i.e.

 

     <1>

                jdbc_driver = com.microsoft.sqlserver.jdbc.SQLServerDriver

                name = jdbc/uimserver

                jdbc_username = 

                jdbc_url = jdbc:sqlserver://UIMserver831;DatabaseName=CA_UIM

                jdbc_password = 

             </1>

 

3. activate the wasp

4. Open a new browser session, log in to UMP and check the dashboard portlet

Additional Information:

Statistics
0 Favorited
4 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.