Hi John,
That paragraph really is correct.
I think the point is that clientConnectAddress is only meant to be used when the client
connects through a router that maps an external host name to the actual name of the actual
host. The fact that clientConnectAddress is set tells the server that the host name in
the InvokerLocator is *not* the real host name, thereby throwing the server into the
default case of using the local host address.
The logic is
| if (serverBindAddress is set)
| use it
| else if (clientConnectAddress is not set)
| use host from InvokerLocator
| else
| use local host address
|
The local host address, by the way, is obtained by the call
| InetAddress.getLocalHost().getHostAddress()
|
which returns the IP address of the local host.
I'll try to make the paragraph clearer.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023373#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...