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

Ask Your Question
0

exception in startign gsc/gsm

I got the following exception when starting community edition(odd that they are using InetAddress.getByName instead of InetAddress.getLocalHost(though I guess getLocalHost is always a pain on linux unless you fix /etc/hosts file).

I did not config DNVR as my computer name. My computer name is actually DNVR-DHILLER. If InetAddress.getLocalhost was used, this would have worked. Any idea of how I could just configure XAP to read in my computer name and use the one I tell it to so I can get past this...

2010-12-17 15:08:28,395 INFO [com.gigaspaces.start] -

GigaSpaces ServiceGrid starting using command <com.gigaspaces.start.services="gsm,lh">

Log created by <dhiller> on Fri Dec 17 15:08:28 MST 2010

2010-12-17 15:08:28,488 SEVERE [com.gigaspaces.start] - Error while booting system - ; Caused by: java.net.UnknownHostException: DNVR at java.net.InetAddress.getAllByName0(InetAddress.java:1158) at java.net.InetAddress.getAllByName(InetAddress.java:1084) at java.net.InetAddress.getAllByName(InetAddress.java:1020) at java.net.InetAddress.getByName(InetAddress.java:970) at net.jini.discovery.Constants.getHostAddressFromProperty(Constants.java:195) at net.jini.discovery.Constants.getHostAddress(Constants.java:169) at org.jini.rio.boot.BootUtil.getHostAddress(BootUtil.java:139) at com.gigaspaces.start.SystemConfig.getDefaultHostAddress(SystemConfig.java:1090) at com.gigaspaces.start.SystemConfig.getSystemProperties(SystemConfig.java:456) at com.gigaspaces.start.SystemBoot.loadPlatform(SystemBoot.java:188) at com.gigaspaces.start.SystemBoot.main(SystemBoot.java:296)

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

asked 2010-12-17 16:17:13 -0500

deanhiller 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

Please set the NIC_ADDR before you run the gs-agent on all your machines:
export NIC_ADDR=IP

Shay

answered 2010-12-17 16:20:01 -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: 2010-12-17 16:17:13 -0500

Seen: 60 times

Last updated: Dec 17 '10