My Oracle Support Banner

Error: "Primavera P6 was configured to use a different authentication mode than the database selected" and "Invalid byte 2 of 3-Byte UTF-8 sequence" in P6WebAccess.html Log When Trying to Login Using LDAP Authentication (Doc ID 2264841.1)

Last updated on NOVEMBER 30, 2018

Applies to:

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

Symptoms

When attempting to login to P6 Web, the following error occurs.

Primavera P6 was configured to use a different authentication mode than the database selected

In addition, the following errors are generated in the P6WebAccess.html log file:

org.xml.sax.SAXParseException; systemId: file:///C:/Oracle/Middleware/Oracle_Home/user_projects/domains/PrimaveraP6EPPM/WINDOWS-1252; lineNumber: 7; columnNumber: 80; Invalid byte 2 of 3-byte UTF-8 sequence.
  at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
  at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
  at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:150)
  at com.primavera.infr.db.SQLConnectionPoolMgrImpl.a(Unknown Source)
  ...............................................................................................
  at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
  at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
  at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
  at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:548)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

And

com.primavera.common.exceptions.InvalidAuthenticationModeException: Invalid database instance. The database is not setup to use the authentication mode selected: LDAP:NATIVE
  at com.primavera.bo.common.LoginHelper.login(Unknown Source)
  at com.primavera.bo.common.LoginHelper.login(Unknown Source)
  at com.primavera.bo.remotable.SessionLifetime.login(Unknown Source)
  ...............................................................................................
  at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
  at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
  at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

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
References


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