Error: "User defined listener com.primavera.tm.server.TMContextListener failed: java.lang.NullPointerException." After Deploying Team Member To WebLogic (Doc ID 1426939.1)

Last updated on JULY 05, 2016

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 8.2 and later
Information in this document applies to any platform.

Symptoms

When attempting to deploy Team Member to WebLogic, the application shows a state of 'Failed' after initial deployment, and logs the following errors to the WebLogic Managed Server TeamMember_<DATE>.log file:

Error is: 'weblogic.application.ModuleException: Failed to load webapp: '/p6tmweb''
weblogic.application.ModuleException: Failed to load webapp: '/p6tmweb'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
...


OR

User defined listener com.primavera.tm.server.TMContextListener failed: java.lang.NullPointerException.
java.lang.NullPointerException.
  at com.primavera.tm.server.TMContextListener.configureLogger(TMContextListener.java:110)
  at com.primavera.tm.server.TMContextListener.contextInitialized(TMContextListener.java:52)
  at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
  ...


OR

Unable to set the activation state to true for the application 'p6tm'. 
weblogic.application.ModuleException:
   at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
   at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
   at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
   at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
   at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
   at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
   at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
   at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
   at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) 
   at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
   at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
Caused By: java.lang.NullPointerException
   at com.primavera.tm.server.TMContextListener.configureLogger(TMContextListener.java:110)
   at com.primavera.tm.server.TMContextListener.contextInitialized(TMContextListener.java:52)
   ...

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms