Article - CS180770

When the Integrity server is starting up an error message "socket closed" appears when trying to contact its configured LDAP server

Modified: 01-Sep-2017   


Applies To

  • PTC RV&S (formerly Integrity Lifecycle Manager) 2009 to 11.1

Description

  • When the Integrity server is starting up an error message "socket closed" appears when trying to contact its configured LDAP server
  • The following error appears in the Integrity server.log file:
  • LDAP(10): Context: java.naming.batchsize=100, java.naming.security.authentication=simple, java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, java.naming.referral=throw, java.naming.provider.url=ldap://HOSTNAME:636, java.naming.security.principal=PRINCIPAL, com.sun.jndi.ldap.connect.pool=true, com.sun.jndi.ldap.connect.timeout=5000, java.naming.batchsize=100,
    LDAP(5): For server: SERVER, got address(0): SERVER HOSTNAME, IP: IP ADDRESS, canonical: SERVER HOSTNAME
    LDAP(0): First time using LDAP server (0 of 1) ldap://IP ADDRESS:636
    LDAP javax.naming.ServiceUnavailableException: javax.naming.ServiceUnavailableException: XXX.XXX.XXX.XXX:636; socket closed
        at com.sun.jndi.ldap.Connection.readReply(Connection.java:423)
        at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:338)
        at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:190)
        at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2720)
        at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:296)
        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:667)
        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
        at javax.naming.InitialContext.init(InitialContext.java:223)
        at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:134)

     
This is a printer-friendly version of Article 180770 and may be out of date. For the latest version click CS180770