After applying modifications for using good libraries, it works very well. Thanks a lot for your explanation and solution.
Emmanuel. >>Connection.isValid() is a JDBC4 method and hence is only available in >>Java 6. >>Tomcat 6 has to work with Java 5 and therefore ships with a database >>connection pooling implementation for Java 5 that implements JBDC 3, not >>JDBC 4. >>To use JDBC 4 methods, you'll need to do the following: >>- Add commons-dbcp 1.4 to $CATALINA_HOME/lib >>- Add commons-pool 1.5.5 to $CATALINA_HOME/lib >>- Change your resource definition to include the following attribute: >> factory="org.apache.commons.dbcp.BasicDataSourceFactory" >>Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://old.nabble.com/Tomcat-6---Mysql---connection-Pool-isValid-Method-Error-tp30308901p30329924.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org