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




Reply via email to