After deploying RSA Identity Governance & Lifecycle on WebSphere, the following error message is displayed on the RSA Identity Governance & Lifecycle console:
Initialization Status
Initialization operations completed. Service is ready to accept requests.
java.lang.NullPointerException
Image description
The following errors are logged in the log files:
aveksaServer.log
01/29/2020 04:56:36.251 ERROR (server.startup : 2) [com.aveksa.init.Startup] Error logging audit event on startup java.lang.NullPointerException
at com.aveksa.server.db.persistence.PersistenceServiceProvider.currentSession(PersistenceServiceProvider.java:488) ...
01/29/2020 04:56:40.953 ERROR (WebContainer : 0) [com.aveksa.gui.core.MainManager] java.lang.NullPointerException
at com.aveksa.gui.objects.system.GuiLoginPageProperties.inMaintenanceMode(GuiLoginPageProperties.java:71)
SystemOut.log:
1/29/20 6:36:36:139 EST java.lang.UnsupportedClassVersionError com.ibm.ws.webcontainer.servlet.ServletInstance.init 181 /opt/WebSphere/AppServer855/profiles/WAS01/logs/ffdc/Node1.txt
1/29/20 13:08:58:184 EST 1/29/20 13:09:00:542 EST com.ibm.websphere.security.auth.WSLoginFailedException com.ibm.ws.security.token.WSCredentialTokenMapper.createPropagationTokenBeforeAuthenticatedCallerSet 1717 /opt/WebSphere/AppServer855/profiles/WAS01/logs/ffdc/node1.txt
These error messages indicate an incompatible JDBC driver is installed. If the JDBC driver is updated, the same or similar errors may be seen in the log files. For example, note a similar error in the SystemOut.log after updating the JDBC driver:
[1/29/20 16:35:16:949 EST] 00000097 J2CUtilityCla E J2CA0036E: An exception occurred while invoking method setDataSourceProperties on com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource jdbc/ibmwssib : java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=oracle/jdbc/pool/OracleConnectionPoolDataSource, offset=6
RSA Identity Governance & Lifecycle may generate a NullPointerException on startup for any issue in the underlying WebSphere application server that prevents successful startup of the server.
WebSphere will generate an UnsupportedClassVersionError if the version of the JDBC driver used by WebSphere does not match the version of Java used by RSA Identity Governance & Lifecycle.
WebSphere will generate an UnsupportedClassVersionError if the version of Java used by WebSphere does not match the version of Java used by RSA Identity Governance & Lifecycle.
Ensure all prerequisites have been met for WebSphere and RSA Identity Governance & Lifecycle, specifically the requirements for Java and JDBC.
- For RSA Identity Governance & Lifecycle 7.1.1, the recommended version of the JDBC driver is ojdbc8.jar.
- For RSA Identity Governance & Lifecycle 7.1.1, the recommended version of Java is Java 1.8.