Question

Pega Instance not coming up.. despite increasing the Heap Size

Hi Experts, we are running Pega 7.3 on AWS Cloud, one of our PRPC instances is not coming up due to below exception, have tried to increase the heap space as suggested in one of the articles.

Error Log:

18-Oct-2019 12:40:53.955 SEVERE [nbndametest1-uni-10.56.166.253] com.pega.pegarules.internal.bootstrap.PRBootstrap. 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:372)
at com.pega.pegarules.web.servlet.WebAppLifeCycleListener._contextInitialized_privact(WebAppLifeCycleListener.java:315)
at com.pega.pegarules.web.servlet.AbstractLifeCycleListener._contextInitialized_privact(AbstractLifeCycleListener.java:159)
at com.pega.pegarules.web.servlet.AbstractLifeCycleListener.contextInitialized(AbstractLifeCycleListener.java:73)
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:498)
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:4770)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:744)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1135)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1869)
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:646)
at com.pega.pegarules.cluster.internal.PRClusterImpl.canInitialize(PRClusterImpl.java:313)
at com.pega.pegarules.cluster.internal.PRClusterImpl.getInstance(PRClusterImpl.java:237)
at com.pega.pegarules.cluster.internal.PRClusterProviderImpl.getInstance(PRClusterProviderImpl.java:97)
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)
... 34 more
18-Oct-2019 12:40:53.956 SEVERE [nbndametest1-uni-10.56.166.253] com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega. 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:372)
at com.pega.pegarules.web.servlet.WebAppLifeCycleListener._contextInitialized_privact(WebAppLifeCycleListener.java:315)
at com.pega.pegarules.web.servlet.AbstractLifeCycleListener._contextInitialized_privact(AbstractLifeCycleListener.java:159)
at com.pega.pegarules.web.servlet.AbstractLifeCycleListener.contextInitialized(AbstractLifeCycleListener.java:73)
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:498)
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)

Please advise what else can be done.

Thanks

Dalbir

Comments

Keep up to date on this post and subscribe to comments

October 17, 2019 - 10:22pm

check this link as well: https://community1.pega.com/community/pega-support/question/problems-regarding-contextinitialized-process-upgrade-721-73. Can you attach the complete startup log? This will help us to get more details.

October 18, 2019 - 12:21am

Hi KevinZheng_GCS,

