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
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.
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.