Error: "While trying to ping LDAP server failed to get initial directory context; Root exception is java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation" Logging Into P6 Using LDAP SSL (Doc ID 2129576.1)

Last updated on MAY 12, 2016

Applies to:

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

Symptoms

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 java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$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

Cause

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