Question

Pega 8.1 startup fails in websphere liberty

Hi, while configuring pega 8.1 on websphere liberty, we are getting below error on start up. Any advise?

2018-12-06 09:51:39,415 [ lx68871.sbcore.net] [ STANDARD] [ ] [ ] ( etier.impl.EngineStartup) ERROR - PegaRULES initialization failed. Server: lx68871.sbcore.net

com.pega.pegarules.pub.context.InitializationFailedError: PRNodeImpl init failed

at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:396) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.PRSessionProviderImpl.getThreadAndInitialize(PRSessionProviderImpl.java:2154) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine(EngineStartup.java:673) ~[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_181]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]

at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370) ~[prbootstrap.jar:8.1.0-192]

at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411) ~[prbootstrap.jar:8.1.0-192]

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224) ~[prbootstrap-api.jar:8.1.0-192]

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273) ~[prbootstrap-api.jar:8.1.0-192]

at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextInitialized(WebAppLifeCycleListenerBoot.java:92) ~[prbootstrap-api.jar:8.1.0-192]

at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:2376) ~[?:?]

at com.ibm.ws.webcontainer31.osgi.webapp.WebApp31.notifyServletContextCreated(WebApp31.java:514) ~[?:?]

at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:1004) ~[?:?]

at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:6566) ~[?:?]

at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApp(DynamicVirtualHost.java:467) ~[?:?]

at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApplication(DynamicVirtualHost.java:462) ~[?:?]

at com.ibm.ws.webcontainer.osgi.WebContainer.startWebApplication(WebContainer.java:1132) ~[?:?]

at com.ibm.ws.webcontainer.osgi.WebContainer.startModule(WebContainer.java:937) ~[?:?]

at com.ibm.ws.app.manager.module.internal.ModuleHandlerBase.deployModule(ModuleHandlerBase.java:99) ~[?:?]

at com.ibm.ws.app.manager.module.internal.DeployedModuleInfoImpl.installModule(DeployedModuleInfoImpl.java:49) ~[?:?]

at com.ibm.ws.app.manager.module.internal.DeployedAppInfoBase.deployModules(DeployedAppInfoBase.java:429) ~[?:?]

at com.ibm.ws.app.manager.module.internal.DeployedAppInfoBase.deployApp(DeployedAppInfoBase.java:415) ~[?:?]

at com.ibm.ws.app.manager.ear.internal.EARApplicationHandlerImpl.install(EARApplicationHandlerImpl.java:76) ~[?:?]

at com.ibm.ws.app.manager.internal.statemachine.StartAction.execute(StartAction.java:140) ~[?:?]

at com.ibm.ws.app.manager.internal.statemachine.ApplicationStateMachineImpl.enterState(ApplicationStateMachineImpl.java:1258) ~[?:?]

at com.ibm.ws.app.manager.internal.statemachine.ApplicationStateMachineImpl.run(ApplicationStateMachineImpl.java:873) ~[?:?]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_181]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_181]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]

Caused by: com.pega.pegarules.pub.PRRuntimeException: Method Invocation exception

at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1379) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1109) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:929) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:388) ~[prprivate.jar:?]

... 35 more

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]

at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1377) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1109) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:929) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:388) ~[prprivate.jar:?]

... 35 more

Caused by: java.lang.NoClassDefFoundError: com/pega/platform/datastore/connection/internal/jdbc/ExceptionWrapper$Builder

at com.pega.platform.datastore.connection.internal.jdbc.JdbcConnectionManager.getConnectionFromSource(JdbcConnectionManager.java:110) ~[datastore.jar:?]

at com.pega.platform.datastore.connection.internal.jdbc.JdbcConnectionManager.get(JdbcConnectionManager.java:100) ~[datastore.jar:?]

at com.pega.platform.logicaldatastore.connection.internal.ConnectionBrokerImpl.getConnection(ConnectionBrokerImpl.java:98) ~[logicaldatastore.jar:?]

