You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Evdin Ursan <ev...@Aectra.ro> on 2001/04/23 12:00:50 UTC

Rãspuns: MySQL Driver Problem on Win 2k

Hi,


THANK YOU VERY MUCH! IT WORKED!


EVDIN

-----Mesaj original-----
De la: Paul Kofon [mailto:pkofon@hotmail.com]
Trimis: 23 aprilie 2001 10:50
Catre: tomcat-user@jakarta.apache.org
Subiect: SV: MySQL Driver Problem on Win 2k


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 <Wa...@nocode.com.au>
>Reply-To: tomcat-user@jakarta.apache.org
>To: "'tomcat-user@jakarta.apache.org'" <to...@jakarta.apache.org>
>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:evdin.ursan@Aectra.ro]
>Sent: Monday, 23 April 2001 4:44 PM
>To: tomcat-user@jakarta.apache.org
>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.