Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Frederic Egmorte, 1 year ago
javax.security.auth.login.LoginException: Unable to locate the LDAP 
directory service	at com.sun.security.auth.module.LdapLoginModule.login(LdapLoginModule.java:503)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	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:762)	at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:690)	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:688)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:687)	at javax.security.auth.login.LoginContext.login(LoginContext.java:595)	at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:433)	at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:354)	at org.apache.catalina.realm.CombinedRealm.authenticate(CombinedRealm.java:146)	at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:294)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:449)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2377)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Thread.java:745)