Java.lang.ClassNotFoundException: Oracle.jdbc.driver.OracleDriver Errors Applying 8.0.1 PFT Patch (Doc ID 2080612.1)

Last updated on MARCH 10, 2017

Applies to:

Oracle Financial Services Funds Transfer Pricing - Version 8.0.1 and later
Oracle Financial Services Profitability Management - Version 8.0.1 and later
Oracle Financial Services Asset Liability Management - Version 8.0.1 and later
Oracle Financial Services Hedge Management and IFRS Valuations - Version 8.0.1 and later
Oracle Financial Services Analytical Applications Infrastructure - Version 8.0.1 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)
Oracle Financial Services Analytical Applications Infrastructure (OFSAAI)
Oracle Financial Services Profitability Management (PFT)
Oracle Financial Services Funds Transfer Pricing (FTP)
Oracle Financial Services Asset Liability Management (ALM)
Oracle Financial Services Hedge Management and IFRS Valuations (HM/IFRS)

Symptoms

When attempting to run the 8.0.1 PFT pack application installer, the following error occurs:

ERROR

[Thu 12/11/2015 03:54:07] [OFS_PFT] [ INFO] - **************** WELCOME TO OFS_PFT ~~ 8.0.1.0.0 PATCH **************
[Thu 12/11/2015 03:54:07] [OFS_PFT] [DEBUG] - in DB Manager : oracle.jdbc.driver.OracleDriver : ********* : confasg : jdbc:oracle:thin:@mybankl:1521:orcl
[Thu 12/11/2015 03:54:07] [OFS_PFT] [FATAL] - =====Exception====
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:191)
at com.ofss.fsgbu.patch.common.DBManager.Init(DBManager.java:56)
at com.ofss.fsgbu.patch.common.DBManager.(DBManager.java:46)
at com.ofss.fsgbu.patch.install.InitializeEnvDetails.(InitializeEnvDetails.java:46)
at com.ofss.fsgbu.patch.install.ApplyPatch.main(ApplyPatch.java:203)
[Thu 12/11/2015 03:54:07] [OFS_PFT] [FATAL] - =====Exception====
java.lang.NullPointerException
at com.ofss.fsgbu.patch.common.DBManager.GetQueryResults(DBManager.java:404)
at com.ofss.fsgbu.patch.install.InitializeEnvDetails.getInfodomName(InitializeEnvDetails.java:132)
at com.ofss.fsgbu.patch.install.InitializeEnvDetails.(InitializeEnvDetails.java:48)
at com.ofss.fsgbu.patch.install.ApplyPatch.main(ApplyPatch.java:203)


WORKAROUND
Explicity add $ORACLE_HOME/jdbc/lib/ojdbc7.jar so that the variable JAR_LIST was set here OFS_PFT_PACK/bin/install.sh on line 102.

The issue can be reproduced at will with the following steps:
1. Download 8.0.1 PFT application pack installer
2. Execute OFSAAIUpdate.sh file using the following command.
./OFSAAIUpdate.sh

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