Question

2
Replies
2104
Views
Srinivas Sarda (SSrinivas)
Coforge
Srinivas Sarda
Coforge
IN
SSrinivas Member since 2015 52 posts
Coforge
Posted: February 17, 2017
Last activity: February 17, 2017
Posted: 17 Feb 2017 0:17 EST
Last activity: 17 Feb 2017 1:49 EST
Closed

com.pega.pegarules.pub.PRRuntimeException: Unable to restore passivated requestor; error in authorization activation

Recently we have deleted Access Group and restarted the server.
Once restarts done through agent we replaced this Access group with other Access group from all Operators Form.

Deleted AG not referred in Advanced Agent,Data Page and Service Package..

We wrote one time activity which replaces Deleted Access group with other Access Group for all the operators.
Example : XYZ is deleted AG then for all operators who ever having XYZ will be replaced with ABC.
After server restart done then this activity executed through agent.

Below are the two types of logs error occurring for us after deleting AG.

Can any one please help me.

2017-02-16 09:59:00,095 [egaRULES UsageDaemon] [  STANDARD] [                    ] [                    ] (nitor.internal.UsageDaemonImpl) WARN    - Exception while gathering usage data, ignoring requestor H619DE334BF661A62A9BBFE8C6E365CDE
com.pega.pegarules.pub.PRRuntimeException: Unable to restore passivated requestor; error in authorization activation
	at com.pega.pegarules.session.internal.authorization.SessionAuthorization.activate(SessionAuthorization.java:357)
	at com.pega.pegarules.session.internal.authorization.Authorization.activate(Authorization.java:516)
	at com.pega.pegarules.session.internal.mgmt.base.ThreadPassivation.activateThread(ThreadPassivation.java:876)
	at com.pega.pegarules.session.internal.mgmt.base.ThreadPassivation.configureThreadImpl(ThreadPassivation.java:300)
	at com.pega.pegarules.session.internal.mgmt.PRThreadBase.configureThread(PRThreadBase.java:177)
	at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.<init>(PRThreadImpl.java:134)
	at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.acquire(PRThreadImpl.java:158)
	at com.pega.pegarules.session.internal.mgmt.base.RequestorThreadSync.getOrCreateThread(RequestorThreadSync.java:175)
	at com.pega.pegarules.session.internal.mgmt.base.RequestorThreadSync.getOrCreateThread(RequestorThreadSync.java:162)
	at com.pega.pegarules.session.internal.mgmt.base.RequestorThreadSync.getOrCreateThread(RequestorThreadSync.java:158)
	at com.pega.pegarules.session.internal.mgmt.base.RequestorThreadSync.getOrCreateThread(RequestorThreadSync.java:154)
	at com.pega.pegarules.session.internal.mgmt.PRRequestorImpl.getOrCreateThread(PRRequestorImpl.java:725)
	at com.pega.pegarules.monitor.internal.UsageDaemonImpl$1.run(UsageDaemonImpl.java:1116)
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1259)
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1008)
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:2140)
	at com.pega.pegarules.monitor.internal.UsageDaemonImpl.snapshotAllRequestors(UsageDaemonImpl.java:1105)
	at com.pega.pegarules.monitor.internal.UsageDaemonImpl.processUsageData(UsageDaemonImpl.java:811)
	at sun.reflect.GeneratedMethodAccessor225.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1270)
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1008)
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:841)
	at com.pega.pegarules.monitor.internal.UsageDaemonImpl.processData(UsageDaemonImpl.java:738)
	at com.pega.pegarules.monitor.internal.UsageDaemonImpl.run(UsageDaemonImpl.java:666)
	at java.lang.Thread.run(Thread.java:745)
Caused by: com.pega.pegarules.pub.context.InvalidConfigurationException: No such Access Group: < Access Group Name > for thread STANDARD
From: (unknown) 
	at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.getBasicApplicationContext(GlobalContextCache.java:418)
	at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.getLocalizedApplicationContext(GlobalContextCache.java:429)
	at com.pega.pegarules.session.internal.authorization.context.AuthorizationContextManagerImpl.getContext(AuthorizationContextManagerImpl.java:79)
	at com.pega.pegarules.session.internal.authorization.SessionAuthorization.getContext(SessionAuthorization.java:554)
	at com.pega.pegarules.session.internal.authorization.SessionAuthorization.getContext(SessionAuthorization.java:527)
	at com.pega.pegarules.session.internal.authorization.SessionAuthorization.activate(SessionAuthorization.java:348)
	... 26 more




