users@glassfish.java.net

Re: issue with application client on distant computer

From: <forums_at_java.net>
Date: Wed, 1 Feb 2012 09:59:26 -0600 (CST)

Harshad will correct me if I am wrong.

In the GlassFish server the ORB uses the server configuration for
iiop-listener "orb-listener-1" to find out what address it is.  If the
setting is 0.0.0.0, for example, it will
InetAddress.getLocalHost().getHostAddress() to find out the server's
address.  If there is a setting in /etc/hosts for the system then it will
use that value. 

The value obtained this way is used to set up communication between the
client-side ORB and the server's ORB.  So if this value is not correct, the
ORBs will not be able to communicate.

Please check to see if your /etc/hosts file contains a setting for the server
system and, if so, make sure it is correct.

Also, you can try changing the configuration for the iiop-listener named
"orb-listener'-1" from 0.0.0.0 to the server's actual host name and see if
that helps.

- Tim


--
[Message sent by forum member 'tjquinn']
View Post: http://forums.java.net/node/883201