Hi,

I had the same problem when I had to run Tomcat as a Win2K service. In fact 
I posted the problem here but I didn't get any satisfactory answers until 
went to the docs. Now here's what you do:
1. Edit the "wrapper.properties" file found in the conf directory of your 
Tomcat installation.

2. Add a line like this:
wrapper.class_path=$(wrapper.tomcat_home)\lib\driver.jar
(where driver is the name of your MySQL driver). Make sure the jar file is 
located in the lib directory - it could be anywhere actually, but that is 
how mine is.

3. Make sure the "wrapper.tomcat_home" property is set correctly. Mine is: 
wrapper.tomcat_home=c:\jboss_tomcat\tomcat

4. Restart the Tomcat service.

That's it!

Paul


>From: Warren Crossing <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: RE: MySQL Driver Problem on Win 2k
>Date: Mon, 23 Apr 2001 17:04:36 +1000
>
>sorry cant chat!!  but add the .jar file to the /tomcat/server/lib
>directory.. its the classpath classloader location.
>
>-----Original Message-----
>From: Evdin Ursan [mailto:[EMAIL PROTECTED]]
>Sent: Monday, 23 April 2001 4:44 PM
>To: [EMAIL PROTECTED]
>Subject: MySQL Driver Problem on Win 2k
>
>
>Hi All,
>
>
>Thank you for your answers until now. I have one more problem!
>I have MySQL 3.23.XXX installed on a Win 2000 system and I have TOMCAT
>3.2.1 running with no problems! If I start TOMCAT SERVICE and I try to
>connect throw a JSP page, I got an error like "org.gjt.mm.etc.... driver
>not found", but if I start TOMCAT manualy, I a have no problem!
>
>The org\gjt\mm\mysql\... subdir tree it's in a directory called JDBC and
>I've added "c:\JDBC" in my CLASSPATH.
>
>What's wrong?
>
>
>Evdin

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply via email to