Bug 1171292 - tomcat package is missing extras/tomcat-juli.jar and extras/tomcat-juli-adapters.jar required for log4j
Summary: tomcat package is missing extras/tomcat-juli.jar and extras/tomcat-juli-adapt...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: tomcat
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ivan Afonichev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1133070
TreeView+ depends on / blocked
 
Reported: 2014-12-05 20:28 UTC by Jason Woods
Modified: 2019-09-26 15:21 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-09-26 15:21:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jason Woods 2014-12-05 20:28:09 UTC
Description of problem:
Stock tomcat6 packages provide the extras required to run tomcat6 with log4j.

tomcat6-lib-6.0.24-78.el6_5.noarch : Libraries needed to run the Tomcat Web container
Repo        : main-updates
Matched from:
Filename    : /usr/share/java/tomcat6/extras/tomcat-juli.jar
Filename    : /usr/share/java/tomcat6/tomcat-juli.jar
Filename    : /usr/share/java/tomcat6/extras/tomcat-juli-adapters.jar

These extras are not packages in the tomcat 7 packages in EPEL. This means that the package can not reliably be used with log4j, as the extras have to be downloaded manually, and will have to be manually upgraded on each subsequent minor release update from EPEL. Ideally the tomcat package should reflect the tomcat6 package and include the extras required to function with log4j (the full tomcat-juli.jar and tomcat-juli-adapters.jar)

Version-Release number of selected component (if applicable):
tomcat7-7.0.33

How reproducible:
Always

Steps to Reproduce:
1. Run: repoquery -l tomcat6-lib
2. Run: repoquery -l tomcat-lib
3. Compare output - the tomcat-lib package is missing extras/tomcat-juli.jar and extras/tomcat-juli-adapters.jar

Actual results:
The tomcat-lib package is missing extras/tomcat-juli.jar and extras/tomcat-juli-adapters.jar

Expected results:
The tomcat-lib package contains extras/tomcat-juli.jar and extras/tomcat-juli-adapters.jar

Additional info:
N/A

Comment 1 Coty Sutherland 2016-02-02 20:29:43 UTC
https://github.com/csutherl/fedora-tomcat/commit/632f1f9

To configure log4j in the service wrapper; update LOGGING_PROPERTIES in tomcat.conf to point to the lib/log4j.properties config file and then follow https://tomcat.apache.org/tomcat-7.0-doc/logging.html#Using_Log4j. The configuration must be in lib, or on the classpath to get loaded.

Comment 2 Coty Sutherland 2016-02-02 20:31:09 UTC
Note: the tomcat-juli.jar and tomcat-juli-adapters.jar files came from the 7.0.65 distribution of tomcat. If the rebase doesn't pass QA, then these jars may need to change.

Comment 3 Ivan Afonichev 2016-02-05 15:26:25 UTC
We cannot include binaries as Sources. Also we cannot build it as they just rebranding commons packages: see https://bugzilla.redhat.com/show_bug.cgi?id=1236297

Comment 4 Mike McCune 2016-03-28 22:44:25 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 5 Coty Sutherland 2016-03-29 17:55:58 UTC
Moving it back to NEW per comment #3.

Comment 6 Coty Sutherland 2019-09-26 15:21:21 UTC
Closing per c#3.


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