javax.naming.CommunicationException: hostname:636 [Root exception is java.net.ConnectException: Connection timed out]

Coderanch | christine clarin | 7 years ago
  1. 0

    cannot connect to LDAP through JNDI

    Coderanch | 7 years ago | christine clarin
    javax.naming.CommunicationException: hostname:636 [Root exception is java.net.ConnectException: Connection timed out]
  2. 0

    Bug ID: JDK-6522848 memory leak in 64-bit JVM 1.5.0_09 on RHEL4 U4 with javax.naming.directory.InitialDirContext()

    java.com | 2 years ago
    javax.naming.CommunicationException: 127.0.0.1:389 [Root exception is java.net.ConnectException: Cannot assign requested address]
  3. 0

    connection timed out during password reset LDAP

    Stack Overflow | 2 years ago
    javax.naming.CommunicationException: ipofactivedirectory:636 [Root exception is java.net.ConnectException: Connection timed out: connect]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Starting Problems with Applicationserver

    Google Groups | 1 decade ago | mso...@gmx.de
    javax.naming.CommunicationException: islern1.informatik.fh-schmalkalden.de:389. Root exception is java.net.ConnectException: Connection refused: connect
  6. 0

    WAS4 and LDAPS - java.net.SocketException: SSL implementation not available

    Google Groups | 1 decade ago | Pascal Noppe
    javax.naming.CommunicationException: Request: 1cancelled

    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. java.net.ConnectException

      Connection timed out

      at java.net.PlainSocketImpl.socketConnect()
    2. Java RT
      InitialDirContext.<init>
      1. java.net.PlainSocketImpl.socketConnect(Native Method)
      2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
      3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
      4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
      5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
      6. java.net.Socket.connect(Socket.java:519)
      7. java.net.Socket.connect(Socket.java:469)
      8. java.net.Socket.<init>(Socket.java:366)
      9. java.net.Socket.<init>(Socket.java:179)
      10. com.sun.jndi.ldap.Connection.createSocket(Connection.java:346)
      11. com.sun.jndi.ldap.Connection.<init>(Connection.java:181)
      12. com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:118)
      13. com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1578)
      14. com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2596)
      15. com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:283)
      16. com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
      17. com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
      18. com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
      19. com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
      20. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
      21. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
      22. javax.naming.InitialContext.init(InitialContext.java:223)
      23. javax.naming.InitialContext.<init>(InitialContext.java:197)
      24. javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
      24 frames
    3. org.ipres.server
      UnitServiceImpl.readFromLDAP
      1. org.ipres.server.utils.ReadUnitFromLDAP.getDirContext(ReadUnitFromLDAP.java:33)
      2. org.ipres.server.utils.ReadUnitFromLDAP.doFilterSearch(ReadUnitFromLDAP.java:73)
      3. org.ipres.server.controllers.UnitServiceImpl.readFromLDAP(UnitServiceImpl.java:44)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. Jetty Contrib :: jetty-gwt RemoteServiceServlet
      RemoteServiceServlet.doPost
      1. com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
      2. com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:166)
      3. com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
      3 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      2 frames
    7. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      8 frames
    8. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      4 frames
    9. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      1 frame
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame