RMI HTTP-tunneling

This article describes how to setup RMI HTTP-tunneling.

1 Step-by-step Guide

    Go through the following steps to set up RMI HTTP-tunneling

    1.1 Step 1: Edit global-web-application.xml

      Add the following to config/global-web-application.xml:


      <servlet>
      <servlet-name>rmi</servlet-name>
      <servlet-class>com.evermind.server.rmi.RMIHttpTunnelServlet</servlet-class>
      </servlet>
      Listing 1: Addition to global-web.application.xml

    1.2 Step 2: Prepend the RMI URL with http

      for instance ormi://localhost/theapp becomes http:ormi://localhost/theapp

Copyright © 2005 IronFlare AB