> From: Carol Cheung [mailto:[EMAIL PROTECTED]
> Subject: RE: NoClassDefFoundError: org.apache.catalina.realm.RealmBase
>
> Sorry, I'm using Tomcat 5.5. I removed catalina.jar from
> WEB-INF/lib and I am still getting the same error.
Look at the Tomcat 5.5 classloader structure:
Bootstrap
|
System
|
Common
/ \
Catalina Shared
/ \
Webapp1 Webapp2 ...
The 5.5 Realm doc says:
* Place your compiled realm in $CATALINA_HOME/server/lib
(which is Catalina in the above diagram).
However, if you do that, your Realm class(es) will not be visible to code in
your webapp. You'll need to put your Realm in common/lib (or common/classes,
if not jar'd) to let both Tomcat and your webapp have access to your code.
BTW, it's easier in 6.0 due to the simplified classloader structure.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]