The mysql driver needs to be in common/lib or server/lib. The server classloader cannot see the shared classloader.

-Tim

Peter Ivarsson wrote:

Hi,

I have updated to:
Tomcat version 4.1.27
Java version 1.4.2_01
My driver is mysql-connector-java-3.0.9 placed in the folder
                                     \Tomcat 4.1\shared\lib

When I run it all in Eclipse it works fine.
But when I move it to a testserver i get the error below.

Thanks in advance

Apache Tomcat/4.1.27
Catalina.start: LifecycleException:  Exception opening database connection:
java.sql.SQLException: com.mysql.jdbc.Driver
LifecycleException:  Exception opening database connection:
java.sql.SQLException: com.mysql.jdbc.Driver
        at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:681)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3544)



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to