Bug 2412302
| Summary: | Command tomcat-digest does not work | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marco Fargetta <mfargett> |
| Component: | tomcat | Assignee: | Dimitris Soumis <dsoumis> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 43 | CC: | akrajcik, alee, csutherl, dsoumis, ivan.afonichev, java-sig-commits, szappis |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| URL: | https://github.com/dogtagpki/pki/actions/runs/19042963645/job/54385194983#step:27:1 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-04-08 13:21:03 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
Marco Fargetta
2025-11-04 17:41:19 UTC
The postinstall operation that added the servlet.jar to /usr/share/java between F42 and F43/Rawhide was removed as part of larger cleanup in the spec file after updating from Tomcat 9 -> 10.1; see https://src.fedoraproject.org/rpms/tomcat/c/7237392?branch=f43. This is causing the failure because the BASE_JARS variable is using the now incorrect location value for the servlet jar in the script. Patch to fix is (I also removed commons-daemon which was also missing and throwing a warning): ``` # diff -rupN /usr/bin/tomcat-digest.orig /usr/bin/tomcat-digest --- /usr/bin/tomcat-digest.orig 2025-11-04 13:58:13.145926441 -0500 +++ /usr/bin/tomcat-digest 2025-11-04 13:58:39.928288758 -0500 @@ -34,7 +34,7 @@ export CLASSPATH MAIN_CLASS="org.apache.catalina.startup.Tool" BASE_FLAGS="-Dcatalina.home=\"$CATALINA_HOME\"" BASE_OPTIONS="" -BASE_JARS="commons-daemon tomcat/catalina servlet tomcat/tomcat-util tomcat/tomcat-coyote tomcat/tomcat-api tomcat/tomcat-util-scan" +BASE_JARS="tomcat/catalina tomcat/tomcat-servlet-api tomcat/tomcat-util tomcat/tomcat-coyote tomcat/tomcat-api tomcat/tomcat-util-scan" # Set parameters set_classpath $BASE_JARS ``` |