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

RequestorLockException: with developer environment

SA-46265

Summary



Entire developer environment crashes and the log depicts thread dumps.


Error Messages



com.pega.pegarules.pub.context.RequestorLockException: Unable to synchronize on requestor HF6E834FA32790503C314E25C0D37A0F1 within 120 seconds: (thisThread = ajp-nio-8009-exec-1) (originally locked by = ajp-nio-8009-exec-63) (finally locked by = ajp-nio-8009-exec-63)

Steps to Reproduce



Sporadic issue.


Root Cause



A defect or configuration issue in the operating environment was observed when user was running New Application Wizard which was creating new PRPC classes.

Resolution



Here’s the explanation for the reported behavior:

If searched in the same thread dump for the “owned by” thread (which is “ajp-nio-8009-exec-63”): one can find the thread that is currently holding the lock to the ClassMap here:

"ajp-nio-8009-exec-63" Id=17510 in RUNNABLE (running in native)

BlockedCount : 250, BlockedTime : -1, WaitedCount : 2008, WaitedTime : -1

at java.io.FileInputStream.readBytes(Native Method)

at java.io.FileInputStream.read(FileInputStream.java:255)

at sun.security.provider.NativePRNG$RandomIO.readFully(NativePRNG.java:410)

at sun.security.provider.NativePRNG$RandomIO.implGenerateSeed(NativePRNG.java:427)

- locked java.lang.Object@2983f53b

at sun.security.provider.NativePRNG$RandomIO.access$500(NativePRNG.java:329)

at sun.security.provider.NativePRNG.engineGenerateSeed(NativePRNG.java:224)

at java.security.SecureRandom.generateSeed(SecureRandom.java:533)

at com.pega.pegarules.exec.internal.util.PRRandom.reseedGenerator(PRRandom.java:119)

at com.pega.pegarules.exec.internal.util.PRRandom.checkToReseed(PRRandom.java:124)

at com.pega.pegarules.exec.internal.util.PRRandom.nextInt(PRRandom.java:87)

at com.pega.pegarules.data.internal.dictionary.ClassMapImpl$ClassAncestors.<init>(ClassMapImpl.java:7391)

at com.pega.pegarules.data.internal.dictionary.ClassMapImpl.calculateClassMap(ClassMapImpl.java:4390)

at com.pega.pegarules.data.internal.dictionary.ClassMapImpl.noteConfigInstanceChanges(ClassMapImpl.java:3069)

at com.pega.pegarules.data.internal.access.UpdateProcessor.notifyEverybodyOfChanges(UpdateProcessor.java:411)

at com.pega.pegarules.data.internal.access.UpdateProcessor.after(UpdateProcessor.java:279)

at com.pega.pegarules.data.internal.store.DataStoreManager.doInTransaction(DataStoreManager.java:252)

at com.pega.pegarules.data.internal.access.UpdateProcessor.processUpdates(UpdateProcessor.java:178)

at com.pega.pegarules.data.internal.access.DatabaseImpl.commit(DatabaseImpl.java:2066)

at com.pegarules.generated.activity.ra_action_pzdeleteobject_e662cc4961c0422910021d13b14a2489.step4_circum0(ra_action_pzdeleteobject_e662cc4961c0422910021d13b14a2489.java:348)

at com.pegarules.generated.activity.ra_action_pzdeleteobject_e662cc4961c0422910021d13b14a2489.perform(ra_action_pzdeleteobject_e662cc4961c0422910021d13b14a2489.java:127)

at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)

at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10711)

at com.pegarules.generated.activity.ra_action_pzdeletegeneratedobjects_6f3bff70b0a6b53efc85807f6d49baa3.step3_circum0(ra_action_pzdeletegeneratedobjects_6f3bff70b0a6b53efc85807f6d49baa3.java:375)

at com.pegarules.generated.activity.ra_action_pzdeletegeneratedobjects_6f3bff70b0a6b53efc85807f6d49baa3.perform(ra_action_pzdeletegeneratedobjects_6f3bff70b0a6b53efc85807f6d49baa3.java:124)

at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)

at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10711)

at com.pegarules.generated.activity.ra_action_pzcreateobjects_3f7260e31cfea6432f9820a660c4323b.step23_circum0(ra_action_pzcreateobjects_3f7260e31cfea6432f9820a660c4323b.java:2020)

at com.pegarules.generated.activity.ra_action_pzcreateobjects_3f7260e31cfea6432f9820a660c4323b.perform(ra_action_pzcreateobjects_3f7260e31cfea6432f9820a660c4323b.java:539)

at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3553)

at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10711)

at com.pegarules.generated.activity.ra_action_pzbuildnewapplication_501cc02750c74df85ee5527c030ab227.step4_circum0(ra_action_pzbuildnewapplication_501cc02750c74df85ee5527c030ab227.java:436)

This is a thread that is running the “New Application” wizard to build a new PRPC application and it is deleting the objects created by what must have been an erroneous run of the wizard.

This thread is running, and is not waiting on another resource.

Published March 23, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

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