The link provided is for an Upgrade issue, however, I will have a look, this environment was running a couple of days back and nothing has been changed since then. :(

18-Oct-2019 15:15:57.366 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.42
18-Oct-2019 15:15:57.368 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Jun 4 2019 20:29:04 UTC
18-Oct-2019 15:15:57.368 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.42.0
18-Oct-2019 15:15:57.368 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
18-Oct-2019 15:15:57.368 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            3.10.0-957.21.3.el7.x86_64
18-Oct-2019 15:15:57.368 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
18-Oct-2019 15:15:57.369 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /opt/app/jdk1.8.0_121/jre
18-Oct-2019 15:15:57.369 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_121-b13
18-Oct-2019 15:15:57.369 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
18-Oct-2019 15:15:57.369 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /opt/app/apache-tomcat
18-Oct-2019 15:15:57.369 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /opt/app/apache-tomcat
18-Oct-2019 15:15:57.369 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/opt/app/apache-tomcat/conf/logging.properties
18-Oct-2019 15:15:57.369 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
18-Oct-2019 15:15:57.369 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
18-Oct-2019 15:15:57.369 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
18-Oct-2019 15:15:57.370 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0002
18-Oct-2019 15:15:57.370 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms4096m
18-Oct-2019 15:15:57.370 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx6144m
18-Oct-2019 15:15:57.370 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:NewRatio=3
18-Oct-2019 15:15:57.370 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MetaspaceSize=512m
18-Oct-2019 15:15:57.370 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxMetaspaceSize=2048m
18-Oct-2019 15:15:57.370 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:TargetSurvivorRatio=90
18-Oct-2019 15:15:57.370 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseG1GC
18-Oct-2019 15:15:57.370 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+PrintGCDetails
18-Oct-2019 15:15:57.370 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+PrintGCDateStamps
18-Oct-2019 15:15:57.370 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -verbose:gc
18-Oct-2019 15:15:57.370 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+DisableExplicitGC
18-Oct-2019 15:15:57.371 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseCodeCacheFlushing
18-Oct-2019 15:15:57.371 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -DSMAAutoNodeDiscovery=true
18-Oct-2019 15:15:57.371 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote
18-Oct-2019 15:15:57.374 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
18-Oct-2019 15:15:57.375 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
18-Oct-2019 15:15:57.378 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=9004
18-Oct-2019 15:15:57.378 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.rmi.port=9004
18-Oct-2019 15:15:57.378 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.password.file=../conf/jmxremote.password
18-Oct-2019 15:15:57.379 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.access.file=../conf/jmxremote.access
18-Oct-2019 15:15:57.379 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -DNodeType=Universal
18-Oct-2019 15:15:57.379 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dindex.directory=/tmp/pegatmp/PegaSearchIndex
18-Oct-2019 15:15:57.379 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
18-Oct-2019 15:15:57.379 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/opt/app/apache-tomcat
18-Oct-2019 15:15:57.379 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/opt/app/apache-tomcat
18-Oct-2019 15:15:57.379 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/opt/app/apache-tomcat/temp
18-Oct-2019 15:15:57.379 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
18-Oct-2019 15:15:57.583 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
18-Oct-2019 15:15:57.592 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
18-Oct-2019 15:15:57.611 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-8443"]
18-Oct-2019 15:15:57.845 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
18-Oct-2019 15:15:57.855 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
18-Oct-2019 15:15:57.856 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
18-Oct-2019 15:15:57.860 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 886 ms
18-Oct-2019 15:15:57.885 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
18-Oct-2019 15:15:57.888 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.42
18-Oct-2019 15:15:57.898 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/app/apache-tomcat/webapps/prweb]
2019-10-18T15:16:00.508+1100: [GC pause (G1 Evacuation Pause) (young), 0.1099125 secs]
   [Parallel Time: 45.1 ms, GC Workers: 2]
      [GC Worker Start (ms): Min: 4054.1, Avg: 4054.1, Max: 4054.1, Diff: 0.0]
      [Ext Root Scanning (ms): Min: 3.0, Avg: 3.0, Max: 3.0, Diff: 0.1, Sum: 6.0]
      [Update RS (ms): Min: 0.0, Avg: 0.0, Max: 0.0, Diff: 0.0, Sum: 0.0]
         [Processed Buffers: Min: 0, Avg: 0.0, Max: 0, Diff: 0, Sum: 0]
      [Scan RS (ms): Min: 0.2, Avg: 0.3, Max: 0.3, Diff: 0.2, Sum: 0.5]
      [Code Root Scanning (ms): Min: 0.7, Avg: 1.1, Max: 1.6, Diff: 0.9, Sum: 2.3]
      [Object Copy (ms): Min: 40.3, Avg: 40.7, Max: 41.0, Diff: 0.7, Sum: 81.3]
      [Termination (ms): Min: 0.0, Avg: 0.0, Max: 0.0, Diff: 0.0, Sum: 0.0]
         [Termination Attempts: Min: 1, Avg: 1.0, Max: 1, Diff: 0, Sum: 2]
      [GC Worker Other (ms): Min: 0.0, Avg: 0.0, Max: 0.0, Diff: 0.0, Sum: 0.1]
      [GC Worker Total (ms): Min: 45.1, Avg: 45.1, Max: 45.1, Diff: 0.0, Sum: 90.2]
      [GC Worker End (ms): Min: 4099.2, Avg: 4099.2, Max: 4099.2, Diff: 0.0]
   [Code Root Fixup: 0.5 ms]
   [Code Root Purge: 0.1 ms]
   [Clear CT: 0.3 ms]
   [Other: 63.9 ms]
      [Choose CSet: 0.0 ms]
      [Ref Proc: 62.3 ms]
      [Ref Enq: 0.5 ms]
      [Redirty Cards: 0.1 ms]
      [Humongous Register: 0.1 ms]
      [Humongous Reclaim: 0.0 ms]
      [Free CSet: 0.5 ms]
   [Eden: 1024.0M(1024.0M)->0.0B(896.0M) Survivors: 0.0B->128.0M Heap: 1024.0M(4096.0M)->132.1M(4096.0M)]
 [Times: user=0.10 sys=0.05, real=0.11 secs]
