1 Reply Latest reply on Dec 6, 2007 2:48 PM by alvaro.arenas

    Server can not be shut down after RMI ports were changed to

    alvaro.arenas

      Hi,

      I have changed the ip address that the backend server running jboss send to the clients, so that it can work behind a firewall. The backend server has to interfaces (192.x.x.x connected to the FW and an internal interface (10.x.x.x) connected to the internal network. Clients connect through the firewall (FW) using the frontend ip of the server (82.x.x.x). The configurations is like this:


      BE_Server ------192.------ FW ---82.----- clients
      |_________________________________|
      10.

      I used -Djava.rmi.server.hostname=82.x.x.x to change the JNDI address
      however this didn't change the ip that is used for ebj3. So I modified the
      ejb3.deployer/META-INF/jboss-service.xml file.

      Then everything works fine with the clients but to shutdown the jboss, RMI is also used, then the server gives itself the frontend IP and the server doesn't shutdown.

      Is there I way that I can configure the ebj3 / RMI to give the frontend ip just to the clients and not when is contacted from the server itself? this would solve my problem.

      Thanks in advance

      Alvaro