My Oracle Support Banner

Error 'While trying to ping LDAP server failed to get initial directory context; Root exception is Error constructing implementation' When Logging into P6 Using LDAP SSL Authentication (Doc ID 2129576.1)

Last updated on NOVEMBER 01, 2023

Applies to:

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


When attempting to login to P6 Web configured for LDAP SSL, the following error occurs:

Invalid Username or Password.

The following error is also logged to the P6WebAccess.html log file:

ERROR /action/login () com.primavera.infr.ldap.LDAPServiceImpl ?:? While trying to ping LDAP server failed to get initial directory context URL=ldaps://<host name>:<port> Security=ssl AuthenticationMode= Chase Referrals=0 User Key=uid
javax.naming.CommunicationException: <host name>:<port> [Root exception is Error constructing implementation (algorithm: Default, provider: SunJSSE, class:$DefaultSSLContext)]


The issue can be reproduced at will with the following steps:

  1. Browse to the P6 Web login page and login.
  2. Note the reported issue.




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

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

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