Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks | - |
Not Applicable | - |
An Application with a JDBC call procedure activity fails to start with the error "linkagerror." This is related to Oracle JDBC driver classes.
java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "com.tibco.bw.jdbc.datasourcefactory.oracle.OracleDataSourceFactory.createDataSource(Ljava/util/Properties;)Ljavax/sql/DataSource;" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, com/tibco/bw/jdbc/datasourcefactory/oracle/OracleDataSourceFactory, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for interface org/osgi/service/jdbc/DataSourceFactory have different Class objects for the type ory.oracle.OracleDataSourceFactory.createDataSource(Ljava/util/Properties;)Ljavax/sql/DataSource; used in the signature
at java.lang.Class.getDeclaredConstructors0(Native Method)
++++++
Review the following locations for the existence of unnecessary JAR files.
- <BW_HOME>\bw\6.x\config\design\thirdparty
- <BW_HOME>\bw\6.x\config\drivers\shells\jdbc.oracle.runtime\runtime\plugins\com.tibco.bw.jdbc.datasourcefactory.oracle\lib
- <BW_HOME>\bw\6.x\system\lib
Ensure that only ojdbc*.jar files are present for the Oracle driver. You will need to reprovision the driver using "bwadmin install oracle-driver" after deleting unwanted files.