Skip to Content.
Sympa Menu

freetds - Free tds jdbc driver with Sybase ASA 6

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Helen Dale" <helen.dale AT media41.com>
  • To: freetds
  • Subject: Free tds jdbc driver with Sybase ASA 6
  • Date: Fri, 11 Aug 2000 7:11:23


I have been trying to connect to my ASA from a Java appli but get an SQL
Exception. What am I doing wrong? Can any one help me please?

This is what comes out

DriverManager.getConnection("jdbc:freetds:sybase://orion/infodata")
trying
driver[className=com.internetcds.jdbc.tds.Driver,com.internetcds.jdbc.tds.Driver@23a34e94]
java.sql.SQLException: Network error- Connection refused: no further
information
at
com.internetcds.jdbc.tds.Connection_base.<init>(Connection_base.java:188)
at com.internetcds.jdbc.tds.Connection_1_0.<init>(Connection_1_0.java:80)
at java.lang.reflect.Constructor.newInstance(Native Method)
at
com.internetcds.jdbc.tds.Constructors.newConnection(Constructors.java:296)
at com.internetcds.jdbc.tds.Driver.connect(Driver.java:257)
at java.sql.DriverManager.getConnection(DriverManager.java:457)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at router.LogThread.log(LogThread.java:100)
at router.LogThread.run(LogThread.java:68)
at router.LogServer.main(LogServer.java:35)

java.sql.SQLException: Network error- Connection refused: no further
information
at
com.internetcds.jdbc.tds.Constructors.newConnection(Constructors.java:300)

at com.internetcds.jdbc.tds.Driver.connect(Driver.java:257)

at java.sql.DriverManager.getConnection(DriverManager.java:457)

at java.sql.DriverManager.getConnection(DriverManager.java:137)

at smsrouter.LogThread.log(LogThread.java:100)

at smsrouter.LogThread.run(LogThread.java:68)

at smsrouter.LogServer.main(LogServer.java:35)

getConnection failed: java.sql.SQLException: Network error- Connection
refused: no further
information




Archive powered by MHonArc 2.6.24.

Top of Page