Application startup fails withNoClassDefFoundError for Oraclerelated classes.
book
Article ID: KB0094189
calendar_today
Updated On:
TIBCO ActiveMatrix BusinessWorks
|
-
|
Not Applicable
|
-
|
Description
Description:
Application startup fails with NoClassDefFoundError for Oracle related classes.
Symptoms:
The following exception is logged to console while starting up the application in Studio.
+++++++++++++
!ENTRY com.tibco.bw.jdbc.datasourcefactory.oracle 4 0 2015-10-28 10:41:00.238
!MESSAGE [TIBCO BW Oracle DataSource Factory(97)] Error during instantiation of the implementation object
!STACK 0
java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
..
Cause: Driver JARs missing in runtime.
Resolution
Do "bwinstall oracle-driver" to push the driver to runtime. First put the JAR file at the following location.
<<BW_HOME>>\bw6\bw\6.2\config\drivers\shells\jdbc.oracle.runtime\runtime\plugins\com.tibco.bw.jdbc.datasourcefactory.oracle\lib
Then run the following command to install it into runtime.
"<<BW_HOME>>\bw6\bw\6.2\bin\bwinstall oracle-driver "
Issue/Introduction
Application startup fails withNoClassDefFoundError for Oraclerelated classes.
Feedback
thumb_up
Yes
thumb_down
No