Comment 5 for bug 283852

Revision history for this message
Richard Andreu (randreu) wrote :

In Tomcat 5.5 the default database connection pool factory class is 'org.apache.commons.dbcp.BasicDataSourceFactory', included in commons-dbcp.jar. So, the applications that didn't specify the dbcp factory class (the great majority, I guess) worked with no problems using tomcat 5.5 without tomcat-dbcp.jar in the 'commons/lib' folder. The problem is that starting from Tomcat 6, the default database connection pool factory class is 'org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory' included in tomcat-dbcp.jar, so all the applications that expects to work with Tomcat's default database connection pool factory will fail if tomcat-dbcp.jar is not in the classpath.