Bug 2244333

Summary: Wrong dbcp class in tomcat 9
Product: [Fedora] Fedora Reporter: huwang <huwang>
Component: tomcatAssignee: huwang <huwang>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: alee, csutherl, gzaronikas, huwang, ivan.afonichev, java-sig-commits
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: tomcat-9.0.82-1.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-10-16 04:58:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.