When trying to deploy an application on JBoss which also references my EJB3 beans, I get a "no classloader found for" exception in the when passing a context from one page to the next.

This seems to be caused by the use of Class.forName in ComponentEventImpl.

Replacing line 82
   Class desiredType = Class.forName(desiredTypeName);
with
   ClassLoader loader = Thread.currentThread().getContextClassLoader();
   if ( loader == null ) loader = this.getClass().getClassLoader();
   Class desiredType = Class.forName(desiredTypeName, true, loader);

Seems to fix this problem.

Could this be applied to the codebase?

Thanks,
Joachim

--
Joachim Van der Auwera
PROGS bvba, progs.be



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to