[jboss-user] [Remoting] - How to handle exceptions on ejb invocations over http servle

shbigdel do-not-reply at jboss.com
Thu Sep 4 06:08:21 EDT 2008


Hi everybody,

I'm making calls to an ejb from a remote client over http servlet.  (jboss4.2.3.GA + jboss-remoting-2_2_2_SP8 + ejb3)

I'm using the
org.jboss.remoting.transport.servlet.web.ServerInvokerServlet  and the 
@RemoteBinding annotation for the ejb to establish this.

It works fine so far. But if an exception gets thrown in the ejb I will only 
get an exception of type org.jboss.remoting.transport.http.WebServerError on 
the client.

Is there a way to access the originally thrown exception on the client? 

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174246



More information about the jboss-user mailing list