according to this diagram

     Bootstrap
          |
       System
          |
       Common
      /      \
 Catalina   Shared
             /   \
        Webapp1  Webapp2 ... 

classes sitting in Catalina can see 
classes in Common but classes in Common 
can not see classes in Catalina

Your org/apache/catalina/realm/RealmBase
is probably sitting in Catalina (server/lib) 
and classes that sit in Common (common/lib) 
can not get to it. 

> -----Original Message-----
> From: Sasha Borodin [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 13, 2003 5:26 PM
> To: Tomcat Users List
> Subject: Custom realm jar file location
> 
> 
> I've written a custom Realm implementation, JAR'ed it up, and have been
> trying to understand it's proper habitat:
> 
> 1.  If I put it $CATALINA_HOME/server/lib - everything works
> 2.  If I put it $CATALINA_HOME/common/lib - I get an exception:
>         java.lang.NoClassDefFoundError: 
> org/apache/catalina/realm/RealmBase
> 
> I thought that JAR's in common/lib were accessible to both server and
> webapps.  What am I missing?
> 
> Thank you,
> 
> -Sasha Borodin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to