Remote Mode API Connection Fails With Error "java.lang.NoClassDefFoundError: com/primavera/infr/db/InspectableDataSource", Preventing Internal Plugins From Launching When Using P6 Professional Through Cloud Connect (Doc ID 2112973.1)

Last updated on JULY 14, 2017

Applies to:

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

Symptoms

When attempting to launch an Internal Plugin application from P6 Professional, configured for Cloud Connect, the application fails to establish communication to the Remote Mode API deployment.

When testing one of the demo applications in the remote mode API home directory (for example, demogeneral.sh), "Failure to establish communication with the database." occurs when selecting Next after entering in a username and database, and the following error is generated in the terminal where the .sh script was launched:


The issue can be reproduced at will to confirm the remote mode API connection failure (utilized to confirm why the Internal Plugins are failing):

  1. Browse to the API home directory, P6EPPM_1/api
  2. Browse to the /lib directory and rename the file intgserver.jar to intgserver.jar.old
  3. Browse back to the root of the API home directory, P6EPPM_1/api
  4. Launch the demogeneral.sh script file
  5. On the Mode of Operation screen:
    • Select Remote for Calling Mode
    • Enter the IP Address for the RMI Server Host
    • Enter 9099 for the RMI Server Port
    • Select Standard for the RMI Service Type.
    • Select Next
  6. On the Login Information screen:
    • Enter a username of a P6 EPPM user
    • Leave the password empty (not utilized when API is set for SAML token Profile and database is set for SSO)
    • Select the database from the dropdown menu
    • Select Next
  7. Note the reported error which occurs.

Due to this issue, users cannot launch the Internal Plugins because the remote mode API connection is failing.

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