Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Issue while importing RAP in PRPC v5.5SP1

SA-3211

Summary



Users have imported the latest RAP and found that some of the rules (application definition instances) are not getting saved although the import process completes 100% successful. Users are unable to login to the imported application and has the following error.

Caused by:
com.pega.pegarules.pub.context.PRSecurityException: Problem getting ruleset list for access group CCC:FNOLHandler: No such Rule-Application instance: ZNAClmCustCC 02.52.01

Error Messages



 [c_ws61_cc,maxpri=10]] [ STANDARD] [ PegaRULES:05.05] (ine.context.BatchRequestorTask) ERROR [email protected] - Batch activity "Rule-.PegaRULESMove_Zip_To_DB" threw:
com.pega.pegarules.pub.PRRuntimeError: PRRuntimeError
at com.pega.pegarules.engine.context.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:640)
at com.pega.pegarules.engine.context.base.ThreadRunner.runActivities(ThreadRunner.java:494)
at com.pega.pegarules.engine.context.PRThreadImpl.runActivities(PRThreadImpl.java:582)
at com.pega.pegarules.engine.context.agent.QueueProcessor.executeBatchTask(QueueProcessor.java:146)
at com.pega.pegarules.engine.context.agent.QueueProcessor.execute(QueueProcessor.java:197)
at com.pega.pegarules.engine.context.BatchRequestorTask.run(BatchRequestorTask.java:622)
at com.pega.pegarules.engine.context.PREnvironment.doWithRequestorLocked(PREnvironment.java:962)
at com.pega.pegarules.engine.context.PREnvironment.doWithRequestorLocked(PREnvironment.java:687)
at com.pega.pegarules.engine.context.BatchRequestorTask.run(BatchRequestorTask.java:404)
at com.pega.pegarules.engine.context.Agent.runBatchTask(Agent.java:560)
at com.pega.pegarules.etier.impl.AsyncServant.processAsyncTask(AsyncServant.java:147)
at com.pega.pegarules.etier.impl.AsyncServant.invoke(AsyncServant.java:102)
at com.pega.pegarules.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:283)
at com.pega.pegarules.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:234)
at com.pega.pegarules.etier.ejb.EngineBean.invokeEngine(EngineBean.java:224)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:258)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:299)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingException(PRBootstrap.java:321)
at com.pega.pegarules.internal.etier.ejb.EngineBeanBoot.invokeEngine(EngineBeanBoot.java:162)
at com.pega.pegarules.internal.etier.interfaces.EJSLocalStatelessEngineBMT_f2439d86.invokeEngine(Unknown Source)
at com.pega.pegarules.etier.mdb.PRAsync.processRequest(PRAsync.java:139)
at com.pega.pegarules.etier.asynchbeans.AsyncTask.run(AsyncTask.java:51)
at com.pega.pegarules.etier.asynchbeans.RunnableWrapper.run(RunnableWrapper.java:55)
at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:268)
at java.security.AccessController.doPrivileged(AccessController.java:228)
at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:768)
at com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java:222)
at com.ibm.ws.asynchbeans.ABWorkItemImpl.run(ABWorkItemImpl.java:159)
at java.lang.Thread.run(Thread.java:738)
Caused by:
com.pega.pegarules.pub.context.PRSecurityException: Problem getting ruleset list for access group CCC:FNOLHandler: No such Rule-Application instance: ZNAClmCustCC 02.52.01
at com.pega.pegarules.authorization.context.GlobalContextCache.updateAccessGroup(GlobalContextCache.java:318)
at com.pega.pegarules.authorization.context.AuthorizationContextManager.updateAccessGroup(AuthorizationContextManager.java:103)
at com.pega.pegarules.engine.database.DatabaseImpl.noteAuthorizationChange(DatabaseImpl.java:2720)
at com.pega.pegarules.engine.database.DatabaseImpl.noteChange(DatabaseImpl.java:2595)
at com.pega.pegarules.engine.database.DatabaseImpl.notifyOtherSystemsAfterUpdates(DatabaseImpl.java:1983)
at com.pega.pegarules.engine.database.DatabaseImpl.attemptToProcessUpdates(DatabaseImpl.java:1656)
at com.pega.pegarules.engine.database.DatabaseImpl.processUpdates(DatabaseImpl.java:1504)
at com.pega.pegarules.engine.database.DatabaseImpl.commit(DatabaseImpl.java:1262)
at com.pega.pegarules.engine.database.ImportImpl.importContents(ImportImpl.java:776)
at com.pega.pegarules.engine.database.ImportImpl.performImport(ImportImpl.java:339)
at com.pega.pegarules.engine.database.ImportImpl.performImport(ImportImpl.java:279)
at com.pega.pegarules.engine.database.ImportImpl.importPegaArchive(ImportImpl.java:275)
at com.pegarules.generated.pega_rules_move.ImportArchive05_05_01(pega_rules_move.java:2041)
at com.pegarules.generated.pega_rules_move.ImportArchive(pega_rules_move.java:2113)
at com.pegarules.generated.activity.ra_action_pegarulesmove_zip_to_db_4e9fc081d91ae1cefef03c6e6fe99183.step6_circum0(ra_action_pegarulesmove_zip_to_db_4e9fc081d91ae1cefef03c6e6fe99183.java:689)
at com.pegarules.generated.activity.ra_action_pegarulesmove_zip_to_db_4e9fc081d91ae1cefef03c6e6fe99183.perform(ra_action_pegarulesmove_zip_to_db_4e9fc081d91ae1cefef03c6e6fe99183.java:174)
at com.pega.pegarules.engine.runtime.Executable.doActivity(Executable.java:3069)
at com.pega.pegarules.engine.context.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:574)
... 32 more
Caused by:
com.pega.pegarules.pub.context.InvalidConfigurationException: Problem getting ruleset list for access group CCC:FNOLHandler: No such Rule-Application instance: ZNAClmCustCC 02.52.01
From: (BA3B28D2FEAF449CC97EA501F2F170F14)
at com.pega.pegarules.authorization.context.ContextUtils.getRuleSetListForAccessGroup(ContextUtils.java:353)
at com.pega.pegarules.authorization.context.BasicApplicationContext.updateDefinition(BasicApplicationContext.java:342)
at com.pega.pegarules.authorization.context.GlobalContextCache.updateAccessGroup(GlobalContextCache.java:312)
... 49 more
Caused by:
com.pega.pegarules.pub.context.InvalidConfigurationException: No such Rule-Application instance: ZNAClmCustCC 02.52.01
From: (BA3B28D2FEAF449CC97EA501F2F170F14)
at com.pega.pegarules.authorization.context.ContextUtils.getRuleSetListForApplication(ContextUtils.java:135)
at com.pega.pegarules.authorization.context.ContextUtils.getRuleSetListForAccessGroup(ContextUtils.java:351)
... 51 more


Steps to Reproduce



Import RAP in to PRPC


Root Cause



The root cause of this problem is defect/misconfiguration in the PRPC operating environment.
There were potential dependeny issues in the RAP which was created.



Resolution



This issue is resolved through the following local change:

1. Create a new RAP of Application Rule alone and import it.
2. Import the usual RAP after that.
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us