Arch Linux

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!
Tasklist

FS#38787 - [tomcat8] tomcat-dbcp.jar is missing class files

Attached to Project: Arch Linux
Opened by Marius (65kid) - Tuesday, 04 February 2014, 11:43 GMT
Last edited by Guillaume ALAUX (galaux) - Tuesday, 04 February 2014, 21:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Guillaume ALAUX (galaux)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

My webapp crashes on tomcat8 when trying to connect to the database connection pool with:

java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory

The complete package org.apache.tomcat.dbcp.dbcp2 is indeed missing from /usr/share/tomcat8/tomcat-dbcp.jar. It does exist in the tomcat-dbcp.jar in the offical binary package, so this is not an upstream issue.

Also, the service file references syslog.target in After=, which should be removed. syslog.target has been obsolete for a long time.
This task depends upon

Closed by  Guillaume ALAUX (galaux)
Tuesday, 04 February 2014, 21:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  8.0.1-2
Comment by Guillaume ALAUX (galaux) - Tuesday, 04 February 2014, 20:59 GMT
About dbcp classes: the Jar is in the lib directory but as you say on the title, it lacks half of the classes. This is the result of the build from sources. This is now fixed.

Thanks for the syslog.target catch.

Loading...