Tomcat 7 Fails to load Resource Factory class

In case you get the exception Could not load resource factory class when trying to retrieve the Connection object from the JDBC connection resource pool based on the factory class org.apache.tomcat.jdbc.pool.DataSourceFactory make sure to check if tomcat-jdbc.jar is installed in the tomcat/lib directory. Please note that this file is not installed by default on most *nix systems. You can download tomcat-jdbc.jar from Maven or other sources.

2 thoughts on “Tomcat 7 Fails to load Resource Factory class”

  1. Pingback: Add Connection Pool with auto connection cleanup functionality for Tomcat 7 and MySQL | Matthias Kerstner

  2. Pingback: Add Connection Pool with auto connection cleanup functionality for Tomcat 7 and MySQL - Matthias Kerstner

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top