2019-10-18T15:16:02.286+1100: [GC pause (G1 Evacuation Pause) (young), 0.1163724 secs]
   [Parallel Time: 55.4 ms, GC Workers: 2]
      [GC Worker Start (ms): Min: 5831.7, Avg: 5831.8, Max: 5831.8, Diff: 0.1]
      [Ext Root Scanning (ms): Min: 0.9, Avg: 1.3, Max: 1.6, Diff: 0.6, Sum: 2.5]
      [Update RS (ms): Min: 0.2, Avg: 0.2, Max: 0.2, Diff: 0.1, Sum: 0.4]
         [Processed Buffers: Min: 1, Avg: 1.0, Max: 1, Diff: 0, Sum: 2]
      [Scan RS (ms): Min: 0.5, Avg: 0.5, Max: 0.5, Diff: 0.0, Sum: 1.0]
      [Code Root Scanning (ms): Min: 0.0, Avg: 1.1, Max: 2.3, Diff: 2.2, Sum: 2.3]
      [Object Copy (ms): Min: 50.7, Avg: 52.1, Max: 53.5, Diff: 2.8, Sum: 104.2]
      [Termination (ms): Min: 0.0, Avg: 0.0, Max: 0.0, Diff: 0.0, Sum: 0.0]
         [Termination Attempts: Min: 1, Avg: 1.0, Max: 1, Diff: 0, Sum: 2]
      [GC Worker Other (ms): Min: 0.0, Avg: 0.0, Max: 0.0, Diff: 0.0, Sum: 0.0]
      [GC Worker Total (ms): Min: 55.2, Avg: 55.2, Max: 55.3, Diff: 0.1, Sum: 110.4]
      [GC Worker End (ms): Min: 5887.0, Avg: 5887.0, Max: 5887.0, Diff: 0.0]
   [Code Root Fixup: 0.5 ms]
   [Code Root Purge: 0.0 ms]
   [Clear CT: 0.3 ms]
   [Other: 60.2 ms]
      [Choose CSet: 0.0 ms]
      [Ref Proc: 58.6 ms]
      [Ref Enq: 0.5 ms]
      [Redirty Cards: 0.1 ms]
      [Humongous Register: 0.1 ms]
      [Humongous Reclaim: 0.0 ms]
      [Free CSet: 0.5 ms]
   [Eden: 896.0M(896.0M)->0.0B(896.0M) Survivors: 128.0M->128.0M Heap: 1028.1M(4096.0M)->175.8M(4096.0M)]
 [Times: user=0.16 sys=0.02, real=0.12 secs]
