Expand my Community achievements bar.

facing issue with concurrent use of session LOCKED DUPLICATE


Level 1

Hi All,

   We are facing concurrent use of session.save call in our CQ5 application. When we analyze logs, we found that a function is having for loop, which is interrupted by TIBCO calls. Where the calls also using admin session. Due to which the below issue is occurring that in turn causing java.lang.IllegalStateException: not initialized

18.07.2017 13:47:20.507 WARN [Finalizer] org.apache.jackrabbit.core.session.SessionState

Attempt to close session-admin-581500 while another thread is concurrently accessing this session.

Blocking until the other thread is finished using this session. Please review your code to avoid concurrent use of a session.

java.lang.Exception: Stack trace of concurrent` access to session-admin-581500

Below are logs:

java.lang.IllegalStateException: not initialized at org.apache.jackrabbit.core.security.DefaultAccessManager.checkInitialized(DefaultAccessMa nager.java:457) at org.apache.jackrabbit.core.security.DefaultAccessManager.canRead(DefaultAccessManager.jav a:261) at org.apache.jackrabbit.core.ItemManager.canRead(ItemManager.java:438)

While doing manual operation in our application, Due to java.lang.IllegalStateException, we are getting "unknown error" which is blocking our functionality. How can we resolve this "Unknown error".

Please guide me what could be wrong missing in code due to above error is occurring.



LOCKED DUPLICATE GO TO https://forums.adobe.com/thread/2373094

1 Reply


Level 2

What Adobe software are you using? You've posted in the Forum Comments forum (which is for issues with these forums themselves). Let us know what you are using and a moderator can move your post to an appropriate, product-specific, support forum.