javax.naming.CommunicationException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    • javax.naming.CommunicationException: xxx001.xxx.com:3060 [Root exception is java.net.ConnectException: Connection refused] at oracle.ldap.util.jndi.ConnectionUtil.returnInitialLdapContext(ConnectionUtil.java:492) at oracle.ldap.util.jndi.ConnectionUtil.getDefaultDirCtx(ConnectionUtil.java:135) at oracle.ldap.util.jndi.ConnectionUtil.getDefaultDirCtx(ConnectionUtil.java:157) at oracle.ldap.oidinstall.backend.OIDConfiguration.isOIDSrvUp(OIDConfiguration.java:947) at oracle.ldap.oidinstall.backend.OIDConfigWrapper.configOID(OIDConfigWrapper.java:273) at oracle.ldap.oidinstall.OIDCA.doSilent(OIDCA.java:507) at oracle.ldap.oidinstall.OIDCA.run(OIDCA.java:818) at oracle.ldap.oidinstall.OIDCA.main(OIDCA.java:957) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:462) at java.net.Socket.connect(Socket.java:412) at java.net.Socket.<init>(Socket.java:308) at java.net.Socket.<init>(Socket.java:124) at com.sun.jndi.ldap.Connection.createSocket(Connection.java:346) at com.sun.jndi.ldap.Connection.<init>(Connection.java:181) at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:119) at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1668) at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2599) at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193) at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136) at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) at javax.naming.InitialContext.init(InitialContext.java:219) at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:133) at oracle.ldap.util.jndi.ConnectionThread.run(ConnectionThread.java:61)

    Users with the same issue

    filipebatistafilipebatista
    1 times, last one,
    tvrmsmithtvrmsmith
    11 times, last one,
    batwalrus76batwalrus76
    5 times, last one,
    rocdayrocday
    3 times, last one,
    Михайло ТітовМихайло Тітов
    16 times, last one,
    274 more bugmates