at com.pega.pegarules.data.internal.store.ConnectionBrokerAdapter.getDataStoreConnection(ConnectionBrokerAdapter.java:184) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.store.ConnectionBrokerRouter.getDataStoreConnection(ConnectionBrokerRouter.java:85) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.store.ConnectionBrokerRouter.getDataStoreConnection(ConnectionBrokerRouter.java:77) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.store.AutoCommitTransaction.getDataStoreConnection(AutoCommitTransaction.java:316) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.access.RDBPageResultPackager.getDataStoreConnection(RDBPageResultPackager.java:993) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.access.Lister.listWithResultPackager(Lister.java:360) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.access.Lister.list(Lister.java:185) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.access.DBQueryExecutor.executeRDB(DBQueryExecutor.java:123) ~[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:3088) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.access.DatabaseImpl.executeRDB(DatabaseImpl.java:3068) ~[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:3541) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.mgmt.PRNodeImpl.handleExtraction(PRNodeImpl.java:1615) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.mgmt.PREnvironment.finishInit(PREnvironment.java:519) ~[prprivate.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]

at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1377) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1109) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:929) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:388) ~[prprivate.jar:?]

... 35 more

Caused by: java.lang.ClassNotFoundException: com.pega.platform.datastore.connection.internal.jdbc.ExceptionWrapper$Builder

at com.pega.pegarules.internal.bootstrap.phase2.PRBaseLoader.findClass(PRBaseLoader.java:308) ~[?:?]

at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_181]

at com.pega.pegarules.internal.bootstrap.phase2.PRBaseLoader.loadClass(PRBaseLoader.java:233) ~[?:?]

at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_181]

at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:759) ~[prbasejava6.jar:?]

at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:612) ~[prbasejava6.jar:?]

at com.pega.platform.datastore.connection.internal.jdbc.JdbcConnectionManager.getConnectionFromSource(JdbcConnectionManager.java:110) ~[datastore.jar:?]

at com.pega.platform.datastore.connection.internal.jdbc.JdbcConnectionManager.get(JdbcConnectionManager.java:100) ~[datastore.jar:?]

at com.pega.platform.logicaldatastore.connection.internal.ConnectionBrokerImpl.getConnection(ConnectionBrokerImpl.java:98) ~[logicaldatastore.jar:?]

at com.pega.pegarules.data.internal.store.ConnectionBrokerAdapter.getDataStoreConnection(ConnectionBrokerAdapter.java:184) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.store.ConnectionBrokerRouter.getDataStoreConnection(ConnectionBrokerRouter.java:85) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.store.ConnectionBrokerRouter.getDataStoreConnection(ConnectionBrokerRouter.java:77) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.store.AutoCommitTransaction.getDataStoreConnection(AutoCommitTransaction.java:316) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.access.RDBPageResultPackager.getDataStoreConnection(RDBPageResultPackager.java:993) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.access.Lister.listWithResultPackager(Lister.java:360) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.access.Lister.list(Lister.java:185) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.access.DBQueryExecutor.executeRDB(DBQueryExecutor.java:123) ~[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:3088) ~[prprivate.jar:?]

at com.pega.pegarules.data.internal.access.DatabaseImpl.executeRDB(DatabaseImpl.java:3068) ~[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:3541) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.mgmt.PRNodeImpl.handleExtraction(PRNodeImpl.java:1615) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.mgmt.PREnvironment.finishInit(PREnvironment.java:519) ~[prprivate.jar:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]

at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1377) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1109) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:929) ~[prprivate.jar:?]

at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:388) ~[prprivate.jar:?]

... 35 more

***Edited by Moderator: Pallavi to update platform capability tags***

Correct Answer
December 7, 2018 - 7:13am

Hi,

It's a documentation error with pega installation guide for liberty and oracle. As per the attached screenshot, even for oracle common library reference is used for DB2. After we set this up for oracle, environment is running fine.

Comments

Keep up to date on this post and subscribe to comments

December 6, 2018 - 3:49pm

Anand - Which Database is being used? Please make sure you have the appropriate JDBC driver installed corresponding to it on WAS. 

Also, you might want to check the parameters defined for the Datasource connecting to pega rules schema.

 

December 7, 2018 - 3:53am
Response to UmakanthVellanki

Hi,

We are using Oracle 11g and driver is ojdbc7.jar. We have followed pega installation guide on websphere liberty so paratmeter related to Database source should be correct. please find attached server.xml file

December 7, 2018 - 7:13am

Hi,

It's a documentation error with pega installation guide for liberty and oracle. As per the attached screenshot, even for oracle common library reference is used for DB2. After we set this up for oracle, environment is running fine.