Thanks for the response.
So the current issue is this. If I connect to my queue remotely, it works. This is
because I used the following configuration which tells jboss to send clients the WAN ip
instead of the internal ip to use for connecting.
-Djava.rmi.server.hostname=<external_host_name>
-Djava.rmi.server.useLocalHostname=true
So now, when I connect from a machine inside the network, the connection starts, but the
server is still telling the client to connect through the WAN ip, even though the client
is on the internal network. When the client tries to do this, it eventually gets a
connection reset by the server. So there are two ways I can see to fix this, but I
don't know if either are possible.
1. Somehow specify the "java.rmi.server.hostname" per client. If the client is
remote, it should connect through the internet. Otherwise it should connect throught he
servers local IP.
2. When an internal client is trying to connect to the servers WAN IP, RMI chooses a
random port for the communication. Since I don't have all ports forwarded to my
server, this could be the issue. Can I specify a range of ports for RMI to work with?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192846#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...