18-Oct-2019 15:16:02.717 INFO [localhost-startStop-1] org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = AdminPegaRULES Ignoring unknown property: value of "PegaRULES Admin datasource" for "description" property
18-Oct-2019 15:16:03.186 INFO [localhost-startStop-1] org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = PRFileStore Ignoring unknown property: value of "Database-based File Access" for "description" property
18-Oct-2019 15:16:03.456 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
18-Oct-2019 15:16:03.576 1050 [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource. Loading bootstrap properties from /prbootstrap.properties
18-Oct-2019 15:16:03.578 INFO [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.SettingReaderJNDI. Could not find java:comp/env/prbootstrap/ in the local JNDI context, skipping prconfig setting lookup
18-Oct-2019 15:16:03.578 INFO [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.SettingReaderJNDI. Could not find prbootstrap in the local JNDI context, skipping prconfig setting lookup
18-Oct-2019 15:16:03.578 1050 [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource. Bootstrap datatables schema: pegadata
18-Oct-2019 15:16:03.624 1050 [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource. Archive version [0      ]
18-Oct-2019 15:16:03.624 1050 [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.PRBootstrap. Engine schema defined in allclasses: null
18-Oct-2019 15:16:03.624 1050 [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.PRBootstrap. Engine classes schema: pegarules
18-Oct-2019 15:16:03.624 1050 [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.PRBootstrap. Assembled classes schema: pegarules
18-Oct-2019 15:16:03.625 1050 [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.PRBootstrap. prbootstrap.properties merged with prbootstrap entries in Data-Admin-System-Settings
18-Oct-2019 15:16:03.706 1050 [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.PRBootstrap. Using latest detected engine version:(EngineCodeSetVersion= 07-10-33). To specify a different version, use the setting com.pega.pegarules.bootstrap.codeset.version.Pega-EngineCode in prbootstrap.properties.
18-Oct-2019 15:16:03.708 1050 [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.PRMiniLoader. Will load phase 2 bootstrap from Pega-EngineCode:07-10-33
18-Oct-2019 15:16:03.735 INFO [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl. Using PRAppLoader implementation class: com.pega.pegarules.bootstrap.loader.PRAppLoader
18-Oct-2019 15:16:05.470 1050 [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl. PegaRULES signed jar files will be extracted to: /opt/app/apache-tomcat/work/Catalina/localhost/prweb/extractedFiles
18-Oct-2019 15:16:05.470 WARNING [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl. Cannot delete directory: extractedFiles
18-Oct-2019 15:16:06.657 1050 [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl. PegaRULES classes will be loaded from the database
18-Oct-2019 15:16:06.728 1050 [localhost-startStop-1] com.pega.pegarules.internal.bootstrap.PRBootstrap.
============ PegaRULES Bootstrap Configuration ============
           Date: Fri Oct 18 15:16:06 AEDT 2019
   Java Version: Oracle Corporation 1.8.0_121
  Configuration: file:/opt/app/apache-tomcat/webapps/prweb/WEB-INF/classes/prbootstrap.properties
Pega-EngineCode: 07-10-33
    ASM Version: 762781845
       Database: PostgreSQL 9.5.15
         Driver: PostgreSQL JDBC Driver 42.0.0
Active CodeSets: pega-enginecode:07-10-33 at (latest patch)
                 customer:06-01-01 at (latest patch)

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

[WebAppLifeCycleListener] Log4j Shutdownhook disabled
[WebAppLifeCycleListener] Setting pega.logdir to javax.servlet.context.tempdir
Current "user.dir" (default directory) is: /opt/app/apache-tomcat/bin
Current pega.logdir is: /opt/app/apache-tomcat/work/Catalina/localhost/prweb
Located PegaRULES logging configuration: file:/opt/app/apache-tomcat/webapps/prweb/WEB-INF/classes/prlog4j2.xml
2019-10-18T15:16:07.265+1100: [GC pause (G1 Evacuation Pause) (young), 0.1557612 secs]
   [Parallel Time: 147.2 ms, GC Workers: 2]
      [GC Worker Start (ms): Min: 10810.8, Avg: 10814.1, Max: 10817.4, Diff: 6.6]
      [Ext Root Scanning (ms): Min: 0.0, Avg: 2.4, Max: 4.7, Diff: 4.7, Sum: 4.8]
      [Update RS (ms): Min: 3.7, Avg: 3.8, Max: 3.8, Diff: 0.1, Sum: 7.5]
         [Processed Buffers: Min: 1, Avg: 1.5, Max: 2, Diff: 1, Sum: 3]
      [Scan RS (ms): Min: 9.3, Avg: 12.4, Max: 15.5, Diff: 6.2, Sum: 24.8]
      [Code Root Scanning (ms): Min: 0.1, Avg: 5.6, Max: 11.1, Diff: 10.9, Sum: 11.2]
      [Object Copy (ms): Min: 116.3, Avg: 119.6, Max: 123.0, Diff: 6.7, Sum: 239.3]
      [Termination (ms): Min: 0.0, Avg: 0.0, Max: 0.0, Diff: 0.0, Sum: 0.0]
         [Termination Attempts: Min: 1, Avg: 1.0, Max: 1, Diff: 0, Sum: 2]
      [GC Worker Other (ms): Min: 0.0, Avg: 0.0, Max: 0.0, Diff: 0.0, Sum: 0.1]
      [GC Worker Total (ms): Min: 140.5, Avg: 143.8, Max: 147.1, Diff: 6.6, Sum: 287.6]
      [GC Worker End (ms): Min: 10957.9, Avg: 10957.9, Max: 10957.9, Diff: 0.0]
   [Code Root Fixup: 0.9 ms]
   [Code Root Purge: 0.0 ms]
   [Clear CT: 0.3 ms]
   [Other: 7.4 ms]
      [Choose CSet: 0.0 ms]
      [Ref Proc: 6.0 ms]
      [Ref Enq: 0.1 ms]
      [Redirty Cards: 0.1 ms]
      [Humongous Register: 0.1 ms]
      [Humongous Reclaim: 0.1 ms]
      [Free CSet: 0.6 ms]
   [Eden: 896.0M(896.0M)->0.0B(940.0M) Survivors: 128.0M->84.0M Heap: 1132.0M(4096.0M)->132.8M(4096.0M)]
 [Times: user=0.31 sys=0.00, real=0.16 secs]
Located PegaRULES old logging configuration: file:/opt/app/apache-tomcat/webapps/prweb/WEB-INF/classes/prlogging.xml
WARNING:- prlogging.xml is no longer supported in this version of prpc
Located PegaRULES configuration: file:/opt/app/apache-tomcat/webapps/prweb/WEB-INF/classes/prconfig.xml
18/10/19-15:16:11 - MSG009:Attempt 1 of max 3
18/10/19-15:16:11 - MSG003:URLINDEX: 0 URL:https://kms-test2.ebpm.cloud.corp.telstra.com:8443
18/10/19-15:16:11 - MSG002:URL : https://kms-test2.ebpm.cloud.corp.telstra.com:8443/v1/auth/ebpm_nbndame_auth/login (200)
18/10/19-15:16:11 - MSG002:URL : https://kms-test2.ebpm.cloud.corp.telstra.com:8443/v1/ebpm_nbndame_test1_secret/nbndametest1-pega (200)
18/10/19-15:16:11 - MSG005:Cipher Params:128/SKIPJACKBC
Unable to locate KeyringImpl keyring after trying:
        <properties>
        appadmin-pegarules.keyring
        nbndametest1-uni-10.56.166.222-pegarules.keyring
        pegarules.keyring
Using sun.misc.Perf high-resolution timer for elapsed timings
Using Java 5 Management beans for thread CPU timings.
Using Java 5 Management beans for process CPU timings: 23070000000
2019-10-18T15:16:13.257+1100: [GC pause (G1 Evacuation Pause) (young), 0.1481572 secs]
   [Parallel Time: 130.5 ms, GC Workers: 2]
      [GC Worker Start (ms): Min: 16802.2, Avg: 16802.2, Max: 16802.2, Diff: 0.0]
      [Ext Root Scanning (ms): Min: 3.5, Avg: 4.1, Max: 4.7, Diff: 1.3, Sum: 8.2]
      [Update RS (ms): Min: 4.1, Avg: 4.4, Max: 4.8, Diff: 0.7, Sum: 8.9]
         [Processed Buffers: Min: 2, Avg: 2.0, Max: 2, Diff: 0, Sum: 4]
      [Scan RS (ms): Min: 6.4, Avg: 8.7, Max: 11.0, Diff: 4.6, Sum: 17.5]
      [Code Root Scanning (ms): Min: 0.1, Avg: 2.8, Max: 5.5, Diff: 5.4, Sum: 5.6]
      [Object Copy (ms): Min: 109.6, Avg: 110.3, Max: 111.0, Diff: 1.4, Sum: 220.6]
      [Termination (ms): Min: 0.0, Avg: 0.0, Max: 0.0, Diff: 0.0, Sum: 0.0]
         [Termination Attempts: Min: 1, Avg: 1.0, Max: 1, Diff: 0, Sum: 2]
      [GC Worker Other (ms): Min: 0.0, Avg: 0.0, Max: 0.0, Diff: 0.0, Sum: 0.1]
      [GC Worker Total (ms): Min: 130.4, Avg: 130.4, Max: 130.4, Diff: 0.0, Sum: 260.8]
      [GC Worker End (ms): Min: 16932.6, Avg: 16932.6, Max: 16932.6, Diff: 0.0]
   [Code Root Fixup: 1.2 ms]
   [Code Root Purge: 0.0 ms]
   [Clear CT: 0.3 ms]
   [Other: 16.1 ms]
      [Choose CSet: 0.0 ms]
      [Ref Proc: 14.8 ms]
      [Ref Enq: 0.1 ms]
      [Redirty Cards: 0.1 ms]
      [Humongous Register: 0.1 ms]
      [Humongous Reclaim: 0.0 ms]
      [Free CSet: 0.6 ms]
   [Eden: 940.0M(940.0M)->0.0B(922.0M) Survivors: 84.0M->102.0M Heap: 1074.8M(4096.0M)->153.8M(4096.0M)]
 [Times: user=0.28 sys=0.00, real=0.15 secs]
PRPC default rounding mode set to HALF_EVEN
18-Oct-2019 15:16:18.986 SEVERE [nbndametest1-uni-10.56.166.222] com.pega.pegarules.internal.bootstrap.PRBootstrap. 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:372)
                at com.pega.pegarules.web.servlet.WebAppLifeCycleListener._contextInitialized_privact(WebAppLifeCycleListener.java:315)
                at com.pega.pegarules.web.servlet.AbstractLifeCycleListener._contextInitialized_privact(AbstractLifeCycleListener.java:159)
                at com.pega.pegarules.web.servlet.AbstractLifeCycleListener.contextInitialized(AbstractLifeCycleListener.java:73)
                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:498)
                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:4770)
                at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236)
                at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:744)
                at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1135)
                at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1869)
                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:646)
                at com.pega.pegarules.cluster.internal.PRClusterImpl.canInitialize(PRClusterImpl.java:313)
                at com.pega.pegarules.cluster.internal.PRClusterImpl.getInstance(PRClusterImpl.java:237)
                at com.pega.pegarules.cluster.internal.PRClusterProviderImpl.getInstance(PRClusterProviderImpl.java:97)
                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)
                ... 34 more
18-Oct-2019 15:16:18.987 SEVERE [nbndametest1-uni-10.56.166.222] com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega. 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:372)
                at com.pega.pegarules.web.servlet.WebAppLifeCycleListener._contextInitialized_privact(WebAppLifeCycleListener.java:315)
                at com.pega.pegarules.web.servlet.AbstractLifeCycleListener._contextInitialized_privact(AbstractLifeCycleListener.java:159)
                at com.pega.pegarules.web.servlet.AbstractLifeCycleListener.contextInitialized(AbstractLifeCycleListener.java:73)
                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:498)
                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:4770)
                at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236)
                at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:744)
                at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1135)
                at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1869)
                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:646)
                at com.pega.pegarules.cluster.internal.PRClusterImpl.canInitialize(PRClusterImpl.java:313)
                at com.pega.pegarules.cluster.internal.PRClusterImpl.getInstance(PRClusterImpl.java:237)
                at com.pega.pegarules.cluster.internal.PRClusterProviderImpl.getInstance(PRClusterProviderImpl.java:97)
                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)
                ... 34 more
18-Oct-2019 15:16:18.987 SEVERE [nbndametest1-uni-10.56.166.222] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
18-Oct-2019 15:16:18.990 SEVERE [nbndametest1-uni-10.56.166.222] org.apache.catalina.core.StandardContext.startInternal Context [/prweb] startup failed due to previous errors
18-Oct-2019 15:16:19.200 SEVERE [nbndametest1-uni-10.56.166.222] com.pega.pegarules.internal.bootstrap.PRBootstrap. Problem during method invocation (contextDestroyed)
        java.lang.NullPointerException

 

Thanks 

Dalbir 

 

Pega
October 21, 2019 - 4:39am

Hi Dalbir,

Kindly validate the Environment configuration details such as JVM & DB details and connection pool size in Context.xml of the server.