Help with Tomcat 5.0 and security
I've been using the Apache Tomcat Security Handbook and I am
having trouble with using encrypted passwords in tomcat_users.xml
I am running this command straight from the book with some alterations cause I'm in a win2k environment
$ java -classpath %CATALINA_HOME%\server\lib\catalina.jar org.apache.catalina.realm.RealmBase -a sha testpassword
I get the following error message when I try to execute this encryption tool....
Exception in "main" java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
and then a bunch of at java.lang.....stuff.
Why can't I execute this encyption tool and why can't it find the freakin classes. I can run all my jsp pages and servlets just fine in the Tomcat install.
Please help and Thanks if you do!!!!
|