tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: NoClassDefFoundError: org.apache.catalina.realm.RealmBase
Date Fri, 12 Sep 2008 17:32:59 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Carol,

Carol Cheung wrote:
> Sorry, I'm using Tomcat 5.5. I removed catalina.jar from WEB-INF/lib and I
> am still getting the same error.

You should put your Realm implementation into $TOMCAT_HOME/shared/lib or
$TOMCAT_HOME/common/lib. I suspect you have deployed it with your
application. This is an error, as Tomcat prevents applications from
interacting with Tomcat's internals (including its own classes) except
in very well-defined ways. If you want Tomcat to use your realm, you
will have to make it available to Tomcat -- not just your own application.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjKp8sACgkQ9CaO5/Lv0PAFrACfQ2GX6/0N9pX0BsP7ZkGowFsI
Cb8An3DFduFqG23yRT2NnsJQGNppWlR7
=fstM
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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