geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oli Kessler ...@ncode.ch>
Subject Re: GBean - NoClassDefFoundError javax.jms.TopicConnectionFactory
Date Tue, 10 Apr 2007 21:06:23 GMT
Just tried this by using (in the GBean)

Thread.currentThread().getContextClassLoader();

and consequently setting this classloader to any newly created thread.

However, the old error still persists:  
java.lang.NoClassDefFoundError: javax/jms/TopicConnectionFactory

Thanks,
-ok


On 10.04.2007, at 22:50, David Jencks wrote:

> I can't quite see how this  could make a difference but you might  
> try setting the ThreadContextClassloader on the threads you create  
> to the same as the gbeans TCCL.
>
> thanks
> david jencks





Mime
View raw message