tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Gifford <pggiff...@gmail.com>
Subject Re: password encryption
Date Fri, 01 Apr 2011 16:11:39 GMT
Do you have org.apache.tomcat.util.res.StringManager on your classpath?
It's in tomcat-coyote.jar in my installation (6.0.18).

Paul




On Fri, Apr 1, 2011 at 10:47 AM, Henry Lu <zhlu@umich.edu> wrote:

> I tried the following command and failed as tomcat home directory:
>
>
> C:\apps\apache-tomcat-7.0.11>java -cp lib/catalina.jar;bin/tomcat-juli.jar
> org.a
> pache.catalina.realm.RealmBase -a md5 henry
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/tomcat/uti
> l/res/StringManager
>        at
> org.apache.catalina.util.LifecycleBase.<clinit>(LifecycleBase.java:38
> )
> Caused by: java.lang.ClassNotFoundException:
> org.apache.tomcat.util.res.StringMa
> nager
>        at java.net.URLClassLoader$1.run(Unknown Source)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(Unknown Source)
>        ... 1 more
> Could not find the main class: org.apache.catalina.realm.RealmBase.
>  Program wil
> l exit.
>
> Any Help?
>
> -Henry
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message