java.sql.SQLException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I don't conenct to my MS sql server 2000
    via by Anonymous,
  • Connecting to SQLServer 2000
    via by Quinten,
  • error in connecting sql server
    via symmetricds by pli2133
    ,
  • ClassNotFoundException
    via jtds by ultramods
    ,
  • When JIRA connects to an external system to import from, if the connection fails it logs: {noformat} 2007-02-16 08:22:22,572 ERROR [web.action.util.DatabaseConnectionBean] Error occurred while connecting to the database. java.sql.SQLException: Network error IOException: Connection timed out: connect at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:372) at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50) at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178) at java.sql.DriverManager.getConnection(DriverManager.java:525) at java.sql.DriverManager.getConnection(DriverManager.java:193) at com.atlassian.jira.web.action.util.DatabaseConnectionBean.getConnection(DatabaseConnectionBean.java:112) at com.atlassian.jira.web.action.util.DatabaseConnectionBean.isValid(DatabaseConnectionBean.java:127) at com.atlassian.jira.web.action.util.DatabaseConnectionBean.validateConnection(DatabaseConnectionBean.java:307) at com.atlassian.jira.web.action.util.fogbugz.ConfigureFogBugzMapping.doStart(ConfigureFogBugzMapping.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) {noformat} It would be helpful to print the connection details (JDBC URL, user address) in a debug statement just before the connect, so we've got a better chance of debugging the problem.
    via by Mario Giacomino [Atlassian],
  • When JIRA connects to an external system to import from, if the connection fails it logs: {noformat} 2007-02-16 08:22:22,572 ERROR [web.action.util.DatabaseConnectionBean] Error occurred while connecting to the database. java.sql.SQLException: Network error IOException: Connection timed out: connect at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:372) at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50) at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178) at java.sql.DriverManager.getConnection(DriverManager.java:525) at java.sql.DriverManager.getConnection(DriverManager.java:193) at com.atlassian.jira.web.action.util.DatabaseConnectionBean.getConnection(DatabaseConnectionBean.java:112) at com.atlassian.jira.web.action.util.DatabaseConnectionBean.isValid(DatabaseConnectionBean.java:127) at com.atlassian.jira.web.action.util.DatabaseConnectionBean.validateConnection(DatabaseConnectionBean.java:307) at com.atlassian.jira.web.action.util.fogbugz.ConfigureFogBugzMapping.doStart(ConfigureFogBugzMapping.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) {noformat} It would be helpful to print the connection details (JDBC URL, user address) in a debug statement just before the connect, so we've got a better chance of debugging the problem.
    via by Mario Giacomino [Atlassian],
    • java.sql.SQLException: Network error IOException: Connection refused: connect at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:372) at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50) at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178) at org.orm.ertodb.DriverWrapper.connect(DriverWrapper.java:27) at java.sql.DriverManager.getConnection(UnknownSource) at java.sql.DriverManager.getConnection(UnknownSource)

    Users with the same issue

    odd
    41 times, last one,
    abrazeneb
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    8 more bugmates