You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Saqib Shaikh <ss...@essex.ac.uk> on 2001/12/09 07:50:41 UTC
Installing the MM MySQL driver
Hi,nk
I am using Tomcat 4.0. I want to install the MM MySQL driver from mmmysql.sf.net.
Firstly, in which directory should I put the file mm.mysql.jar? I was thinking of either the lib or the classes directory but wasn't sure.
Secondly, how should I change my classpath to include this driver?
Thanks very much, Saqib
secret KEY on tomcat.properties
Posted by louie miranda <lo...@chikka.com>.
[09/12/2001 06:52:04:738] (ERROR) wrapper: file
/usr/chikkajava/conf/tomcat.properties (line 34) security.secretKey
specified twice
[09/12/2001 06:52:04:738] (ERROR) an error returned initializing protocol
"wrapper"
[09/12/2001 06:52:04:738] (ERROR) in init all protocols "wrapper" returned
an error
[09/12/2001 06:52:04:738] (EMERGENCY) Error initializing protocols
Hi, i try to put
security.secretKey=DISABLED
btw, is this possible?
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Installing the MM MySQL driver
Posted by Paul DuBois <pa...@snake.net>.
>Hi,nk
>
>I am using Tomcat 4.0. I want to install the MM MySQL driver from
>mmmysql.sf.net.
>
>Firstly, in which directory should I put the file mm.mysql.jar? I
>was thinking of either the lib or the classes directory but wasn't
>sure.
webapps/application-directory/WEB-INF/lib if you want just that application
to see it
lib if you want all applications to see it
common/lib if you want all applications and Tomcat to see it (useful
if you do JDBC-based session or auth, since Tomcat handles those above
the application level)
>
>Secondly, how should I change my classpath to include this driver?
Tomcat 4 doesn't use CLASSPATH.
>
>Thanks very much, Saqib
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Installing the MM MySQL driver
Posted by Matt Egyhazy <mw...@virginia.edu>.
lib directory of your web application or one of the auto loaded directories
within the tomcat install...im not sure which is which with tomcat4 though.
hth
matt
----- Original Message -----
From: "Saqib Shaikh" <ss...@essex.ac.uk>
To: <to...@jakarta.apache.org>
Sent: Sunday, December 09, 2001 1:50 AM
Subject: Installing the MM MySQL driver
Hi,nk
I am using Tomcat 4.0. I want to install the MM MySQL driver from
mmmysql.sf.net.
Firstly, in which directory should I put the file mm.mysql.jar? I was
thinking of either the lib or the classes directory but wasn't sure.
Secondly, how should I change my classpath to include this driver?
Thanks very much, Saqib
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Installing the MM MySQL driver
Posted by Jayson Yu <yu...@philonline.com>.
Hi,
First you can try placing it in your
<TOMCATDIR>/webapps/<contextname>/WEB-INF/lib directory or if you're running
several contexts (all using the same mm.mysql driver), then you might want
to place it in the
<TOMCATDIR>/common/lib directory. If all things fail you can do the
following:
1) unjar the jar file mm.mysql-2.0.6.1.jar (or whatever version) in some
directory, for example:
jar x mm.mysql-2.0.6.1.jar
this will create a directory called "mm.mysql-2.0.6".
2) edit <TOMCATDIR>/bin/catalina.sh and look for the classpath definition,
you should see something like this:
# ----- Set Up The System Classpath -------------------------------------------
CP="$CATALINA_HOME/bin/bootstrap.jar"
add the real path of the unjar'd mysql driver and you should have something
like this:
# ----- Set Up The System Classpath -------------------------------------------
CP="$CATALINA_HOME/bin/bootstrap.jar":"/path/to/mysql/driver/mm.mysql-2.0.6"
3) restart tomcat.
hope this helps.
json
At 06:50 AM 12/9/01 +0000, you wrote:
>Hi,nk
>
>I am using Tomcat 4.0. I want to install the MM MySQL driver from
>mmmysql.sf.net.
>
>Firstly, in which directory should I put the file mm.mysql.jar? I was
>thinking of either the lib or the classes directory but wasn't sure.
>
>Secondly, how should I change my classpath to include this driver?
>
>Thanks very much, Saqib
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>