When using Oracle thick client, DB based Admin server or Hawkagent fails to start with "java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver" error.
book
Article ID: KB0091957
calendar_today
Updated On:
Products
Versions
TIBCO Administrator
-
Not Applicable
-
Description
Resolution:
Check the following.
1). The correct full path to the JAR file for the driver has been added to tibco.class.path.extended in tibcoadmin_<DomainName>.tra and Hawkagent_<DomainName>.tra .
Note that if the driver path is not set, then you have not followed the steps to Configure Vendor Supplied Database Drivers found in TIBCO Runtime Agent Upgrade Guide -> Chapter 1 Upgrading to Release 5.x : Configuring Vendor-supplied Database Drivers.
Keep your vendor-supplied driver (including the driver for DB2) in a separate directory from the DataDirect drivers. Do not keep them in the TIBCO_HOME/tpcl/5.6/jdbc directory.
2). On some operating system for Oracle Thick client, make sure the environment variable ORACLE_HOME has been set in the Admin process owner's environment. Alternatively you may add tibco.env.ORACLE_HOME to tibcoadmin_<DomainName>.tra and Hawkagent_<DomainName>.tra .
If the above does not address the issue, reinstalling the Oracle client may help.
Issue/Introduction
When using Oracle thick client, DB based Admin server or Hawkagent fails to start with "java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver" error.