Error: "While trying to ping LDAP server failed to get initial directory context; Root exception is Error constructing implementation" Logging Into P6 Using LDAP SSL

(Doc ID 2129576.1)

Last updated on NOVEMBER 03, 2017

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 message "Invalid Username or Password" is displayed, and the following error is 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://hostname:636 Security=ssl AuthenticationMode= Chase Referrals=0 User Key=uid
javax.naming.CommunicationException: hostname:636 [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
  2. Enter a User Name and Password
  3. Sign in and note the error which occurs on the login page UI, and the P6WebAccess.html log file


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 hundreds of Community platforms