Bug 1240279
Summary: | The command tomcat-digest doesn't work with RHEL 7 | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Pankaj Degave <pdegave> | |
Component: | tomcat | Assignee: | Coty Sutherland <csutherl> | |
Status: | CLOSED ERRATA | QA Contact: | fgoldefu | |
Severity: | medium | Docs Contact: | Lucie Vařáková <lmanasko> | |
Priority: | medium | |||
Version: | 7.0 | CC: | fgoldefu, mbabacek, rhatlapa | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Release Note | ||
Doc Text: |
Fix for *tomcat-digest* to generate password hashes
When using the *tomcat-digest* utility to create an SHA hash of Tomcat passwords, the command terminated unexpectedly with the *ClassNotFoundException* Java exception. A patch has been provided to fix this bug and *tomcat-digest* now generates password hashes as expected.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1364056 1364068 (view as bug list) | Environment: | ||
Last Closed: | 2016-11-03 21:09:08 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1203710, 1298191, 1313485, 1364056, 1364068 |
Description
Pankaj Degave
2015-07-06 12:29:25 UTC
Dear Filip, could you try to reproduce it with our JWS3 RHEL7 RPM and ZIP distro? The workaround is the fix and matches (mostly) what was done for JWS-232 :) Patch: # diff -rupN /usr/bin/tomcat-digest.orig /usr/bin/tomcat-digest --- /usr/bin/tomcat-digest.orig 2015-11-10 14:53:54.682000000 -0500 +++ /usr/bin/tomcat-digest 2015-11-10 14:52:53.539000000 -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" +BASE_JARS="commons-daemon tomcat/catalina servlet tomcat/tomcat-util tomcat/tomcat-coyote" # Set parameters set_classpath $BASE_JARS Test: # tomcat-digest -a md5 test test:098f6bcd4621d373cade4e832627b4f6 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-2599.html |