Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Problem with discovery on XAP 7.0.2

I've installed 7.0.2 on a linux server on the 172.16.100.x network, started up a GSC and a GSM, which registered properly. But on my dev machine, on the 192.168.x.x network assigned by DHCP, I can't see the linux server. The UI causes an exception on the GSC:

2010-02-02 08:30:07,769 LUS INFO [com.sun.jini.reggie] - failed to resolve host LAPTOP_JOTTINGE; connection will still be attempted; Caused by: java.net.UnknownHostException: LAPTOP_JOTTINGE 2010-02-02 08:30:07,770 LUS INFO [com.sun.jini.reggie] - failed to respond to [] on port 28,679; Caused by: java.net.UnknownHostException: LAPTOP_JOTTINGE

(My working machine is, obviously, LAPTOP_JOTTINGE.)

If I configure the hosts file such that it can find my laptop by name, I no longer get the exception - but the UI still doesn't show the GSC or the GSM.

With 6.6.4 all of this worked fine, although that GSM is on Windows. What am I missing? h4. Attachments



{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3357]{quote}

asked 2010-02-02 07:40:33 -0600

jottinger gravatar image

updated 2013-08-08 09:52:00 -0600

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

Before running the GS-UI set its NIC_ADDR to have the machine IP.
This will allow the lookup and GSM to send notifications back to the GS-UI.

See more here:


answered 2010-02-02 10:35:17 -0600

shay hassidim gravatar image
edit flag offensive delete link more


Done, but while it now doesn't give me an error in the console, the UI still doesn't show the GSM or GSC.

jottinger gravatar imagejottinger ( 2010-02-02 14:09:20 -0600 )edit

Actually, there's more here. We use openspaces, so we're using the jini lookup from the spring configuration.

The clients are going to be NATted, so they won't know the IP that they will look like to the GSM; their internal (actual) IP might be, while the GSM would see the packet as if it were from

We can set the apparent NIC address from the client, because we expose a service that tells the local machine what it looks like from a NATted perspective, but how would we do that for openspaces?

jottinger gravatar imagejottinger ( 2010-02-02 14:28:35 -0600 )edit

Have you tried to set the java.rmi.server.hostname property? This should be set to have IP that is accessible by the relevant process. That's what the NIC_ADDR variable is doing. Shay

shay hassidim gravatar imageshay hassidim ( 2010-02-02 18:54:38 -0600 )edit

No, I haven't - but wouldn't that have the same problem? The device would have to know the IP that the server could use to access it.

jottinger gravatar imagejottinger ( 2010-02-02 20:53:11 -0600 )edit

Please contact support to resolve this.

shay hassidim gravatar imageshay hassidim ( 2010-02-03 06:52:55 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2010-02-02 07:40:33 -0600

Seen: 67 times

Last updated: Feb 02 '10