Tomcat 5 fails to start with a ClassNotFound exception at org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory in RHEL 5
Issue
- Following exceptions are thrown in catalina.out if a datasource is defined in tomcat .
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]
- Configuring tomcat mysql connection doesn't work with RHEL5 tomcat package.
Environment
- Red Hat Enterprise Linux (RHEL )5
- tomcat5-5.5.23
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
