Re: Classloader problems

Niclas Hedhman <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Organization Private
Message-ID <[email protected]>
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 / 
+------//-------------------+
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.