Question

3
Replies
838
Views
Saptarshi Member since 2011 4 posts
Sopra Steria Group
Posted: 3 years ago
Last activity: 2 years 11 months ago
Closed
Solved

Problems regarding "ContextInitialized" in the process of Upgrade from 7.2.1 to 7.3

Hello Everyone,

We are in the process to upgrade an in house environment from 7.2.1 to 7.3. We are using 'the UI tool' to do the same.
Application Server: Tomcat
DB: Posgresql

After successfully, executing the UI Tool (filled in with DB details etc), we try to deploy * prweb.war * from the archive folder of the 7.3zip file (from pega) in the tomcat manager console. While doing so: we find - we encounter the below errors. And thereby the pega server 7.3 is also not up and running.

Please do let us know, if you have something helpful in mind.

The error details :

============ PegaRULES Bootstrap Configuration ============

Date: Mon Oct 02 05:14:49 EDT 2017

Java Version: Oracle Corporation 1.8.0_51

Configuration: file:/pega/prpc721/_dev/workspace/Servers/Tomcat70_Default-config/webapps/prweb/WEB-INF/classes/prbootstrap.properties

Pega-EngineCode: 07-10-31

ASM Version: 762781845

Database: PostgreSQL 9.3.9

Driver: PostgreSQL JDBC Driver 42.1.4

Active CodeSets: pega-enginecode:07-10-31 at (latest patch)

customer:06-01-01 at (latest patch)

=============== End Bootstrap Configuration ===============

Oct 02, 2017 5:14:53 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI

INFO: Could not find java:comp/env/prconfig/ in the local JNDI context, skipping prconfig setting lookup

Oct 02, 2017 5:14:53 AM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI

INFO: Could not find prconfig in the local JNDI context, skipping prconfig setting lookup

Oct 02, 2017 5:15:26 AM com.pega.pegarules.internal.bootstrap.PRBootstrap

SEVERE: Problem during method invocation (contextInitialized)

java.lang.ExceptionInInitializerError

at com.pega.platform.message.internal.broadcast.NotificationModule.getInstance(NotificationModule.java:77)

at com.pega.platform.message.internal.broadcast.PRNotificationModule.<init>(PRNotificationModule.java:17)

at com.pega.platform.message.internal.broadcast.PRNotificationModule$NotificationModuleLoader.<clinit>(PRNotificationModule.java:27)

at com.pega.platform.message.internal.broadcast.PRNotificationModule.getInstance(PRNotificationModule.java:21)

at com.pega.pegarules.session.internal.serverpush.PushServerFactory.initialize(PushServerFactory.java:67)

at com.pega.pegarules.session.internal.serverpush.PushServerFactory.<init>(PushServerFactory.java:51)

at com.pega.pegarules.session.internal.serverpush.PushServerFactory.<clinit>(PushServerFactory.java:40)

at com.pega.pegarules.session.internal.serverpush.PushComponentProvider.getPushLifecycle(PushComponentProvider.java:48)

at com.pega.pegarules.web.servlet.WebAppLifeCycleListener.initializePushEngine(WebAppLifeCycleListener.java:482)

at com.pega.pegarules.web.servlet.WebAppLifeCycleListener._contextInitialized_privact(WebAppLifeCycleListener.java:425)

at com.pega.pegarules.web.servlet.WebAppLifeCycleListener.contextInitialized(WebAppLifeCycleListener.java:221)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)

at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)

at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextInitialized(WebAppLifeCycleListenerBoot.java:83)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5017)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5531)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1095)

at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1930)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.NullPointerException

at com.pega.pegarules.cluster.internal.PRClusterImpl.getPRSysStatusNodesInformation(PRClusterImpl.java:659)

at com.pega.pegarules.cluster.internal.PRClusterImpl.canInitialize(PRClusterImpl.java:322)

at com.pega.pegarules.cluster.internal.PRClusterImpl.getInstance(PRClusterImpl.java:246)

at com.pega.pegarules.cluster.internal.PRClusterProviderImpl.getInstance(PRClusterProviderImpl.java:98)

at com.pega.platform.message.CoreMessage.getInstance(CoreMessage.java:71)

at com.pega.platform.message.internal.broadcast.NotificationModule.<init>(NotificationModule.java:65)

at com.pega.platform.message.internal.broadcast.NotificationModule$NotificationModuleLoader.<clinit>(NotificationModule.java:58)

... 33 more

