Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

facing issue with concurrent use of session

$
0
0

Hi All,

   We are facing concurrent use of session.save call in our LDAP sycn up process. Issue we got while performing performance test for multiple user and issue is at com.day.crx.security.ldap.LDAPUserSync.performUpdate api. Please guide me what could be wrong missing in code due to this Out of box service is showing error.

Below are logs:

 

 

02.01.2013 14:32:07 WARN SessionState: Attempt to perform session.save() while another thread is concurrently writing to session-system-1. Blocking until the other thread is finished using this session. Please review your code to avoid concurrent use of a session. (SessionState.java, line 149)

java.lang.Exception: Stack trace of concurrent access to session-system-1

at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:147)

at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:355)

at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:758)

at com.day.crx.security.ldap.LDAPUserSync.performUpdate(LDAPUserSync.java:230)

at com.day.crx.security.ldap.LDAPUserSync.syncUser(LDAPUserSync.java:178)

at com.day.crx.security.ldap.LDAPLoginModule.commit(LDAPLoginModule.java:266)

at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)

at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)

 

 

 

Regards,

Yogesh


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>