Article - CS211401

Method server does not start with the error "javax.naming.CommunicationException: ***.com:636 [Root exception is java.net.ConnectException: Connection refused: connect]" in Windchill PDMLink

Modified: 22-Jul-2024   


Applies To

  • Windchill PDMLink 10.0 to 11.0

Description

  • Method Server exiting prematurely on start-up with message below seen in logs
  • Method Server can't start successfully with below errors:
[main] wt.system.err  - javax.naming.CommunicationException: <LDAPS Server HostName>:636 [Root exception is java.net.ConnectException: Connection refused: connect]
at com.sun.jndi.ldap.Connection.<init>(Connection.java:216)
at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:136)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1608)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2698)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:316)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)

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