java.lang.IllegalStateException: Unable to open LDAP connection

  1. 0

    Sonarqube LDAP: error code 1 and 49

    Stack Overflow | 3 months ago | Yanick Laborée
    java.lang.IllegalStateException: Unable to open LDAP connection
  2. 0

    LDAP Error

    Google Groups | 2 months ago | Jody Greene
    java.lang.IllegalStateException: Unable to open LDAP connection
  3. 0

    Could not connect to Active Directory services through LDAP in JAVA

    Stack Overflow | 2 weeks ago | Bhuvanesh Waran
    javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v2580]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Ranger user sync error: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903CF - Hortonworks

    hortonworks.com | 5 months ago
    javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903CF, comment: AcceptSecurityContext error, data 52e, v2580^@]
  6. 0

    Configure ldap.xml using the attached ldap.xml or similar. ( from 2.7.1-01, although tested with 2.9.2-01 as well ) Trust the LDAPs server by adding the ldap cert to Nexus trust store. Check Authentication on main ldap configuration tab. it works. Now Check Authentication on Backup Mirror tab - Authentication fails even though it points to the same ldap server. Reports are that even with a different host name and same config for backup mirror, it still doesn't work. Workaround, configure a completely new ldap server entry in Enterprise LDAP. {noformat} jvm 1 | 2014-09-26 18:14:30,760-0300 DEBUG [qtp221701253-76] admin org.sonatype.security.ldap.realms.DefaultLdapContextFactory - Initializing LDAP context using URL [ldap://localhost:10389/o=sonatype] and username [uid=admin,ou=system] with pooling [enabled] and environment {java.naming.referral=follow, java.naming.security.principal=uid=admin,ou=system, java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, com.sun.jndi.ldap.connect.pool=true, java.naming.provider.url=ldap://localhost:10389/o=sonatype, java.naming.security.credentials=***, java.naming.security.authentication=simple} jvm 1 | 2014-09-26 18:14:30,772-0300 DEBUG [qtp221701253-76] admin com.sonatype.security.ldap.api.LdapTestAuthenticationPlexusResource - Failed to connect to Ldap Server. jvm 1 | javax.naming.AuthenticationException: [LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system] jvm 1 | at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3135) ~[na:1.8.0_11] jvm 1 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3081) ~[na:1.8.0_11] jvm 1 | at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2883) ~[na:1.8.0_11] jvm 1 | at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2797) ~[na:1.8.0_11] jvm 1 | at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319) ~[na:1.8.0_11] jvm 1 | at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192) ~[na:1.8.0_11] jvm 1 | at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210) ~[na:1.8.0_11] jvm 1 | at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153) ~[na:1.8.0_11] jvm 1 | at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83) ~[na:1.8.0_11] jvm 1 | at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684) ~[na:1.8.0_11] jvm 1 | at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313) ~[na:1.8.0_11] jvm 1 | at javax.naming.InitialContext.init(InitialContext.java:244) ~[na:1.8.0_11] jvm 1 | at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:154) ~[na:1.8.0_11] jvm 1 | at org.sonatype.security.ldap.realms.DefaultLdapContextFactory.getLdapContext(DefaultLdapContextFactory.java:254) ~[nexus-ldap-plugin-2.9.2-01/:na] jvm 1 | at org.sonatype.security.ldap.realms.DefaultLdapContextFactory.getSystemLdapContext(DefaultLdapContextFactory.java:239) ~[nexus-ldap-plugin-2.9.2-01/:na] jvm 1 | at org.sonatype.security.ldap.dao.DefaultLdapConnectionTester.testConnection(DefaultLdapConnectionTester.java:53) ~[nexus-ldap-plugin-2.9.2-01/:na] jvm 1 | at com.sonatype.security.ldap.api.LdapTestAuthenticationPlexusResource.doPut(LdapTestAuthenticationPlexusResource.java:123) [nexus-ldap-plugin-2.9.2-01/:na] jvm 1 | at com.sonatype.security.ldap.api.AbstractLdapPlexusResource.put(AbstractLdapPlexusResource.java:130) [nexus-ldap-plugin-2.9.2-01/:na] jvm 1 | at com.sonatype.security.ldap.api.LdapTestAuthenticationPlexusResource.put(LdapTestAuthenticationPlexusResource.java:95) [nexus-ldap-plugin-2.9.2-01/:na] jvm 1 | at org.sonatype.plexus.rest.resource.RestletResource.storeRepresentation(RestletResource.java:299) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.sonatype.nexus.rest.NexusRestletResource.storeRepresentation(NexusRestletResource.java:91) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.resource.Resource.put(Resource.java:706) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.resource.Resource.handlePut(Resource.java:603) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Finder.handle(Finder.java:359) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:36) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Application.handle(Application.java:341) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Filter.handle(Filter.java:195) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Router.handle(Router.java:504) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Component.handle(Component.java:676) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.restlet.Server.handle(Server.java:331) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at org.sonatype.nexus.restlet1x.internal.RestletServlet.service(RestletServlet.java:90) [nexus-restlet1x-plugin-2.9.2-01/:na] jvm 1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [javax.servlet-3.0.0.v201112011016.jar:na] jvm 1 | at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:288) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:278) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.9.2-01.jar:2.9.2-01] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.sonatype.nexus.analytics.internal.RestRequestCollector.doFilter(RestRequestCollector.java:82) [nexus-analytics-plugin-2.9.2-01/:na] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.sonatype.nexus.web.internal.SecurityFilter.executeChain(SecurityFilter.java:73) [nexus-core-2.9.2-01.jar:2.9.2-01] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) [shiro-core-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.2.jar:1.2.2] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.9.2-01.jar:2.9.2-01] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.9.2-01.jar:2.9.2-01] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.sonatype.nexus.licensing.internal.LicensingRedirectFilter.doFilter(LicensingRedirectFilter.java:135) [nexus-licensing-plugin-2.9.2-01/:na] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.9.2-01.jar:2.9.2-01] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.yammer.metrics.web.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:76) [metrics-web-2.2.0.jar:na] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.CommonHeadersFilter.doFilter(CommonHeadersFilter.java:69) [nexus-core-2.9.2-01.jar:2.9.2-01] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.ErrorPageFilter.doFilter(ErrorPageFilter.java:71) [nexus-core-2.9.2-01.jar:2.9.2-01] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.BaseUrlHolderFilter.doFilter(BaseUrlHolderFilter.java:70) [nexus-core-2.9.2-01.jar:2.9.2-01] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.9.2-01.jar:2.9.2-01] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:56) [nexus-core-2.9.2-01.jar:2.9.2-01] jvm 1 | at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:132) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:129) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:206) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:129) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) [jetty-security-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at com.yammer.metrics.jetty.InstrumentedHandler.handle(InstrumentedHandler.java:200) [metrics-jetty-2.2.0.jar:na] jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.Server.handle(Server.java:370) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) [jetty-http-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) [jetty-http-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) [jetty-io-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-io-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 1 | at java.lang.Thread.run(Thread.java:745) [na:1.8.0_11] {noformat}

    Sonatype JIRA | 2 years ago | Peter Lynch
    javax.naming.AuthenticationException: [LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user uid=admin,ou=system]

  1. kid 9 times, last 6 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.naming.AuthenticationException

    [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903C5, comment: AcceptSecurityContext error, data 52e, v2580]

    at com.sun.jndi.ldap.LdapCtx.mapErrorCode()
  2. Java RT
    InitialLdapContext.<init>
    1. com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3135)[na:1.8.0_91]
    2. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3081)[na:1.8.0_91]
    3. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2883)[na:1.8.0_91]
    4. com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2797)[na:1.8.0_91]
    5. com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319)[na:1.8.0_91]
    6. com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)[na:1.8.0_91]
    7. com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210)[na:1.8.0_91]
    8. com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153)[na:1.8.0_91]
    9. com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83)[na:1.8.0_91]
    10. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)[na:1.8.0_91]
    11. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)[na:1.8.0_91]
    12. javax.naming.InitialContext.init(InitialContext.java:244)[na:1.8.0_91]
    13. javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:154)[na:1.8.0_91]
    13 frames
  3. org.sonar.plugins
    LdapRealm.init
    1. org.sonar.plugins.ldap.LdapContextFactory.createInitialDirContext(LdapContextFactory.java:95)[na:na]
    2. org.sonar.plugins.ldap.LdapContextFactory.createBindContext(LdapContextFactory.java:83)[na:na]
    3. org.sonar.plugins.ldap.LdapContextFactory.testConnection(LdapContextFactory.java:142)[na:na]
    4. org.sonar.plugins.ldap.LdapRealm.init(LdapRealm.java:64)[na:na]
    4 frames
  4. org.sonar.server
    SecurityRealmFactory.start
    1. org.sonar.server.user.SecurityRealmFactory.start(SecurityRealmFactory.java:84)[sonar-server-6.0.jar:na]
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_91]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_91]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_91]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_91]
    4 frames
  6. PicoContainer Core
    ReflectionLifecycleStrategy.start
    1. org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)[picocontainer-2.15.jar:na]
    2. org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)[picocontainer-2.15.jar:na]
    2 frames
  7. org.sonar.core
    ComponentContainer$1.start
    1. org.sonar.core.platform.ComponentContainer$1.start(ComponentContainer.java:320)[sonar-core-6.0.jar:na]
    1 frame
  8. PicoContainer Core
    DefaultPicoContainer.start
    1. org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)[picocontainer-2.15.jar:na]
    2. org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)[picocontainer-2.15.jar:na]
    3. org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)[picocontainer-2.15.jar:na]
    4. org.picocontainer.behaviors.Stored.start(Stored.java:110)[picocontainer-2.15.jar:na]
    5. org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1016)[picocontainer-2.15.jar:na]
    6. org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1009)[picocontainer-2.15.jar:na]
    7. org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)[picocontainer-2.15.jar:na]
    7 frames
  9. org.sonar.core
    ComponentContainer.startComponents
    1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:141)[sonar-core-6.0.jar:na]
    1 frame
  10. org.sonar.server
    PlatformServletContextListener.contextInitialized
    1. org.sonar.server.platform.platformlevel.PlatformLevel.start(PlatformLevel.java:84)[sonar-server-6.0.jar:na]
    2. org.sonar.server.platform.platformlevel.PlatformLevel4.start(PlatformLevel4.java:687)[sonar-server-6.0.jar:na]
    3. org.sonar.server.platform.Platform.start(Platform.java:216)[sonar-server-6.0.jar:na]
    4. org.sonar.server.platform.Platform.startLevel34Containers(Platform.java:190)[sonar-server-6.0.jar:na]
    5. org.sonar.server.platform.Platform.doStart(Platform.java:113)[sonar-server-6.0.jar:na]
    6. org.sonar.server.platform.Platform.doStart(Platform.java:99)[sonar-server-6.0.jar:na]
    7. org.sonar.server.platform.PlatformServletContextListener.contextInitialized(PlatformServletContextListener.java:44)[sonar-server-6.0.jar:na]
    7 frames
  11. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)[tomcat-embed-core-8.0.32.jar:8.0.32]
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)[tomcat-embed-core-8.0.32.jar:8.0.32]
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)[tomcat-embed-core-8.0.32.jar:8.0.32]
    4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)[tomcat-embed-core-8.0.32.jar:8.0.32]
    5. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)[tomcat-embed-core-8.0.32.jar:8.0.32]
    5 frames
  12. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_91]
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_91]
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_91]
    4. java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]
    4 frames