Re: java.sql.SQLException: No suitable driver found for in tomcat 6.0.35, is the class loading changed?

2012-02-08 Thread Florian Desbois
Thanks, it was that ! I missed the mysql driverClass in the dataSource. Strange that with tomcat 6.0.33 i haven't the problem. > its about the driveru have to provide the correct driver available > for connection > for eg > > com.mysql.jdbc.Driver > > and the url for connection -- View this

Re: java.sql.SQLException: No suitable driver found for in tomcat 6.0.35, is the class loading changed?

2012-02-08 Thread Anshul katta
its about the driveru have to provide the correct driver available for connection for eg com.mysql.jdbc.Driver and the url for connection On 2/8/12, Florian Desbois wrote: > Hello, > > I have the same issue with c3p0 0.9.1.2. Even if i put the mysql-connector > inside the webapp (instead of

Re: java.sql.SQLException: No suitable driver found for in tomcat 6.0.35, is the class loading changed?

2012-02-08 Thread Florian Desbois
Hello, I have the same issue with c3p0 0.9.1.2. Even if i put the mysql-connector inside the webapp (instead of CATALINA_HOME/lib), the issue appears. I also tried to put both c3p0 and mysql-connector in CATALINA_HOME/lib but the same problem occurs. There is no issue when using tomcat 6.0.33. I

Re: java.sql.SQLException: No suitable driver found for in tomcat 6.0.35, is the class loading changed?

2011-12-25 Thread Konstantin Kolinko
2011/12/17 Frank Zhang : > Hi All: >                Our code is using apache dbcp library and mysql-connector as > JDBC driver other than tomcat own tomcat-dbcp.jar. we always put > mysql-connector at CATALINA_HOME/lib while put commons-dbcp-1.4.jar > at CATALINA_HOME/webapps/client/WEB-INF/lib/.

Re: java.sql.SQLException: No suitable driver found for in tomcat 6.0.35, is the class loading changed?

2011-12-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank, On 12/16/11 7:49 PM, Frank Zhang wrote: > Our code is using apache dbcp library and mysql-connector as JDBC > driver other than tomcat own tomcat-dbcp.jar. Are you attempting to use the classes in tomcat-dbcp.jar directly? Or, do you just mea

java.sql.SQLException: No suitable driver found for in tomcat 6.0.35, is the class loading changed?

2011-12-16 Thread Frank Zhang
Hi All: Our code is using apache dbcp library and mysql-connector as JDBC driver other than tomcat own tomcat-dbcp.jar. we always put mysql-connector at CATALINA_HOME/lib while put commons-dbcp-1.4.jar at CATALINA_HOME/webapps/client/WEB-INF/lib/. This worked fairly well in tomcat