actually it is loaded by tomcat's internal classes, to determine if your
webapp should be called. So the tomcat classes need to be able to see it and
they cannot access classes loaded by the Webapp classloader. Therefore it
belongs in /server/lib as you have seen.

See the classloader doc for more information on classloading in tomcat.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

Charlie

> -----Original Message-----
> From: Oliver Wulff [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 02, 2003 3:23 AM
> To: [EMAIL PROTECTED]
> Subject: Realm class, Classloader
> 
> 
> 
> 
> 
> 
> I'm using Tomcat 4.1.24 and JDK 1.3.1.
> 
> I've created a custom realm which is configured like this:
> <Context path="/sec_test" docBase="sec_test" debug="0"
>                  reloadable="true" crossContext="true">
>        <Realm className="test.RacfRealm"/>
> </Context>
> 
> The implementation class "test.RacfRealm" can be found only if it is
> deployed to the server/lib directory.
> 
> If the Realm is configured for the context "sec_test", the 
> class should be
> loaded by the corresponding WebAppClassLoader.
> What do you think?
> 
> 
> 
> 
> 
> 
> ******************* BITTE BEACHTEN *******************
> Diese Nachricht (wie auch allf�llige Anh�nge dazu) beinhaltet
> m�glicherweise vertrauliche oder gesetzlich gesch�tzte Daten oder
> Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
> genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
> irrt�mlicherweise erreicht hat, sind Sie h�flich gebeten, diese unter
> Ausschluss jeder Reproduktion zu zerst�ren und die absendende Person
> umgehend zu benachrichtigen. Vielen Dank f�r Ihre Hilfe.
> 
> 
> ---------------------------------------------------------------------
> 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