Sounds a lot like the problem I just had. It's been so long since I have
messed with jdbc, but if I recall correctly, the class files for jdbc aren't
part of the standard classes are they? If they aren't, and you have to
include them in your CLASSPATH environment variable, then you will have to
add those in manually to the wrapper.properties file in the \conf
subdirectory directory of Tomcat. It would look like:
wrapper.class_path=$(wrapper.java_home)\lib\whatever.jar
Add each entry from your CLASSPATH environment variable like the line above.
Apparently (as I have found out today), Tomcat will ignore your CLASSPATH
variable when run as a service.
Hope this helps you!
-Jeff
-Original Message-
From: rohit kamath [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 11:56 AM
To: [EMAIL PROTECTED]
Subject: jdk1.3.0_02 tomcat 3.2.1 jdbc problem
when I run tomcat as a nt service, I have problems connecting to the
database. It gives me jdbc not found error. But if I stop the service
and run it as an application it has no problems connecting to the database.
can anyone help.
Rohit
_
Get your FREE download of MSN Explorer at http://explorer.msn.com