Yes, I updated libs in the client classpath.

I investigated org.jboss.aspects.remoting.InvokeRemoteInterceptor and found out 
that in the line

org.jboss.aop.joinpoint.InvocationResponse response = 
(org.jboss.aop.joinpoint.InvocationResponse)client.invoke(invocation, null);

"client.invoke()" returns Exception if the server side has thrown Exception.

I replaced this line to:

Object result = client.invoke(invocation, null);
if ( result instanceof Throwable )  throw (Throwable) result;
org.jboss.aop.joinpoint.InvocationResponse response = 
(org.jboss.aop.joinpoint.InvocationResponse) result;

I'm not sure, that I did correctly, but it works :)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010387#4010387

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010387
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to