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:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to