javax.naming.CommunicationException

erpda001.thailandpost.com:389 [Root exception is java.net.ConnectException: Connection refused]

Samebug tips4

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4936

  • Stack trace

    • javax.naming.CommunicationException: erpda001.thailandpost.com:389 [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)

    Write tip

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

    Users with the same issue

    juzijuzi
    100 times, last one
    Михайло ТітовМихайло Тітов
    23 times, last one
    PilleoPilleo
    19 times, last one
    rocdayrocday
    17 times, last one
    Unknown UserUnknown User
    Once,
    277 more bugmates