freetds_jdbc with jdk 1.3 Tomcat 3.2 on Windows 2000
Janak Parekh
jparekh at wetfeet.com
Thu Mar 22 21:58:41 EST 2001
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
More information about the FreeTDS
mailing list