Bug 899401 (JBEWS-171)
| Summary: | 1.0.2.CR2 - Tomcat5 - NoClassDefFoundError for webapps consuming Tomcat's data source | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Web Server 1 | Reporter: | Juraci Paixão Kröhling <jcosta> | ||||
| Component: | unspecified | Assignee: | Permaine Cheung <pcheung> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | EWS 1.0.2 | CC: | akostadinov, dknox, jcosta, jlanik, msadhukh, pcheung | ||||
| Target Milestone: | --- | ||||||
| Target Release: | EWS 1.0.2 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://jira.jboss.org/jira/browse/JBEWS-171 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-05-22 21:22:00 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: | |||||||
| Attachments: |
|
||||||
|
Description
Juraci Paixão Kröhling
2011-05-02 14:45:49 UTC
Juca, is this related to JBPAPP-6036? Can we close one of these and leave the other to track DBCP resolution? Probably related, but they are not the same problem. I think this class is part of another jar, which is present in Tomcat6 lib directory but not in Tomcat 5. The other issue is, at least for my tests, affecting only Tomcat 6. I have this working in rhel-5-ep-5 (dist-5E-ep-5) for both rpm distro and zip by commenting +JAVA_OPTS="${JAVA_OPTS} -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory"
from /usr/bin/dtomcat5 (rpm distro) and catalina.sh (zip distro)
The zip distro packages tomcat-dbcp.jar where the rpm distro depends on commons-{pool,dbcp,collections}-tomcat5.jar. tomcat-dbcp.jar is a compilation of the latter three.
The webapp used for testing. metadata is for mysql Attachment: Added: DBTest.war Tested this with the jboss-ews-1.0.2 packages available at /JBEWS-1.0.2-CR2.I believe this is more of a packaging problem and not a real issue with tomcat 5 as I could not replicate the exception for jboss-ews-1.0.2-rhel4 and jboss-ews-1.0.2-rhel6 packages and it only turned up for jboss-ews-1.0.2-rhel5 for tomcat5.Also verified the presence of GenericObjectPool class within commons-pool.jar located in /jboss-ews-1.0/tomcat5/common/lib for rhel4 and rhel5 packages though it was missing in case of rhel5 package which correctly justifies the scenario. We rather need to check here why the rhel5 package for ews1.0.2 is different from the others. fixed and verified in tomcat5-5.5.33-14_patch_04.ep5.el6 and tomcat5-5.5.33-14_patch_04.ep5.el5. el4 will be fixed next fixed and verified in tomcat5-5.5.33-12_patch_04.ep5.el4 verified fixed in rhel-4, rhel-5, and jb-eap-5-rhel-6 Verified in EWS 1.0.2 CR3 Docs QE Status: Removed: NEW |