Skip to Content.
Sympa Menu

freetds - freetds_jdbc with jdk 1.3 Tomcat 3.2 on Windows 2000

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Janak Parekh" <jparekh AT wetfeet.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: freetds_jdbc with jdk 1.3 Tomcat 3.2 on Windows 2000
  • Date: Thu, 22 Mar 2001 21:58:41 -0500


I got the freetds_jdbc.snapshot.zip file from the download server,
compiled build_2_0_with_javac and placed the resultant freetds_jdbc.jar in
\Tomcat\lib. I also modified Tomcat.bat to add freetds_jdbc.jar to the
list of jars to be added to the classpath when tomcat is started; and
added c:\tomcat\lib\freetds_jdbc.jar to the classpath environment variable
in Windows 2000.

I'm using the following syntax to invoke the driver for SQL Server as
shown in the readme, in the javabean called by the jsp page:
try {
Class.forName("com.internetcds.jdbc.tds.Driver").newInstance();
return "Driver Loaded!";
} catch (Exception E) {
return "Unable to load driver.";

I get a "SQLException: No suitable driver."

When I look at the contents of the jar file, I don't see a driver.class
file. Has anyone had the same problem? I would really appreciate some
help.

Thanks,
Janak




  • freetds_jdbc with jdk 1.3 Tomcat 3.2 on Windows 2000, Janak Parekh, 03/22/2001

Archive powered by MHonArc 2.6.24.

Top of Page