PFT Install Fails with 'java.lang.ClassNotFoundException' When Using JDBC Connection String with Service Name

(Doc ID 2060271.1)

Last updated on MARCH 13, 2017

Applies to:

Oracle Financial Services Asset Liability Management - Version 8.0.0 and later
Oracle Financial Services Profitability Management - Version 8.0.0 and later
Oracle Financial Services Funds Transfer Pricing - Version 8.0.0 and later
Oracle Financial Services Analytical Applications Infrastructure - Version 8.0.0 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)

Symptoms

When installing Oracle Financial Services Profitability Management (PFT) or Asset Liability Management (ALM) 8.0 pack, you get an error when using a JDBC Connection String that contains the "Service" name required when using a pluggable 12c Oracle Database (PDB) with the multitenant option.  The following error occurs in the OFS_PFT_installation.log:

[Mon  24/8/2015 10:39:00] [OFS_PFT] [ INFO] - ----------END InitializeEnvVariables---------
[Mon  24/8/2015 10:39:00] [OFS_PFT] [DEBUG] - in DB Manager :  : ********* : configuser : jdbc:oracle:thin:@servername:1521/servicename
[Mon  24/8/2015 10:39:00] [OFS_PFT] [FATAL] - =====Exception====
java.lang.ClassNotFoundException:
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:191)
    at com.ofss.fsgbu.installer.common.DBManager.Init(DBManager.java:56)
    at com.ofss.fsgbu.installer.common.DBManager.<init>(DBManager.java:46)
    at com.ofss.fsgbu.installer.preinstall.ValidityTest.install(ValidityTest.java:78)
etc.

If you change the JDBC Connection String to the format below, you get a different error running the Schema Creation utility:

jdbc:oracle:thin:@servername:1521:servicename

[Mon  24/8/2015 05:26:53] [SCHEMAUTILITY] [ INFO] - Validating Connection URL ...jdbc:oracle:thin:@servername:1521:servicename
[Mon  24/8/2015 05:26:53] [SCHEMAUTILITY] [ERROR] - Exception while connecting to DB User sys as sysdba on jdbc:oracle:thin:@servername:1521:servicename
[Mon  24/8/2015 05:26:53] [SCHEMAUTILITY] [ERROR] -
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

As a result of these errors, you cannot run the installer with the pluggable 12c Oracle Database.

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