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

Ask Your Question
0

UnknownHostException on server

Hi,

When I run gigaspaces on a linux server, and access the same using gigaspaces dashboard from my windows machine. I get the below error on the server:

[lus][4/28140] 2011-07-29 18:31:05,198 LUS INFO [com.sun.jini.reggie] - Exception sending event to [DynamicSmartStub [ImplObjClass: net.jini.lookup.ServiceDiscoveryManager$LookupCacheImpl$LookupListener, ConnectionURL: NIO://HKAISHWARYA-SIR:2580/pid[4268]/85039566631076_2_5168993280497132107, MaxConnPool: 1024 ]], ServiceID [f41a3204-b294-4028-adbf-07b04bdd84e5], eventID [4], Template [1807465517] {null,[class com.sun.jini.reggie.ServiceType[name=org.jini.rio.resources.servicecore.Service],], [null]}; Caused by: java.rmi.ConnectException: Connect Failed to [NIO://HKAISHWARYA-SIR:2580/pid[4268]/85039566631076_2_5168993280497132107]; nested exception is: [lus][4/28140] java.net.UnknownHostException

HKAISHWARYA-SIR is my windows machine's name. While the above error seems to have no impact, but the logs files fill up with this. What can I do to get rid of this error?

Many Thanks!

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

asked 2011-07-28 21:35:05 -0500

asirohi gravatar image

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

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

The lookup service can't communicate back with the client. Try this:
- make sure all machines can ping each other
- make sure all machines got their hosts file to include the machine IP
- set the NIC_ADDR variable to the machine IP on each machine.
- set the java.rmi.server.hostname system property to the machine IP with your java program.

See more:
http://www.gigaspaces.com/wiki/display/SBP/MovingintoProductionChecklist#MovingintoProductionChecklist-BindingtheProcessintoaMachineIPAddress
Shay

answered 2011-07-29 07:24:33 -0500

shay hassidim gravatar image
edit flag offensive delete link more

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

Stats

Asked: 2011-07-28 21:35:05 -0500

Seen: 224 times

Last updated: Jul 29 '11