Comment 2 for bug 283852

Revision history for this message
Max (mjs510) wrote :

I'm trying to run a 3rd party, closed source application on my Ubuntu Tomcat install. When I try to start Tomcat with it installed, I get the following in catalina.out:

WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory]

I presume this means that the application is expecting to find the tomcat dbcp classes specifically and won't work with the commons ones. This application installs and runs perfectly using a downloaded Tomcat 6 install from tomcat.apache.org. The only way I could get it running using the Ubuntu Tomcat packages was to manually copy tomcat-dbcp.jar into the class path.