2/26/02 5:06:13 PM, Antony Bowesman <[EMAIL PROTECTED]> wrote:

>Hi,
>
>We have a realm implementation that authenticates against a user
>repository in an EJB container.  To do this it uses some proxy classes
>to connect to the EJB container.  These proxies are also used by web
>applications.
>
>Thus, these proxy class are in the common/lib directory.  However, this
>means that a lot of the webapp client framework has to go in the
>common/lib directory and not in the shared webapp directory where it
>should be.
>
>I need to change but am not sure how the small authentication component
>(called by the realm implementation) which is in common/lib can find the
>webapp shared classloader to load the relevant proxy classes.
>
>Is there any (legal) way I can get the webapp shared classloader from
>the catalina startup classes.
>
>Rgds
>Antony
>
Try

Thread.currentThread().getContextClassLoader().loadClass("foo.bar.Baz");

Sriram


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to