Skip to Content.
Sympa Menu

freetds - Re: java.sql.SQLException on Connection creation

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Leon Chakmakian <gregchak AT mac.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: java.sql.SQLException on Connection creation
  • Date: Thu, 16 Aug 2001 23:17:18 -0400

Okay, so here's my status. I tried the snapshot.jar file and I got a different error: No suitable driver found. I later tried re-downloading the file again just to make sure I didn't get a corrupt copy of the file and that didn't work. I tried to make a standalone java app, but I'm not sure how to do that; I come from a JSP type of application background. If you could send me a small sinipit of code to try out as a java app, I could test it that way. I feel like I'm doing something wrong that is really simple. I'm using Tomcat as my JSP engine and have the jar file in my tomcat/lib directory with is specified in my path. Any other ideas? Further below is the error I am getting

-greg



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(DriverManager.java:517)




On Thursday, August 16, 2001, at 09:24 AM, Curt Hagenlocher wrote:

Should I be using the freetds_jdbc.snapshot.jar file
instead?

Yes, probably, though I don't know that it would make a difference
in this case.

I'm not really sure where to go next.
I haven't tried it outside of my JSP environment mainly because I
don't have anything to try it out on. Any ideas?

Create a small source file with a main() function that does
nothing more than try to make a connection. Build that and
try to run it outside the JSP context and see if you get the
same error.

Which JSP environment are you using?

--
Curt Hagenlocher
curt AT hagenlocher.org

---
You are currently subscribed to freetds as: [gregchak AT mac.com]
To unsubscribe, forward this message to $subst('Email.Unsub')



Archive powered by MHonArc 2.6.24.

Top of Page