tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo K. Shikida" <shik...@gmail.com>
Subject memory realm => tomcat 6 => null pointer exception
Date Tue, 15 Jul 2008 17:42:05 GMT
when I add to server.xml

        <Realm className="org.apache.catalina.realm.MemoryRealm" />

right below

    <Engine name="Catalina" defaultHost="localhost">

I can't start the server and I get the message

Jul 15, 2008 2:29:07 PM org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.NullPointerException
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:269)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:205)
        at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)

I am certainly doing something dumb, but I really can't find out what.

Yes, I've already read

http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#MemoryRealm

any idea?

TIA

Kenji

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message