RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2207563 - Remove java-11-openjdk-headles as a tomcat dependency
Summary: Remove java-11-openjdk-headles as a tomcat dependency
Keywords:
Status: CLOSED DUPLICATE of bug 2173872
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: tomcat
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: huwang
QA Contact: tomcat-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-16 09:45 UTC by Marcin Skarbek
Modified: 2023-06-16 15:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-16 15:16:18 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-160096 0 None None None 2023-06-16 15:09:03 UTC

Description Marcin Skarbek 2023-05-16 09:45:54 UTC
Description of problem:
The Tomcat package drags java-11-openjdk-headles as a dependency despite Java 17 being installed on the host, which should be sufficient to run Tomcat. This unnecessarily increases container image size. Maybe a solution similar to the maven package could be added with tomcat-openjdk{8,11,17} packages adding correct dependencies.

Version-Release number of selected component (if applicable):
tomcat-9.0.62-11.el9.noarch

How reproducible:
Each time

Steps to Reproduce:
1. podman run -it registry.access.redhat.com/ubi9/ubi:9.2 bash -l
2. dnf install java-17-openjdk-headless
3. dnf install tomcat

Actual results:
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                               Architecture                        Version                                             Repository                                                     Size
===================================================================================================================================================================================================================
Installing:
 tomcat                                                noarch                              1:9.0.62-11.el9                                     rhel-9-for-x86_64-appstream-rpms                              100 k
Installing dependencies:
 ecj                                                   noarch                              1:4.20-11.el9                                       rhel-9-for-x86_64-appstream-rpms                              1.9 M
 java-11-openjdk-headless                              x86_64                              1:11.0.19.0.7-4.el9                                 rhel-9-for-x86_64-appstream-rpms                               40 M
 javapackages-tools                                    noarch                              6.0.0-4.el9                                         rhel-9-for-x86_64-appstream-rpms                               29 k
 tomcat-el-3.0-api                                     noarch                              1:9.0.62-11.el9                                     rhel-9-for-x86_64-appstream-rpms                              107 k
 tomcat-jsp-2.3-api                                    noarch                              1:9.0.62-11.el9                                     rhel-9-for-x86_64-appstream-rpms                               66 k
 tomcat-lib                                            noarch                              1:9.0.62-11.el9                                     rhel-9-for-x86_64-appstream-rpms                              5.8 M
 tomcat-servlet-4.0-api                                noarch                              1:9.0.62-11.el9                                     rhel-9-for-x86_64-appstream-rpms                              284 k

Transaction Summary
===================================================================================================================================================================================================================
Install  8 Packages


Expected results:
DNF installs Tomcat without Java 11 package.

Additional info:

Comment 1 Coty Sutherland 2023-06-16 15:16:18 UTC

*** This bug has been marked as a duplicate of bug 2173872 ***


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