Red Hat Bugzilla – Bug 1248490
Last modified: 2015-11-01 19:19:37 EST
Description of problem:
This package is missing the tomcat-dbcp.jar. According to my research Redhat did not package tomcat-dbcp.jar with the latest tomcat 6 distribution and is expecting users to leverage the org.apache.commons.dbcp.BasicDataSourceFactory inside the commons-dbcp.jar. Well org.apache.commons.dbcp.BasicDataSourceFactory in commons-dbcp.jar has a bug and caused our application to become unresponsive. We fixed this issue by downloading the latest Tomcat6 distribution from the Apache website and copying the tomcat-dbcp.jar that comes with that distribution into our /tomcat6/libs directory. This is a known issue that you have fixed in your Tomcat 7 distribution but failed to fix properly in your Tomcat 6. Please pull the latest version of org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory from the Apache tomcat-dbcp.jar and get your tomcat6 package fixed.
Version-Release number of selected component (if applicable): 6.0.24
How reproducible: Establish a database connection to Oracle 11g using org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory in the commons-dbcp.jar of the Redhat Tomcat 6.0.24 package. Let the application sit for an hour or two and the application will become unresponsive.
Steps to Reproduce:
Correction: How reproducible: Establish a database connection to Oracle 11g using org.apache.commons.dbcp.BasicDataSourceFactory in the commons-dbcp.jar of the Redhat Tomcat 6.0.24 package. Let the application sit for an hour or two and the application will become unresponsive.
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.
DO NOT CLOSE THIS WITHOUT AN EXPLANATION AGAIN.
Steps to Reproduce:
1. Yum install tomcat 6 on RHEL 6
2. Notice that tomcat-dbcp.jar is missing from /tomcat/libs
3. Download the latest Tomcat 6 distro from Apache website
4. Install Apache distro of Tomcat 6 on RHEL 6
5. Notice that tomcat-dbcp.jar DOES exist in /tomcat/libs
6. Notice that the version of org.apache.commons.dbcp.BasicDataSourceFactory in the commons-dbcp.jar in the Redhat Tomcat 6 does not match the org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory in the Apache tomcat-dbcp.jar
Please clarify, is this bug report about Tomcat in Red Hat Enterprise Linux, or in Red Hat Software Collections?
Red Hat Enterprise Linux
If you have an active subscription, please log a support ticket. That will help us to get some added attention on this BZ and identify any workarounds that may be available in the short term.
Please close this bug. I'll be opening a case in the Redhat Customer portal.