javax.naming.ServiceUnavailableException: ldap.rave.ac.uk:389; socket closed; remaining name 'ou=people,dc=rave,dc=ac,dc=uk'

Atlassian JIRA | Dave Loeng [Atlassian] | 1 decade ago
  1. 0

    This is one error that is thrown when this happens: java.lang.NullPointerException at com.atlassian.user.impl.ldap.security.authentication.DefaultLDAPAuthenticator.authenticate(DefaultLDAPAuthenticator.java:102) Stack Trace: [hide] java.lang.NullPointerException at com.atlassian.user.impl.ldap.security.authentication.DefaultLDAPAuthenticator.authenticate(DefaultLDAPAuthenticator.java:102) at com.atlassian.user.impl.delegation.security.authentication.DelegatingAuthenticator.authenticate(DelegatingAuthenticator.java:47) at bucket.user.DefaultUserAccessor.authenticate(DefaultUserAccessor.java:742) at sun.reflect.GeneratedMethodAccessor1002.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy56.authenticate(Unknown Source) at com.atlassian.confluence.user.ConfluenceAuthenticator.authenticate(ConfluenceAuthenticator.java:43) at com.atlassian.seraph.auth.DefaultAuthenticator.login(DefaultAuthenticator.java:93) at com.atlassian.confluence.user.ConfluenceAuthenticator.login(ConfluenceAuthenticator.java:26) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:125) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:31) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.confluence.util.error.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) This is caused by: javax.naming.ServiceUnavailableException: ldap.rave.ac.uk:389; socket closed; remaining name 'ou=people,dc=rave,dc=ac,dc=uk' at com.sun.jndi.ldap.Connection.readReply(Connection.java:410) at com.sun.jndi.ldap.LdapClient.getSearchReply(LdapClient.java:701) at com.sun.jndi.ldap.LdapClient.search(LdapClient.java:624) at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1947) at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1809) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1734) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:328) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:313) at com.atlassian.user.impl.ldap.search.DefaultLDAPUserAdaptor.search(DefaultLDAPUserAdaptor.java:80) at com.atlassian.user.impl.ldap.search.DefaultLDAPUserAdaptor.getUserAttributes(DefaultLDAPUserAdaptor.java:124) at com.atlassian.user.impl.ldap.search.DefaultLDAPUserAdaptor.getUserDN(DefaultLDAPUserAdaptor.java:143)

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    javax.naming.ServiceUnavailableException: ldap.rave.ac.uk:389; socket closed; remaining name 'ou=people,dc=rave,dc=ac,dc=uk'
  2. 0

    This is one error that is thrown when this happens: java.lang.NullPointerException at com.atlassian.user.impl.ldap.security.authentication.DefaultLDAPAuthenticator.authenticate(DefaultLDAPAuthenticator.java:102) Stack Trace: [hide] java.lang.NullPointerException at com.atlassian.user.impl.ldap.security.authentication.DefaultLDAPAuthenticator.authenticate(DefaultLDAPAuthenticator.java:102) at com.atlassian.user.impl.delegation.security.authentication.DelegatingAuthenticator.authenticate(DelegatingAuthenticator.java:47) at bucket.user.DefaultUserAccessor.authenticate(DefaultUserAccessor.java:742) at sun.reflect.GeneratedMethodAccessor1002.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy56.authenticate(Unknown Source) at com.atlassian.confluence.user.ConfluenceAuthenticator.authenticate(ConfluenceAuthenticator.java:43) at com.atlassian.seraph.auth.DefaultAuthenticator.login(DefaultAuthenticator.java:93) at com.atlassian.confluence.user.ConfluenceAuthenticator.login(ConfluenceAuthenticator.java:26) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:125) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:31) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.confluence.util.error.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) This is caused by: javax.naming.ServiceUnavailableException: ldap.rave.ac.uk:389; socket closed; remaining name 'ou=people,dc=rave,dc=ac,dc=uk' at com.sun.jndi.ldap.Connection.readReply(Connection.java:410) at com.sun.jndi.ldap.LdapClient.getSearchReply(LdapClient.java:701) at com.sun.jndi.ldap.LdapClient.search(LdapClient.java:624) at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1947) at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1809) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1734) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:328) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:313) at com.atlassian.user.impl.ldap.search.DefaultLDAPUserAdaptor.search(DefaultLDAPUserAdaptor.java:80) at com.atlassian.user.impl.ldap.search.DefaultLDAPUserAdaptor.getUserAttributes(DefaultLDAPUserAdaptor.java:124) at com.atlassian.user.impl.ldap.search.DefaultLDAPUserAdaptor.getUserDN(DefaultLDAPUserAdaptor.java:143)

    Atlassian JIRA | 1 decade ago | Dave Loeng [Atlassian]
    javax.naming.ServiceUnavailableException: ldap.rave.ac.uk:389; socket closed; remaining name 'ou=people,dc=rave,dc=ac,dc=uk'
  3. 0

    If a firewall closes the connection between Crowd and OpenLDAP, Crowd should reconnect to OpenLDAP. (I guess this applies to other LDAP directories as well.) Crowd should also have a keep alive option to prevent the connection from being terminated. This functionality is important when it's not possible to configure the firewall session TTL high enough. {code} 16:06:22,660 INFO crowd.integration.directory.connector.SpringLDAPConnector: Performing group search: baseDN = ou=Groups,ou=Internal,dc=domain,dc=com - filter = (objectclass=groupOfUniqueNames) 08:28:43,280 INFO atlassian.crowd.integration.http.VerifyTokenFilter: Authentication is not valid, redirecting to: http://crowd.domain.com/crowd/console/ 08:31:09,219 INFO crowd.integration.directory.connector.SpringLDAPConnector: Performing group search: baseDN = ou=Groups,ou=Internal,dc=domain,dc=com - filter = (objectclass=groupOfUniqueNames) 09:28:04,510 INFO crowd.integration.directory.connector.SpringLDAPConnector: Performing group search: baseDN = ou=Groups,ou=Internal,dc=domain,dc=com - filter = (objectclass=groupOfUniqueNames) 09:28:19,556 ERROR crowd.console.action.group.BrowseGroups: Operation failed; nested exception is javax.naming.ServiceUnavailableException: npldap1.domain.com:389; socket closed; remaining name 'ou=Groups,ou=Internal,dc=domain,dc=com' org.springframework.ldap.UncategorizedLdapException: Operation failed; nested exception is javax.naming.ServiceUnavailableException: npldap1.domain.com:389; socket closed; remaining name 'ou=Groups,ou=Internal,dc=domain,dc=com' javax.naming.ServiceUnavailableException: npldap1.domain.com:389; socket closed; remaining name 'ou=Groups,ou=Internal,dc=domain,dc=com' at com.sun.jndi.ldap.Connection.readReply(Connection.java:410) at com.sun.jndi.ldap.LdapClient.getSearchReply(LdapClient.java:611) at com.sun.jndi.ldap.LdapClient.search(LdapClient.java:534) at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1944) at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1806) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1731) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321) at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248) at org.springframework.ldap.LdapTemplate$4.executeSearch(LdapTemplate.java:227) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:268) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:231) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:526) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:510) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:359) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:380) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:400) at com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector.searchGroups(SpringLDAPConnector.java:433) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.searchGroups(DirectoryManagerGeneric.java:471) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148) at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:88) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy3.searchGroups(Unknown Source) at com.atlassian.crowd.console.action.group.BrowseGroups.execute(BrowseGroups.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:98) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116) at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:225) at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.crowd.integration.http.VerifyTokenFilter.doFilter(VerifyTokenFilter.java:131) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) {code}

    Atlassian JIRA | 9 years ago | Lars Preben Sørsdahl
    javax.naming.ServiceUnavailableException: npldap1.domain.com:389; socket closed; remaining name 'ou=Groups,ou=Internal,dc=domain,dc=com'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    If a firewall closes the connection between Crowd and OpenLDAP, Crowd should reconnect to OpenLDAP. (I guess this applies to other LDAP directories as well.) Crowd should also have a keep alive option to prevent the connection from being terminated. This functionality is important when it's not possible to configure the firewall session TTL high enough. {code} 16:06:22,660 INFO crowd.integration.directory.connector.SpringLDAPConnector: Performing group search: baseDN = ou=Groups,ou=Internal,dc=domain,dc=com - filter = (objectclass=groupOfUniqueNames) 08:28:43,280 INFO atlassian.crowd.integration.http.VerifyTokenFilter: Authentication is not valid, redirecting to: http://crowd.domain.com/crowd/console/ 08:31:09,219 INFO crowd.integration.directory.connector.SpringLDAPConnector: Performing group search: baseDN = ou=Groups,ou=Internal,dc=domain,dc=com - filter = (objectclass=groupOfUniqueNames) 09:28:04,510 INFO crowd.integration.directory.connector.SpringLDAPConnector: Performing group search: baseDN = ou=Groups,ou=Internal,dc=domain,dc=com - filter = (objectclass=groupOfUniqueNames) 09:28:19,556 ERROR crowd.console.action.group.BrowseGroups: Operation failed; nested exception is javax.naming.ServiceUnavailableException: npldap1.domain.com:389; socket closed; remaining name 'ou=Groups,ou=Internal,dc=domain,dc=com' org.springframework.ldap.UncategorizedLdapException: Operation failed; nested exception is javax.naming.ServiceUnavailableException: npldap1.domain.com:389; socket closed; remaining name 'ou=Groups,ou=Internal,dc=domain,dc=com' javax.naming.ServiceUnavailableException: npldap1.domain.com:389; socket closed; remaining name 'ou=Groups,ou=Internal,dc=domain,dc=com' at com.sun.jndi.ldap.Connection.readReply(Connection.java:410) at com.sun.jndi.ldap.LdapClient.getSearchReply(LdapClient.java:611) at com.sun.jndi.ldap.LdapClient.search(LdapClient.java:534) at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1944) at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1806) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1731) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321) at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248) at org.springframework.ldap.LdapTemplate$4.executeSearch(LdapTemplate.java:227) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:268) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:231) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:526) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:510) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:359) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:380) at org.springframework.ldap.LdapTemplate.search(LdapTemplate.java:400) at com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector.searchGroups(SpringLDAPConnector.java:433) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.searchGroups(DirectoryManagerGeneric.java:471) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148) at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:88) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176) at $Proxy3.searchGroups(Unknown Source) at com.atlassian.crowd.console.action.group.BrowseGroups.execute(BrowseGroups.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:98) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116) at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:225) at com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.crowd.integration.http.VerifyTokenFilter.doFilter(VerifyTokenFilter.java:131) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) {code}

    Atlassian JIRA | 9 years ago | Lars Preben Sørsdahl
    javax.naming.ServiceUnavailableException: npldap1.domain.com:389; socket closed; remaining name 'ou=Groups,ou=Internal,dc=domain,dc=com'
  6. 0

    Bug ID: JDK-6870947 15 sec delay detecting "socket closed" condition when a TCP connection is reset by an LDAP server

    java.com | 4 months ago
    javax.naming.ServiceUnavailableException: phoenix:389; socket closed; remaining name 'ou=users,dc=example,dc=com'

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

      ldap.rave.ac.uk:389; socket closed; remaining name 'ou=people,dc=rave,dc=ac,dc=uk'

      at com.sun.jndi.ldap.Connection.readReply()
    2. Java RT
      PartialCompositeDirContext.search
      1. com.sun.jndi.ldap.Connection.readReply(Connection.java:410)
      2. com.sun.jndi.ldap.LdapClient.getSearchReply(LdapClient.java:701)
      3. com.sun.jndi.ldap.LdapClient.search(LdapClient.java:624)
      4. com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1947)
      5. com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1809)
      6. com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1734)
      7. com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
      8. com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:328)
      9. com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:313)
      9 frames
    3. com.atlassian.user
      DefaultLDAPUserAdaptor.getUserDN
      1. com.atlassian.user.impl.ldap.search.DefaultLDAPUserAdaptor.search(DefaultLDAPUserAdaptor.java:80)
      2. com.atlassian.user.impl.ldap.search.DefaultLDAPUserAdaptor.getUserAttributes(DefaultLDAPUserAdaptor.java:124)
      3. com.atlassian.user.impl.ldap.search.DefaultLDAPUserAdaptor.getUserDN(DefaultLDAPUserAdaptor.java:143)
      3 frames