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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]