Posted on 2 Comments

Tomcat 7 Fails to load Resource Factory class

Tomcat Logo

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.