Re: jdk1.3.0_02 tomcat 3.2.1 jdbc problem

2001-06-06 Thread Gary Dale

Could be one of two problems. When you run it as a service, it probably 
is running as system but when you run it as an app, it runs with your 
user id. Check the privieleges!

Or it could be the jdk1.3 problem. It won't run as a service - shuts 
down when you log off! I'm not sure it is fixed in jdk 1.3.2 but I'm 
using 1.2.x which doesn't have this problem.



rohit kamath wrote:

 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








RE: jdk1.3.0_02 tomcat 3.2.1 jdbc problem

2001-06-06 Thread Nibler Jeff R. (PDX1JRN)

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