hi,
Solved the problem. The problem was not on the client side, it was on the server side. The setting for the RMI host was set to localhost, so of course when JBoss send the RMI server address to the client it is set to localhost. Therefore the client was looking at localhost for the RMI...