Bug 51561 - Missing tomcat-coyote.jar from classpath requirement on Realm HowTo page, digested passwords section
Missing tomcat-coyote.jar from classpath requirement on Realm HowTo page, dig...
Status: RESOLVED FIXED
Product: Tomcat 7
Classification: Unclassified
Component: Documentation
unspecified
All All
: P2 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
http://tomcat.apache.org/tomcat-7.0-d...
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2011-07-26 16:48 UTC by vizoere
Modified: 2011-07-27 09:13 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vizoere 2011-07-26 16:48:01 UTC
It appears that starting in version 7.0.16, HexUtils.class exists in tomcat-coyote.jar instead of its previous home, catalina.jar.

On page:  http://tomcat.apache.org/tomcat-7.0-doc/realm-howto.html

Under Common Features > Digested Passwords
Current text:

To use either of the above techniques, the following jar files will need to be on your class path to make the RealmBase class available: 

$CATALINA_HOME/bin/tomcat-juli.jar 
$CATALINA_HOME/lib/catalina.jar 
$CATALINA_HOME/lib/tomcat-util.jar 


Needs to be updated to also include:
$CATALINA_HOME/lib/tomcat-coyote.jar
Comment 1 Konstantin Kolinko 2011-07-26 23:39:15 UTC
or move HexUtils into tomcat-util.jar

If making any change, note, that HexUtils is referenced by SecurityClassLoad (r1144031).


Apparently this was caused by removing duplicate HexUtils class in r1132702. Sorry for that.
Comment 2 Mark Thomas 2011-07-27 06:49:54 UTC
Or use digest.sh|bat which handles this correctly. I'll update the docs to reference digest.bat|sh.
Comment 3 Mark Thomas 2011-07-27 09:13:49 UTC
This has been fixed in 7.0.x and will be included in 7.0.20 onwards.