Unable to launch Pega instance
Hi,
We have installed Jdk and jre with version 1.8.0_181
Then installed tomcat 8.5.23 and given the jre location of 1.8.0_181
Then Opened the Context file and set the resource tags and env tags
Pasted postgresql-42.2.4 jdbc driver file with same name(postgresql-42.2.4) in lib folder of tomcat
Pasted prweb, prhelp and prsysmgmt war files in webapps folder and started the server.
Please let me know if I miss any step
Getting below error in localhost file located in logs file
22-Aug-2018 15:11:38.678 SEVERE [localhost] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot]
java.lang.RuntimeException: Problem during method invocation (contextInitialized)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:279)
at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextInitialized(WebAppLifeCycleListenerBoot.java:83)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
Hi,
We have installed Jdk and jre with version 1.8.0_181
Then installed tomcat 8.5.23 and given the jre location of 1.8.0_181
Then Opened the Context file and set the resource tags and env tags
Pasted postgresql-42.2.4 jdbc driver file with same name(postgresql-42.2.4) in lib folder of tomcat
Pasted prweb, prhelp and prsysmgmt war files in webapps folder and started the server.
Please let me know if I miss any step
Getting below error in localhost file located in logs file
22-Aug-2018 15:11:38.678 SEVERE [localhost] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot]
java.lang.RuntimeException: Problem during method invocation (contextInitialized)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:279)
at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextInitialized(WebAppLifeCycleListenerBoot.java:83)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1860)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: 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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
... 14 more
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
22-Aug-2018 15:11:51.190 SEVERE [localhost] org.apache.catalina.core.StandardContext.listenerStop Exception sending context destroyed event to listener instance of class [com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot]
java.lang.RuntimeException: Problem during method invocation (contextDestroyed)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:279)
at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextDestroyed(WebAppLifeCycleListenerBoot.java:67)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4792)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5429)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1860)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: 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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
... 15 more