1 Reply Latest reply on Sep 16, 2008 1:55 AM by ron_sigal

    How to handle exceptions on ejb invocations over http servle

    shbigdel

      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?