000036886 - RSA Identity Governance and Lifecycle application displays "java.lang.NullPointerException" error when you attempt to access the application hosted on WebSphere

Document created by RSA Customer Support Employee on Dec 26, 2018
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000036886
Applies ToRSA Product Set: RSA  Identity Governance and Lifecycle
RSA Version/Condition: All
Platform/Application Server : WebSphere  8.5.5 
 
IssueRSA Identity Governance and Lifecycle application installed on WebSphere.
However, when you try and get to the G&L  login screen, you get   java.lang.NullPointerException error

The aveksaServer.log  lists this error:
 

"10/04/2018 17:52:32.628 ERROR (server.startup : 0) [com.aveksa.init.Startup] Error logging audit event on startup 
java.lang.NullPointerException 
at com.aveksa.server.db.persistence.PersistenceServiceProvider.createSession(PersistenceServiceProvider.java:476) 
at com.aveksa.server.db.persistence.PersistenceServiceProvider.currentSession(PersistenceServiceProvider.java:439) 
at com.aveksa.server.db.persistence.PersistenceServiceProvider.find(PersistenceServiceProvider.java:984)"


 
CauseMissing the Aveksa Shared Library configuration.

On WebSphere 7.x and 8.0 you must associate a .jar file with the RSA Identity Governance and Lifecycle application using the WebSphere shared library.
 
ResolutionConfigure the shared library and associating the shared library with the Aveksa EAR, after you deploy the Aveksa EAR.

To configure the shared library:

  1. From the WebSphere admin console, go to Environment > Shared libraries.
  2. Set the scope for your configuration:
    • (Standalone) Node=<machine-name>Node01, server=server1
    • (Cluster) cells=MyCluster
  3. Click New to create the shared library:
    • Name: Aveksa Shared Library
    • Classpath: Full path to hibernate-jpa-2.0-api-1.0.1.Final.jar that is included in the DISTRIBUTION directory. 
      For example, if your DISTRIBUTION directory is /opt/ACMWebSphere-<product version> then the full path would be   /opt/ACM-WebSphere-<product version>/hibernate-jpa-2.0-api-1.0.1.Final.jar
  4. Under the Class Loading section, select Use an isolated class loader for this shared library.

To associate the Aveksa Shared Library with the Aveksa EAR:   

  1. From the WebSphere admin console, go to Applications > Application Types > WebSphere enterprise applications.
  2. Select the Aveksa application on the Enterprise Applications page.
  3. Under the References section, click the Shared library references link.
  4. Select the Aveksa application, and then click Reference shared libraries.
  5. On the Shared Library Mapping page, select Aveksa Shared Library from the Available list and move it to the Selected list. 
  6. Click OK to save changes. 

    [ For more detail, please follow the instruction on configuring the shared library as described in Configure the RSA Identity Governance and Lifecycle Shared Library, in RSA Identity Governance and Lifecycle Installation Guide.]

Attachments

    Outcomes