Unable to connect to SQLServer 2008 database - Exception attempting to load Database driver
Symptoms
The following appears in your logs when testing the DB Connection
:
2012-07-19 09:12:23,736 ERROR [btpool0-14 ] fisheye.app DefaultDBControl-<init> - Unable to connect to SQLServer 2008 database jdbc:jtds:sqlserver://localhost:1433;databaseName=crucible;: java.sql.SQLException: Login failed for user 'sqladministrator'.
2012-07-19 09:12:46,092 WARN [btpool0-14 ] fisheye.app TestDBConnectionAjaxAction-checkDriverClass - Exception attempting to load Database driver
java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver
...
Cause
There is a known bug that prevents Fisheye from successfully connect to the DB (when using Java 1.6.29 + including 1.7).
Resolution
As a workaround, downgrade your Java version to 1.6.24 (which we have already tested and that is confirmed to work).
After that, restart your Fisheye (so it start using the 1.6.24 version) and try to connect to the DB again.
Last modified on Jul 31, 2018
Powered by Confluence and Scroll Viewport.