Dashboard Designer error - Not able to get the current user or the roles associated with the user

book

Article ID: 7071

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES CA Unified Infrastructure Management for z Systems CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM)

Issue/Introduction

Since the upgrade to the latest version of UMP/OC  we cannot open the Dashboard Designer, instead we receive an error message saying: 

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

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

In the wasp.log the below exception is seen:

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: ""

 

 

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).

For example,

<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.
  • This issue has also been reported when other strings for keys inside the /dashboard/jdbc connection details appear as equals to ""

Environment

UIM/UMP/OC 8.x / 9.x / 20.x

Resolution

To solve the problem:

1. Deactivate the UMP/OC 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 wasp

4. Open a new browser session, login to UMP/OC and check the dashboard designer portlet/webapp.

Additional Information

UIM Documentation:

Create and Assign the Data Source for a Widget (broadcom.com)

Attachments

1558703249203000007071_sktwi1f5rjvs16q6d.jpeg get_app