Tomcat 5 fails to start with a ClassNotFound exception at org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory in RHEL 5

Solution Verified - Updated -

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]

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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.