[jboss-user] [Installation, Configuration & DEPLOYMENT] - Server can not be shut down after RMI ports were changed to

alvaro.arenas do-not-reply at jboss.com
Thu Dec 6 09:58:01 EST 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110862#4110862

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110862



More information about the jboss-user mailing list