1. the jar should be placed in 'webapps/yourwebapp/WEB-INF/lib'
2. the jar should not be corrupted (check if it's ok) - It happened a few times that jar was corrupted (mm.mysql-2.0.4-bin.jar) so when I looked inside archive nothing was there...
3. I don'y use mysql-connector, but plain "mm.mysql-2.0.4-bin.jar" so check also if packages are correct!

Good luck!


Curley, Thomas wrote:

Hi,

While trying to load mysql driver :

Shared Class Loader:
on 4.0.5 - I placed mysql 'mysql-connector-java-2.0.14-bin.jar' in $CATALINA_HOME/lib but still got - Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'
on 4.1.12 - I placed mysql 'mysql-connector-java-2.0.14-bin.jar' in $CATALINA_HOME/shared/lib but still got - Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver'

Common Class Loader:
on 4.0.5 $CATALINA_HOME/common/lib - the common class loader works - Why is this ? - is the doc wrong or am I mssing a step


thanks
Thomas















--
To unsubscribe, e-mail:
For additional commands, e-mail:

--
Cristian D. Romanescu
alternative: cristian at qdrei.de
mobile     : +40745133096

--- "Pauca sed matura" - Gauss' motto ---


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to