Re: Deploying mysql-connector-java-5.1.7-bin.jar in /WEB-INF/lib

2008-12-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iñigo, Iñigo Mediavilla Saiz wrote: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.gjt.mm.mysql.Driver' Others have answered your original question. Note that Connector/J has used the com.mysql.jdbc.Driver

Deploying mysql-connector-java-5.1.7-bin.jar in /WEB-INF/lib

2008-11-23 Thread Iñigo Mediavilla Saiz
When I try to access to a Database through the connector it fails if I leave it inside WEB-INF\lib, but everything works if I copy the jar in the lib folder of the apache distribution. Is there any other way to let a web app access to a lib without having to copy the jar in apache\lib? I'm using

Re: Deploying mysql-connector-java-5.1.7-bin.jar in /WEB-INF/lib

2008-11-23 Thread Mark Thomas
Iñigo Mediavilla Saiz wrote: When I try to access to a Database through the connector it fails if I leave it inside WEB-INF\lib, but everything works if I copy the jar in the lib folder of the apache distribution. Is there any other way to let a web app access to a lib without having to copy

Re: Deploying mysql-connector-java-5.1.7-bin.jar in /WEB-INF/lib

2008-11-23 Thread Michael Ludwig
Iñigo Mediavilla Saiz schrieb am 23.11.2008 um 11:08:52 (+): When I try to access to a Database through the connector it fails if I leave it inside WEB-INF\lib, but everything works if I copy the jar in the lib folder of the apache distribution. Putting the driver in WEB-INF/lib only

Re: Deploying mysql-connector-java-5.1.7-bin.jar in /WEB-INF/lib

2008-11-23 Thread Michael Ludwig
Mark Thomas schrieb am 23.11.2008 um 11:25:43 (+): Iñigo Mediavilla Saiz wrote: [Tomcat 6] When I try to access to a Database through the connector it fails if I leave it inside WEB-INF\lib, but everything works if I copy the jar in the lib folder of the apache distribution. Is there

Re: Deploying mysql-connector-java-5.1.7-bin.jar in /WEB-INF/lib

2008-11-23 Thread Mark Thomas
Michael Ludwig wrote: Mark Thomas schrieb am 23.11.2008 um 11:25:43 (+): Iñigo Mediavilla Saiz wrote: [Tomcat 6] When I try to access to a Database through the connector it fails if I leave it inside WEB-INF\lib, but everything works if I copy the jar in the lib folder of the apache