Skip to Content.
Sympa Menu

freetds - MSSQL7.0 / WinNT / JBuilder2.0

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Greg Matthews" <gmatthews AT flex.com.au>
  • To: freetds
  • Subject: MSSQL7.0 / WinNT / JBuilder2.0
  • Date: Tue, 16 Mar 1999 20:5:39


Problem:

Can't seem to connect to MSSQL7.0 (final) from JBuilder 2.0, all running on
same machine, WinNT4.0 (service pack4).


Question:

Is this supposed to work at all? ( see stacktrace below ).
What am i doing wrong?


Details:

- code fully compiles under JBuilder 2.0 ( java 1.1.6 ).
- running some code which attempts to get a connection
gives a stacktrace.
- database url is "jdbc:freetds:sybase://greg:1433/db1";
where greg is the machine name, db1 is the database name.

StackTrace:

AppAccelerator(tm) 1.1.036 for Java (JDK 1.1), x86 version.
Copyright (c) 1998 Inprise Corp. All Rights Reserved.
java.sql.SQLException: Logon failed. Msg 195, Lvl 15, State 5, 'CHAINED'
is not a recognized option., Server GREG, Procedure , Line 1
0 connection are in use by this program
at com.internetcds.jdbc.tds.Connection.allocateTds(Compiled Code)
at com.internetcds.jdbc.tds.Connection.<init>(Compiled Code)
at com.internetcds.jdbc.tds.Driver.connect(Compiled Code)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:134)
at Common.getConnection(Common.java:17)
at Common.main(Common.java:25)

Thanks in advance
Greg.




Archive powered by MHonArc 2.6.24.

Top of Page