View Single Post
  #2 (permalink)  
Old September 14th, 2005, 09:31 PM
newtoo newtoo is offline
Registered User
Join Date: Sep 2005
Location: mexico, df, Mexico.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I am using tomcat 5 and I want to codify password with MD5 using the classes that are in the package to catalina.jar but I obtain the following error:

java -cp catalina.jar org.apache.catalina.loader.WebappLoader -cp catalina.jar org.apache.catalina.realm.RealmBase -a MD5 tomcat
Exception in thread "main" java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass( :537)
        at .java:251)
        at$100(URLClassLoader. java:55)
        at$ 194)
        at Method)
        at ava:187)
        at java.lang.ClassLoader.loadClass( 89)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launche
        at java.lang.ClassLoader.loadClass( 35)
        at java.lang.ClassLoader.loadClassInternal(ClassLoade

In the classpath already declares the route of the classes of tomcat\server\lib but apparently the classes that are concerned from RealmBase be badly established helpe me please:
Greetings Fernando

Reply With Quote