Bug 2244337 - Wrong dbcp class in tomcat 9
Summary: Wrong dbcp class in tomcat 9
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: tomcat
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Dimitris Soumis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-16 03:54 UTC by huwang
Modified: 2024-05-28 15:30 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-28 15:30:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description huwang 2023-10-16 03:54:34 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 Admin user for bugzilla script actions 2024-05-23 00:31:29 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Dimitris Soumis 2024-05-28 15:30:20 UTC
Fix included in 9.0.83 release.


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