Application deployed to an appspace with group persistence throws the error, "driver not found" in spite of deploying the DB driver correctly to the runtime.

Application deployed to an appspace with group persistence throws the error, "driver not found" in spite of deploying the DB driver correctly to the runtime.

book

Article ID: KB0094465

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
The "bwinstall oracle-driver" command is executed with success.The AppSpace and AppNode runs without issue.
Symptoms:

The following error will be logged to the In the bwappnode.log file.

+++++++++

2016-01-28 16:23:55.381 ERROR [CM Configuration Updater (Update: pid=bw.resource.jdbc.5e678e5e-c181-4512-8724-9c47df1a4fc0)] c.t.b.s.r.d.ReferenceDependency - TIBCO-BW-SR-FRWK-503000: Unable to start SharedResource [Main_DB_config] for BWEngine [bw.engine.Main:1.0]. <Reason>: TIBCO-BW-SR-JDBC-500003: The database driver [oracle.jdbc.driver.OracleDriver] is not found.  Ensure that DataSourceFactory bundle providing this driver is available in the environment.

+++++++++


Cause:
Incorrect driver name is configured in the appspace config file for group persistence.

Issue/Introduction

Application deployed to an appspace with group persistence throws the error, "driver not found" in spite of deploying the DB driver correctly to the runtime.

Resolution

Edit the following property in the appspace config.ini file and restart the appspace to resolve this issue.


From:


bw.engine.db.jdbcDriver=oracle.jdbc.driver.OracleDriver 


To:


bw.engine.db.jdbcDriver=oracle.jdbc.OracleDriver