freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: problem creating new connection with FreeTDS_JDBC
- From: Bob Kline <bkline AT rksystems.com>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: problem creating new connection with FreeTDS_JDBC
- Date: Tue, 11 Jul 2000 14:13:39 -0400 (EDT)
On Tue, 11 Jul 2000, Ian Struble wrote:
> Class.forName("com.internetcds.jdbc.tds.Driver");
> con =
> DriverManager.getConnection("jdbc:freetds:sqlserver://sql.foo.com/Testing",
> "test_user", "test_password");
>
> And here is a little bit of the stack trace:
>
> Exception- java.lang.NullPointerException
> java.sql.SQLException
> at
> com.internetcds.jdbc.tds.Constructors.newConnection(Constructors.java:305)
> at com.internetcds.jdbc.tds.Driver.connect(Driver.java:257)
> at java.sql.DriverManager.getConnection(Unknown Source)
That stack trace is from a re-thrown exception. Try sticking in an
e.printStackTrace() in the catch statements just below line 305 in
Constructors.java and see what you get.
--
Bob Kline
mailto:bkline AT rksystems.com
http://www.rksystems.com
-
problem creating new connection with FreeTDS_JDBC,
Ian Struble, 07/11/2000
- <Possible follow-up(s)>
- Re: problem creating new connection with FreeTDS_JDBC, Bob Kline, 07/11/2000
- Re: problem creating new connection with FreeTDS_JDBC, Ian Struble, 07/11/2000
- RE: problem creating new connection with FreeTDS_JDBC, Edson Carlos Ericksson Richter, 07/11/2000
- Re: problem creating new connection with FreeTDS_JDBC, Bob Kline, 07/11/2000
- Re: problem creating new connection with FreeTDS_JDBC, Ian Struble, 07/13/2000
Archive powered by MHonArc 2.6.24.