Adding the following code to the installAction does solve the problem.
| // Dispatch the joinpoint using the target class loader
| joinpoint.setTarget(target);
| ClassLoader tcl = Thread.currentThread().getContextClassLoader();
| try
| {
| if( cl != null )
| Thread.currentThread().setContextClassLoader(cl);
| dispatchJoinPoint(context, joinpoint);
| }
| finally
| {
| if( cl != null )
| Thread.currentThread().setContextClassLoader(tcl);
| }
|
I checked this in with similar additions to the uninstallAction. If this looks fine
I'll close the issue tomorrow.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964224#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...