View Single Post
  #1 (permalink)  
Old July 9th, 2003, 02:10 PM
dawlboult dawlboult is offline
Registered User
Join Date: Jul 2003
Location: boulder, co, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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!!!!
Reply With Quote