Question
Cognizant Technology Solutions India Pvt. Ltd
IN
Last activity: 21 Jan 2020 2:42 EST
agent gets stop in prod environment due to below attached exceptioon
Hi All- Due to below exception agent gets stop .
what is the possible solution to resolve the exception.
Hi All- Due to below exception agent gets stop .
what is the possible solution to resolve the exception.
Exception at 20200117T141233.119 GMT: com.pega.pegarules.pub.PRRuntimeException: Method Invocation exception at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1370) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1105) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:925) at com.pega.pegarules.session.internal.async.AgentQueue.setEnabled(AgentQueue.java:1365) at com.pega.pegarules.session.internal.async.AgentQueue.handleProblem(AgentQueue.java:1248) at com.pega.pegarules.session.internal.async.AgentQueue.runEnd(AgentQueue.java:1094) at com.pega.pegarules.session.internal.async.AgentQueue.runEnd(AgentQueue.java:1054) at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:1115) at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1357) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1105) at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:986) at com.pega.pegarules.session.internal.async.BatchRequestorTask.run(BatchRequestorTask.java:763) at com.pega.pegarules.session.internal.async.Agent.queueBatchActivityForAgent(Agent.java:1546) at com.pega.pegarules.session.internal.async.Agent.queueBatchActivityForAgent(Agent.java:1315) at com.pega.pegarules.session.internal.async.AgentQueue.run(AgentQueue.java:945) at com.pega.pegarules.session.internal.async.Agent.runAgentTask(Agent.java:959) at com.pega.pegarules.session.internal.engineinterface.etier.impl.AsyncServant.processAsyncTask(AsyncServant.java:236) at com.pega.pegarules.session.internal.engineinterface.etier.impl.AsyncServant.invoke(AsyncServant.java:171) at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:331) at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:274) at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine(EngineBean.java:225) at sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:508) 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.invokeMethodPropagatingException(AppServerBridgeToPega.java:246) at com.pega.pegarules.internal.etier.ejb.EngineBeanBoot.invokeEngine(EngineBeanBoot.java:168) at com.pega.pegarules.internal.etier.interfaces.EJSLocalStatelessEngineBMT_f2439d86.invokeEngine(Unknown Source) at com.pega.pegarules.session.internal.engineinterface.etier.mdb.PRAsync.processRequest(PRAsync.java:155) at com.pega.pegarules.session.internal.engineinterface.etier.asynchbeans.AsyncTask.run(AsyncTask.java:64) at com.pega.pegarules.session.internal.engineinterface.etier.asynchbeans.RunnableWrapper.run(RunnableWrapper.java:71) at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:281) at java.security.AccessController.doPrivileged(AccessController.java:647) at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:747) at com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java:222) at com.ibm.ws.asynchbeans.ABWorkItemImpl.run(ABWorkItemImpl.java:206) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:508) at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1368) ... 38 more Caused by: com.pega.pegarules.pub.database.LockFailureException: Database-General Error during acquireLock bean method call nested exception is: java.lang.RuntimeException: Problem during method invocation (acquireLock) DatabaseException caused by prior exception: com.ibm.ejs.container.UnknownLocalException: nested exception is: java.lang.RuntimeException: Problem during method invocation (acquireLock) DatabaseException caused by prior exception: java.lang.RuntimeException: Problem during method invocation (acquireLock) DatabaseException caused by prior exception: javax.ejb.EJBException: nested exception is: com.pega.pegarules.pub.PRRuntimeException: Unknown Datastore Type for returned connection DatabaseException caused by prior exception: com.pega.pegarules.pub.PRRuntimeException: Unknown Datastore Type for returned connection From: (BEWRKIYZ8EKIHVR4FMPVZC2ZZ54PDES0P) at com.pega.pegarules.data.internal.lock.LockManagerImpl.acquireLock(LockManagerImpl.java:558) at com.pega.pegarules.session.internal.async.AgentQueue.updateInstanceForQueueFlag(AgentQueue.java:1400) ... 43 more Caused by: com.ibm.ejs.container.UnknownLocalException: nested exception is: java.lang.RuntimeException: Problem during method invocation (acquireLock) at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:279) at com.pega.pegarules.internal.etier.ejb.LockManagerBeanBoot.acquireLock(LockManagerBeanBoot.java:131) at com.pega.pegarules.internal.etier.interfaces.EJSLocalStatelessLockManager_9a306bdc.acquireLock(Unknown Source) at com.pega.pegarules.data.internal.lock.LockManagerImpl.acquireLock(LockManagerImpl.java:555) ... 44 more Caused by: java.lang.RuntimeException: Problem during method invocation (acquireLock) ... 48 more Caused by: javax.ejb.EJBException: nested exception is: com.pega.pegarules.pub.PRRuntimeException: Unknown Datastore Type for returned connection at com.pega.pegarules.session.internal.engineinterface.etier.impl.LockManagerImpl.acquireLock(LockManagerImpl.java:89) at com.pega.pegarules.session.internal.engineinterface.etier.ejb.LockManagerBean.acquireLock(LockManagerBean.java:102) at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:508) 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) ... 47 more Caused by: com.pega.pegarules.pub.PRRuntimeException: Unknown Datastore Type for returned connection at com.pega.pegarules.data.internal.store.ClassicConnectionBroker.getConnectionManagerFromConnection(ClassicConnectionBroker.java:105) at com.pega.pegarules.data.internal.store.ClassicConnectionBroker.returnConnection(ClassicConnectionBroker.java:116) at com.pega.pegarules.data.internal.store.ConnectionBrokerRouter.returnConnection(ConnectionBrokerRouter.java:103) at com.pega.pegarules.data.internal.store.AutoCommitTransaction.returnDataStoreConnection(AutoCommitTransaction.java:258) at com.pega.pegarules.data.internal.store.AutoCommitTransaction.returnConnection(AutoCommitTransaction.java:253) at com.pega.pegarules.data.internal.access.DBLockProviderImpl.attemptLock(DBLockProviderImpl.java:296) at com.pega.pegarules.data.internal.lock.LockManagerImpl.attemptToCreateLockInstance(LockManagerImpl.java:1237) at com.pega.pegarules.data.internal.lock.LockManagerImpl.lockKey(LockManagerImpl.java:857) at com.pega.pegarules.data.internal.lock.LockManagerImpl.acquireLock(LockManagerImpl.java:564) at com.pega.pegarules.session.internal.engineinterface.etier.impl.LockManagerImpl._acquireLock_privact(LockManagerImpl.java:98) at com.pega.pegarules.session.internal.engineinterface.etier.impl.LockManagerImpl.acquireLock(LockManagerImpl.java:77) ... 55 more