000036384 - NullPointerException and ClassNotFoundException when installing RSA Identity Governance & Lifecycle 7.1.0 on WebLogic

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

Article Content

Article Number000036384
Applies ToRSA Product Set: RSA Identity Governance & Lifecycle
RSA Version/Condition: 7.1.0
Platform: WebLogic
IssueWhen deploying aveksa.ear and aveksaWFArchitect.ear on WebLogic 12.2.x, the following  errors display:

weblogic.application.ModuleException: java.lang.NullPointerException
at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:192)
at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:187)
at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:83)
at weblogic.work.ContextWrap.run(ContextWrap.java:46)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:670)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:644)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:415)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:355)
Caused by: java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)
at weblogic.spring.monitoring.instrumentation.SpringClassPreprocessor.createSpringInstrumentorEngineIfNecessary(SpringClassPreprocessor.java:67)
at weblogic.spring.monitoring.instrumentation.SpringClassPreprocessor.<init>(SpringClassPreprocessor.java:26)
at weblogic.spring.monitoring.instrumentation.SpringInstrumentationUtils.addSpringInstrumentor(SpringInstrumentationUtils.java:87)
at weblogic.servlet.internal.WebAppInternalModuleExtension$SpringInstrumentationExtension.doInstrumentation(WebAppInternalModuleExtension.java:113)
at weblogic.servlet.internal.WebAppInternalModuleExtension$SpringInstrumentationExtension.access$400(WebAppInternalModuleExtension.java:102)
at weblogic.servlet.internal.WebAppInternalModuleExtension.prePrepare(WebAppInternalModuleExtension.java:57)
at weblogic.application.internal.ExtensibleModuleWrapper$PrepareStateChange.next(ExtensibleModuleWrapper.java:293)
at weblogic.application.internal.ExtensibleModuleWrapper$PrepareStateChange.next(ExtensibleModuleWrapper.java:285)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:109)
... 13 more

 


Task 1 initiated: [Deployer:149026]deploy application aveksaWFArchitect on Cluster1.
Task 1 failed: [Deployer:149026]deploy application aveksaWFArchitect on Cluster1.
Target state: deploy failed on Cluster Cluster1
java.lang.ClassNotFoundException: org.springframework.security.oauth2.client.token.AccessTokenRequest

java.lang.ClassNotFoundException: org.springframework.security.oauth2.client.token.AccessTokenRequest



2018-03-06 10:06:29 +0000 [lonindapmp1] [error] App deployment for aveksaWFArchitect.ear failed
2018-03-06 10:06:29 +0000 [lonindapmp1] [error] Redeploy_domain: couldn't deploy ap0912.int2
failed to redeploy ap0912 int2 (Governor)
CauseThe avkesa.ear requires additional deployment options that are not currently documented.

The aveksaWFArchitect.ear requires the removal of a .jar file, causing the ClassNotFoundException.
ResolutionWebLogic requires both additional deployment options for aveksa.ear and an updated aveksaWFArchitect.ear.

For the aveksa.ear



  1. Add the parameter o last occurence of JAVA_OPTIONS to the JVM parameters.


-DANTLR_USE_DIRECT_CLASS_LOADING=true


  1. Stop all the servers.
  2. Clear the tmp and cache folders under each server directory.
  3. Restart the servers.
  4. Deploy the application.


For the aveksaWFArchitect.ear


Contact RSA Customer Support to obtain a patched version of the aveksaWFArchitect.ear which omits .jar files for the Spring Framework. This fix will be included in future releases.


     

    Attachments

      Outcomes