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
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
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
I would like to add that actually I haven't change the ports at all. so the post's title is wrong. I changed the ip that is given to the client when contacting the RMI