javax.naming.CommunicationException

tip

Check if you don't have a VPN or something like this messing with your connection. Also, check Jenkins DNS configurations (try to start it with "--dns 8.8.8.8".

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

  • String hostname from properties file: Java
    via Stack Overflow by Neha
    ,
  • Build errors in Spring.io REST tutorial
    via Stack Overflow by am6sigma
    ,
  • testng error while running xml file
    via by Sridevi velaga,
  • IDE 1.6.4 is now available for download
    via by Unknown author,
    • javax.naming.CommunicationException: DomainDnsZones.cs.myabc.net:389 [Root exception is java.net.UnknownHostException: DomainDnsZones.cs.myabc.net]] at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:242) at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:189) at com.securonix.application.matcher.reader.ldap.UserLdapReader.processLinesFromLdap(UserLdapReader.java:369) Caused by: javax.naming.CommunicationException: DomainDnsZones.cs.myabc.net:389 [Root exception is java.net.UnknownHostException: DomainDnsZones.cs.myabc.net] at com.sun.jndi.ldap.LdapReferralContext.<init>(LdapReferralContext.java:92) at com.sun.jndi.ldap.LdapReferralException.getReferralContext(LdapReferralException.java:150) at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreReferrals(LdapNamingEnumeration.java:357) at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:226) ... 3 more Caused by: java.net.UnknownHostException: DomainDnsZones.cs.myabc.net at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) at java.net.Socket.<init>(Socket.java:425) at java.net.Socket.<init>(Socket.java:208) at com.sun.jndi.ldap.Connection.createSocket(Connection.java:368) at com.sun.jndi.ldap.Connection.<init>(Connection.java:203) at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:136) at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1608)

    Users with the same issue

    derprogger
    52 times, last one,
    ivanszkypeter
    2 times, last one,
    musketyr
    2 times, last one,
    Unknown User
    1 times, last one,
    odd
    1 times, last one,
    108 more bugmates