Bug 2244333 - Wrong dbcp class in tomcat 9
Summary: Wrong dbcp class in tomcat 9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tomcat
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: huwang
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-16 02:42 UTC by huwang
Modified: 2023-10-16 04:58 UTC (History)
6 users (show)

Fixed In Version: tomcat-9.0.82-1.fc40
Clone Of:
Environment:
Last Closed: 2023-10-16 04:58:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description huwang 2023-10-16 02:42:47 UTC
File tomcat.conf contains:

JAVA_OPTS="-Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory"

It should be:

JAVA_OPTS="-Djavax.sql.DataSource.Factory=org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory"

The dbcp class does not exist in TC 9, which switch to dbcp2.


Reproducible: Always

Comment 1 Fedora Update System 2023-10-16 03:41:45 UTC
FEDORA-2023-9b0e68afc4 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-9b0e68afc4

Comment 2 Fedora Update System 2023-10-16 04:58:10 UTC
FEDORA-2023-9b0e68afc4 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.