Hi! 1). If I run any of the following: digest.bat -a foo digest.bat -a md5 foo
I get foo:Sep 27, 2014 6:38:43 PM org.apache.catalina.startup.Tool main SEVERE: Exception calling main() method java.lang.IllegalStateException: Must call init() first at org.apache.tomcat.util.security.ConcurrentMessageDigest.digest(ConcurrentMessageDigest. java:71) at org.apache.catalina.realm.MessageDigestCredentialHandler.mutate(MessageDigestCredential Handler.java:168) at org.apache.catalina.realm.DigestCredentialHandlerBase.mutate(DigestCredentialHandlerBas e.java:121) at org.apache.catalina.realm.RealmBase.main(RealmBase.java:1550) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Tool.main(Tool.java:229) In both cases the stacktrace is identical. 2) If I run digest.bat without arguments, I get no output in return. Expected: To get some "usage" output. 3) Tomcat 8.0.14 release candidate is working correctly, I get the following With either one of the following commands digest.bat digest.bat foo I get: Usage: RealmBase -a <algorithm> [-e <encoding>] <credentials> With digest.bat -a md5 foo I get: foo:acbd18db4cc2f85cedef654fccc4a4d8 4) The current javadoc for RealmBase.main() says that algorithm (-a) is not required and "If not specified a default of SHA-512 will be used." I wonder whether that is justified. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org