2017-02-17 01:24:18,718 [ES PassivationDaemon] [  STANDARD] [                    ] [                    ] (    mgmt.base.NodeRequestorMgt) ERROR   - Passivation Daemon; Requestor: H619DE334BF661A62A9BBFE8C6E365CDE encountered error during passivation; will re-enqueue
com.pega.pegarules.pub.PRRuntimeException: Unable to restore passivated requestor; error in authorization activation
	at com.pega.pegarules.session.internal.authorization.SessionAuthorization.activate(SessionAuthorization.java:357)
	at com.pega.pegarules.session.internal.authorization.Authorization.activate(Authorization.java:516)
	at com.pega.pegarules.session.internal.mgmt.base.ThreadPassivation.activateThread(ThreadPassivation.java:876)
	at com.pega.pegarules.session.internal.mgmt.base.ThreadPassivation.configureThreadImpl(ThreadPassivation.java:300)
	at com.pega.pegarules.session.internal.mgmt.PRThreadBase.configureThread(PRThreadBase.java:177)
	at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.<init>(PRThreadImpl.java:134)
	at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.acquire(PRThreadImpl.java:158)
	at com.pega.pegarules.session.internal.mgmt.base.RequestorThreadSync.getOrCreateThread(RequestorThreadSync.java:175)
	at com.pega.pegarules.session.internal.mgmt.base.RequestorThreadSync.getOrCreateThread(RequestorThreadSync.java:162)
	at com.pega.pegarules.session.internal.mgmt.base.RequestorThreadSync.getOrCreateThread(RequestorThreadSync.java:158)
	at com.pega.pegarules.session.internal.mgmt.base.RequestorThreadSync.getOrCreateThread(RequestorThreadSync.java:154)
	at com.pega.pegarules.session.internal.mgmt.base.RequestorThreadSync.getThread(RequestorThreadSync.java:305)
	at com.pega.pegarules.session.internal.mgmt.PRRequestorImpl.getThread(PRRequestorImpl.java:770)
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.setProcessingThreadOnRequestor(PRSessionProviderImpl.java:1312)
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1004)
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:874)
	at com.pega.pegarules.session.internal.mgmt.base.NodeRequestorMgt.cleanupRequestor(NodeRequestorMgt.java:1105)
	at com.pega.pegarules.session.internal.mgmt.base.NodeRequestorMgt.cleanupRequestor(NodeRequestorMgt.java:1092)
	at com.pega.pegarules.session.internal.mgmt.base.NodeRequestorMgt.timeoutRequestorThrowingErrors(NodeRequestorMgt.java:1071)
	at com.pega.pegarules.session.internal.mgmt.base.NodeRequestorMgt.processPassivationQueue(NodeRequestorMgt.java:2365)
	at com.pega.pegarules.session.internal.async.PassivationDaemon.processPassivationQueue(PassivationDaemon.java:365)
	at com.pega.pegarules.session.internal.async.PassivationDaemon.run(PassivationDaemon.java:339)
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1259)
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1008)
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:828)
	at com.pega.pegarules.session.internal.async.PassivationDaemon.run(PassivationDaemon.java:301)
	at java.lang.Thread.run(Thread.java:745)
Caused by: com.pega.pegarules.pub.context.InvalidConfigurationException: No such Access Group: <Access group Name> for thread STANDARD
From: (unknown) 
	at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.getBasicApplicationContext(GlobalContextCache.java:418)
	at com.pega.pegarules.session.internal.authorization.context.GlobalContextCache.getLocalizedApplicationContext(GlobalContextCache.java:429)
	at com.pega.pegarules.session.internal.authorization.context.AuthorizationContextManagerImpl.getContext(AuthorizationContextManagerImpl.java:79)
	at com.pega.pegarules.session.internal.authorization.SessionAuthorization.getContext(SessionAuthorization.java:554)
	at com.pega.pegarules.session.internal.authorization.SessionAuthorization.getContext(SessionAuthorization.java:527)
	at com.pega.pegarules.session.internal.authorization.SessionAuthorization.activate(SessionAuthorization.java:348)
	... 26 more
Low-Code App Development Data Integration Java and Activities Security
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.