'Error creating a database connection: Cannot initiate JDBC driver with class name oracle jdbc Oracle Driver' is returned while accessing TIBCO Spotfire configuration tool.
book
Article ID: KB0076607
calendar_today
Updated On:
Products
Versions
Spotfire Server
7.5 and higher
Description
After importing the Spotfire configuration tool from a Spotfire server (installation dir>/tomcat/webapps/spotfire/tools/spotfireconfigtool.jar) and running it on a local computer, below error is seen while accessing bootstrap file after providing the correct configuration tool password.
Issue/Introduction
Error creating a database connection: Cannot initiate JDBC driver with class name oracle jdbc Oracle Driver, while opening the bootstrap on a local machine, after copying the "spotfireconfigtool.jar" from another server.
Resolution
This error is especially seen if the bootstrap created on the Spotfire server is using Oracle thin driver for Spotfire database. Generally, while importing the "installation dir>/tomcat/webapps/spotfire/tools/spotfireconfigtool.jar" file from Spotfire server machine to the Local computer, it is expected that only the following jar files are extracted under "spotfireconfigtool\lib" on the local machine.
Since 'ojdbc' jar file is not copied over to local computer, the above described error is seen only with Oracle drivers. To resolve this, copy the "ojdbc" jar file from Spotfire server machine to "spotfireconfigtool\lib" on the local machine, reopen the configuration tool via uiconfig.bat and enter the tool password. The bootstrap should come up without any errors.
Note: The same issue can be seen in case there is any data source driver other than the out-of-box ones used in the bootstrap. So, ensure that the corresponding jar file needs to be copied over to "spotfireconfigtool\lib" on the local machine.
Additional Information
Doc: Running the configuration tool on a local computer