tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Rogers <>
Subject Using Digest method of JDBCRealm
Date Wed, 09 May 2001 17:45:05 GMT
Hi All,

I'm trying to use the static Digest method included in JDBCRealm in 
Tomcat 4b3 from the command line.  When I execute the following

$ java -classpath catalina.jar org.apache.catalina.realm.JDBCRealm -a 
MD5 pass

from tomcat/server/lib, I get the output at the end of this message.  I 
have the same trouble using the Digest method from a simple web application.

I want to use the Digest method provided by Tomcat to store encrypted 
passwords in the JDBCRealm database for use in authenticating users of 
my web apps.  If anyone is able to do this, what did you have to do to 
get it to work?

Thanks for any help,


pass:Exception in thread "main" java.lang.ExceptionInInitializerError: 
java.util.MissingResourceException: Can't find bundle for base name 
org.apache.tomcat.resources.LocalStrings, locale en_US
	at java.util.ResourceBundle.getBundleImpl(
	at java.util.ResourceBundle.getBundle(
	at org.apache.catalina.util.StringManager.<init>(
	at org.apache.catalina.util.StringManager.getManager(
	at org.apache.catalina.util.HexUtils.<clinit>(
	at org.apache.catalina.realm.JDBCRealm.Digest(
	at org.apache.catalina.realm.JDBCRealm.main(


View raw message