Unable to connect to SQLServer 2008 database - Exception attempting to load Database driver

Still need help?

The Atlassian Community is here for you.

Ask the community

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

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.