Bug 969023
Summary: | Tomcat7: ClassNotFoundException: org.apache.commons.dbcp.BasicDataSourceFactory | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Web Server 2 | Reporter: | Michal Haško <mhasko> |
Component: | tomcat7 | Assignee: | David Knox <dknox> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Libor Fuka <lfuka> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.0.1 | CC: | dknox, jclere, jdoyle, jstefl, mhusnain, myarboro, pslavice, rsvoboda, weli, zroubali |
Target Milestone: | --- | ||
Target Release: | 2.0.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://jira.jboss.org/jira/browse/JBEWS-178 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Due to incorrect naming for packages (<literal>o.a.tomcatdbcp</literal> instead of <literal>o.a.commons.dbcp</literal>) in the Red Hat Enterprise Linux distribution of the JBoss Enterprise Web Server files, an exception displayed when a lookup is attempted for a Tomcat JNDI datasource:
<screen>ClassNotFoundException: org.apache.commons.dbcp.BasicDataSourceFactory</screen>
The naming is now corrected and the correct class is located as expected in JBoss Enterprise Web Server 2.0.1.
|
Story Points: | --- |
Clone Of: | JBEWS-178 | Environment: | |
Last Closed: | 2014-01-03 12:58:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 900806 | ||
Bug Blocks: |
Description
Michal Haško
2013-05-30 13:50:49 UTC
tomcat7/catalina.sh from jboss-ews-application-servers-2.0.1-ER2-RHEL6-x86_64.zip contains: catalina.sh:JAVA_OPTS="${JAVA_OPTS} -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory" but tomcat7/lib/commons-dbcp-eap6.jar contains class: org/apache/tomcat/dbcp/dbcp/BasicDataSourceFactory.class Dave, could you please check this? Thanks! yes - i'll look into it again.... The same issue appeared on RHEL5 on 2.0.1-CR1. The issue is now present on all RHEL {5,6} and {i386,x86_64} combinations. the text looks ok. VERIFIED on EWS-2.0.1-CR3 RHEL5/6 i386/x86_64 Sun/Open/IBM JDK |