Unable to connect to SQLServer 2008 database - Exception attempting to load Database driver
症状
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
...
原因
There is a known bug that prevents Fisheye from successfully connect to the DB (when using Java 1.6.29 + including 1.7).
ソリューション
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.
最終更新日 2018 年 7 月 31 日
Powered by Confluence and Scroll Viewport.