Pega Initialization is failing on tomcat startup
Hi,
I am getting following exception when starting tomcat server, Could you help me to resolve this issue.
Pega platform - Pega 7.3.1
Hi,
I am getting following exception when starting tomcat server, Could you help me to resolve this issue.
Pega platform - Pega 7.3.1
2018-07-11 15:59:59,481 [ XXXXX] [ STANDARD] [ ] [ ] ( internal.mgmt.PREnvironment) ERROR - com.pega.pegarules.pub.PRRuntimeException: Method Invocation exception
2018-07-11 15:59:59,482 [ XXXXX] [ STANDARD] [ ] [ ] ( etier.impl.EngineStartup) ERROR - PegaRULES initialization failed. Server: XXXXX
com.pega.pegarules.pub.context.InitializationFailedError: PRNodeImpl init failed
at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:398) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.getThreadAndInitialize(PRSessionProviderImpl.java:2084) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine(EngineStartup.java:671) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._initEngine_privact(EngineImpl.java:172) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.doStartup(EngineImpl.java:145) ~[prprivate.jar:?]
at com.pega.pegarules.web.servlet.WebAppLifeCycleListener._contextInitialized_privact(WebAppLifeCycleListener.java:216) ~[prwebj2ee.jar:?]
at com.pega.pegarules.web.servlet.AbstractLifeCycleListener._contextInitialized_privact(AbstractLifeCycleListener.java:159) ~[prwebj2ee.jar:?]
at com.pega.pegarules.web.servlet.AbstractLifeCycleListener.contextInitialized(AbstractLifeCycleListener.java:73) ~[prwebj2ee.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370) ~[prbootstrap-7.3.1-218.jar:7.3.1-218]
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411) ~[prbootstrap-7.3.1-218.jar:7.3.1-218]
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224) ~[prbootstrap-api-7.3.1-218.jar:7.3.1-218]
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273) ~[prbootstrap-api-7.3.1-218.jar:7.3.1-218]
at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextInitialized(WebAppLifeCycleListenerBoot.java:92) ~[prbootstrap-api-7.3.1-218.jar:7.3.1-218]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4744) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5206) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823) ~[catalina.jar:9.0.0.M18]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_121]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_121]
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) ~[tomcat-util.jar:9.0.0.M18]
at java.util.concurrent.AbstractExecutorService.submit(Unknown Source) ~[?:1.8.0_121]
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:738) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:407) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1551) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:284) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:976) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1439) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429) ~[catalina.jar:9.0.0.M18]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_121]
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) ~[tomcat-util.jar:9.0.0.M18]
at java.util.concurrent.AbstractExecutorService.submit(Unknown Source) ~[?:1.8.0_121]
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:953) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[catalina.jar:9.0.0.M18]
at org.apache.catalina.startup.Catalina.start(Catalina.java:655) ~[catalina.jar:9.0.0.M18]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355) ~[bootstrap.jar:9.0.0.M18]
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495) ~[bootstrap.jar:9.0.0.M18]
Caused by: com.pega.pegarules.pub.PRRuntimeException: Method Invocation exception
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1340) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1075) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:897) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:390) ~[prprivate.jar:?]
... 57 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1338) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1075) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:897) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:390) ~[prprivate.jar:?]
... 57 more
Caused by: java.lang.NullPointerException
at com.pega.pegarules.session.internal.authorization.Authorization.isABACEnabledForClass(Authorization.java:2412) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.access.rdb.SQLParser.getPolicyQueryForGivenClass(SQLParser.java:533) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.access.rdb.SQLParser.directive(SQLParser.java:744) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.access.rdb.SQLParser.sql(SQLParser.java:589) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.access.rdb.SQLParser.parse(SQLParser.java:266) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.access.RDBListSpecificationImpl.parseAndSetValues(RDBListSpecificationImpl.java:115) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.access.ReportDefinitionListSpecification.<init>(ReportDefinitionListSpecification.java:425) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.access.ReportDefinitionListSpecification.<init>(ReportDefinitionListSpecification.java:375) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.access.ReportDefinitionListSpecification.<init>(ReportDefinitionListSpecification.java:365) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.access.RDBListSpecificationImpl.<init>(RDBListSpecificationImpl.java:94) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.access.DBQueryExecutor.executeRDB(DBQueryExecutor.java:99) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.access.DBQueryExecutor.executeRDB(DBQueryExecutor.java:74) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.access.DatabaseImpl.executeRDB(DatabaseImpl.java:3084) ~[prprivate.jar:?]
at com.pega.pegarules.data.internal.access.DatabaseImpl.executeRDB(DatabaseImpl.java:3064) ~[prprivate.jar:?]
at com.pega.pegarules.generation.internal.library.LibraryMetadataCacheDAO$LibFunctionProviderImpl.getAllRUFsForLib(LibraryMetadataCacheDAO.java:143) ~[prprivate.jar:?]
at com.pega.pegarules.generation.internal.library.LibraryMetadataCacheDAO.populateLibraryDefs(LibraryMetadataCacheDAO.java:193) ~[prprivate.jar:?]
at com.pega.pegarules.generation.internal.library.LibraryMetadataCacheDAO.createLibraryMetadataFromDB(LibraryMetadataCacheDAO.java:210) ~[prprivate.jar:?]
at com.pega.pegarules.generation.internal.library.LibraryMetadataCache.populateFromDb(LibraryMetadataCache.java:648) ~[prprivate.jar:?]
at com.pega.pegarules.generation.internal.library.LibraryMetadataCache.populateFromDb(LibraryMetadataCache.java:639) ~[prprivate.jar:?]
at com.pega.pegarules.generation.internal.library.LibraryFunctionUtilityImpl.populateLibraryMetadataCacheFromDb(LibraryFunctionUtilityImpl.java:3509) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.PRNodeImpl.handleExtraction(PRNodeImpl.java:1577) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.PREnvironment.finishInit(PREnvironment.java:539) ~[prprivate.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1338) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1075) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:897) ~[prprivate.jar:?]
at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:390) ~[prprivate.jar:?]
... 57 more
***Moderator Edit: Vidyaranjan | Updated SR details***