My Oracle Support Banner

Primavera Integration API Error "While Trying to Ping LDAP Server Failed to Get Initial Directory Context" (Doc ID 2276939.1)

Last updated on DECEMBER 21, 2020

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 15.1.0.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to use the API to connect the following errors occur. The errors can happen intermittently.

ERROR
-----------------------

While trying to ping LDAP server failed to get initial directory context
URL=ldap://<ldap Server>:389
Security=
AuthenticationMode=
Chase Referrals=0
User Key=samaccountname

javax.naming.ServiceUnavailableException: <ldap server>:389; socket closed
     at com.sun.jndi.ldap.Connection.readReply(Connection.java:454)
     at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:365)
     at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:214)
     at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2788)
     at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:319)
 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.