1 Reply Latest reply on Apr 23, 2007 3:22 AM by ron_sigal

    exceptions on ejb invocations using rmi over http

    csa

      Hi everybody,

      I'm making calls to an ejb from a remote client using rmi over http.

      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? Are there other ways to access ejbs over http without using webservices?

      thanks

      Christian Sadilek

        • 1. Re: exceptions on ejb invocations using rmi over http
          ron_sigal

           


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


          Please see section "5.4.13. Exception handling for web based clients" of the Remoting documentation.


          Is there a way to access the originally thrown exception on the client? Are there other ways to access ejbs over http without using webservices?


          The Remoting HTTP transport has, in effect, a standalone web server on the server side. It borrows some code from Tomcat, but it doesn't need a running instance of Tomcat. Please see section "5.4.8. HTTP Invoker" for more information.