Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#27693 - [tomcat7] tomcat7 packaging missing tomcat-dbcp.jar
Attached to Project:
Arch Linux
Opened by Bryce Nordgren (bnordgren) - Friday, 23 December 2011, 22:38 GMT
Last edited by Guillaume ALAUX (galaux) - Sunday, 01 April 2012, 11:44 GMT
Opened by Bryce Nordgren (bnordgren) - Friday, 23 December 2011, 22:38 GMT
Last edited by Guillaume ALAUX (galaux) - Sunday, 01 April 2012, 11:44 GMT
|
DetailsDescription:
The packaging for tomcat7 lacks the tomcat-dbcp.jar file. It has commons-dbcp.jar, but this is different, and the relevant classes are in a different package. This leads to a "ClassNotFound" exception when tomcat tries to establish a data source (e.g., when it tries to handle a <Resource ... /> element inside a <Context ... /> element.) Specifically, org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory cannot be located. I downloaded the binary distribution from Apache, and it includes tomcat-dbcp.jar but not commons-dbcp.jar. I attached a screenshot of the lib directory. Additional info: * package version(s) : 7.0.23-1 Steps to reproduce: 1] pacman -S tomcat7 2] ls /usr/share/tomcat7/lib (note absence of tomcat-dbcp.jar). |
This task depends upon
Closed by Guillaume ALAUX (galaux)
Sunday, 01 April 2012, 11:44 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 7.0.25-1
Sunday, 01 April 2012, 11:44 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 7.0.25-1
tomcat.png
The attached patch against the tomcat7 PKGBUILD resolves the issue on my machine.
The difference, however, is between the official Tomcat binary releases and the Arch packaging (which starts from source). :)