Oct 02, 2017 5:15:26 AM com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega

SEVERE: Problem during method invocation (contextInitialized)

java.lang.ExceptionInInitializerError

at com.pega.platform.message.internal.broadcast.NotificationModule.getInstance(NotificationModule.java:77)

at com.pega.platform.message.internal.broadcast.PRNotificationModule.<init>(PRNotificationModule.java:17)

at com.pega.platform.message.internal.broadcast.PRNotificationModule$NotificationModuleLoader.<clinit>(PRNotificationModule.java:27)

at com.pega.platform.message.internal.broadcast.PRNotificationModule.getInstance(PRNotificationModule.java:21)

at com.pega.pegarules.session.internal.serverpush.PushServerFactory.initialize(PushServerFactory.java:67)

at com.pega.pegarules.session.internal.serverpush.PushServerFactory.<init>(PushServerFactory.java:51)

at com.pega.pegarules.session.internal.serverpush.PushServerFactory.<clinit>(PushServerFactory.java:40)

at com.pega.pegarules.session.internal.serverpush.PushComponentProvider.getPushLifecycle(PushComponentProvider.java:48)

at com.pega.pegarules.web.servlet.WebAppLifeCycleListener.initializePushEngine(WebAppLifeCycleListener.java:482)

at com.pega.pegarules.web.servlet.WebAppLifeCycleListener._contextInitialized_privact(WebAppLifeCycleListener.java:425)

at com.pega.pegarules.web.servlet.WebAppLifeCycleListener.contextInitialized(WebAppLifeCycleListener.java:221)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)

at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)

at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextInitialized(WebAppLifeCycleListenerBoot.java:83)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5017)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5531)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1095)

at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1930)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.NullPointerException

at com.pega.pegarules.cluster.internal.PRClusterImpl.getPRSysStatusNodesInformation(PRClusterImpl.java:659)

at com.pega.pegarules.cluster.internal.PRClusterImpl.canInitialize(PRClusterImpl.java:322)

at com.pega.pegarules.cluster.internal.PRClusterImpl.getInstance(PRClusterImpl.java:246)

at com.pega.pegarules.cluster.internal.PRClusterProviderImpl.getInstance(PRClusterProviderImpl.java:98)

at com.pega.platform.message.CoreMessage.getInstance(CoreMessage.java:71)

at com.pega.platform.message.internal.broadcast.NotificationModule.<init>(NotificationModule.java:65)

at com.pega.platform.message.internal.broadcast.NotificationModule$NotificationModuleLoader.<clinit>(NotificationModule.java:58)

... 33 more

Oct 02, 2017 5:15:26 AM org.apache.catalina.core.StandardContext startInternal

SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file

Oct 02, 2017 5:15:26 AM org.apache.catalina.core.StandardContext startInternal

SEVERE: Context [/prweb] startup failed due to previous errors

Oct 02, 2017 5:15:28 AM com.pega.pegarules.internal.bootstrap.PRBootstrap

SEVERE: Problem during method invocation (contextDestroyed)

java.lang.NullPointerException

at com.pega.pegarules.cluster.internal.PRClusterHazelcastImpl.shutdown(PRClusterHazelcastImpl.java:1250)

at com.pega.pegarules.web.servlet.WebAppLifeCycleListener._contextDestroyed_privact(WebAppLifeCycleListener.java:179)

at com.pega.pegarules.web.servlet.WebAppLifeCycleListener.contextDestroyed(WebAppLifeCycleListener.java:115)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)

at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)

at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextDestroyed(WebAppLifeCycleListenerBoot.java:67)

at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5064)

at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5726)

at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1095)

at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1930)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Oct 02, 2017 5:15:28 AM com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega

SEVERE: Problem during method invocation (contextDestroyed)

java.lang.NullPointerException

at com.pega.pegarules.cluster.internal.PRClusterHazelcastImpl.shutdown(PRClusterHazelcastImpl.java:1250)

at com.pega.pegarules.web.servlet.WebAppLifeCycleListener._contextDestroyed_privact(WebAppLifeCycleListener.java:179)

at com.pega.pegarules.web.servlet.WebAppLifeCycleListener.contextDestroyed(WebAppLifeCycleListener.java:115)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)

at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)

at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextDestroyed(WebAppLifeCycleListenerBoot.java:67)

at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5064)

at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5726)

at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1095)

at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1930)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Low-Code App Development Upgrades
Moderation Team has archived post
Share this page LinkedIn