Re: Classloader problems
Rajamani Saravanan <[email protected]>
| Newsgroups | gmane.comp.jakarta.avalon.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Niclas, Works perfectly! Thanks a lot! Now I've understood the classloader chain clearly. Once again, thanks a lot for your help. Brgds, R. Saravanan On Wed, 22 Sep 2004 03:39:24 +0800, Niclas Hedhman <[email protected]> wrote: > On Wednesday 22 September 2004 03:28, Niclas Hedhman wrote: > > > Let me think a few minutes. > > Without re-organizing your app, you might be able to do; > > ClassLoader cl = getClass().getClassLoader(); > Thread.currentThread().setContextClassLoader( cl ); > > in the Panel class just before you lookup the Home interface in the JNDI > context. > > > > Cheers > Niclas > -- > +------//-------------------+ > / http://www.bali.ac / > / http://niclas.hedhman.org / > +------//-------------------+ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >