com.day.crx.security.ldap.LDAPRepositoryException
Hi,
We are getting the below exception sometimes when the code is tested under heavy load. We create users in LDAP and then sync them to CQ using their credentials in ldap
at the time or repository.login(SimpleCredential(username, passwordArray)) . We get the exception. This does not happen under normal load when we do our user create request in a loop or with any load testing tool this happens once in a while. How can we mitigate it. Any help is appreciated.
I tried looking for com.day.crx.security.ldap.LDAPRepositoryException (Jar or source code) and could not find any references anywhere.
om.day.crx.security.ldap.principals.LDAPPrincipalProvider Error finding user hR8PzAzDpxXB7nKrcc com.day.crx.security.ldap.LDAPRepositoryException: LDAP error: com.day.ldap.LDAPException: Time to complete operation exceeded (85); Client Timelimit exceeded
at com.day.crx.security.ldap.principals.LDAPPrincipalProvider.findUser(LDAPPrincipalProvider.java:389)
at com.day.crx.security.ldap.LDAPLoginModule.getPrincipal(LDAPLoginModule.java:507)
at org.apache.jackrabbit.core.security.authentication.AbstractLoginModule.login(AbstractLoginModule.java:319)
at com.day.crx.security.ldap.LDAPLoginModule.login(LDAPLoginModule.java:234)
at sun.reflect.GeneratedMethodAccessor200.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:784)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:695)
at javax.security.auth.login.LoginContext.login(LoginContext.java:594)
at org.apache.jackrabbit.core.security.authentication.JAASAuthContext.login(JAASAuthContext.java:60)
at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1465)
at com.day.crx.mount.virtual.VirtualRepository$1.call(VirtualRepository.java:107)
at com.day.crx.mount.Util.callWithContextClassLoader(Util.java:123)
at com.day.crx.mount.virtual.VirtualRepository.login(VirtualRepository.java:105)
at com.day.crx.sling.server.impl.SlingRepositoryWrapper.login(SlingRepositoryWrapper.java:127)