Skip to main content

The properties setting for the default server ?

6 replies [Last post]
ergodaveh
Offline
Joined: 2009-01-11
Points: 0

I've attempted to signin to a standalone wonderland service using the "Launching a Client" webstart.

The wonderland.web.server.url is set to equal http://external_IP:8080

The client stalls/halts and the java consule reports:

CREATED RENDERER, isHeadless false
Jan 19, 2010 7:41:11 PM org.jdesktop.wonderland.client.jme.JmeClientMain
WARNING: Error connecting to default server http://MyLocal-PC:8080/
java.net.UnknownHostException: MyLocal-PC

Where do i set the default server setting.?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kaplanj
Offline
Joined: 2004-07-13
Points: 0

Rather than setting wonderland.web.server.url, try setting wonderland.web.server.host to the external IP. That will ensure that the correct value is used everywhere.

ergodaveh
Offline
Joined: 2009-01-11
Points: 0

Thanks for the reply. I've added this property and value to the darkstar service. Restarted All services,

Attempted without success to login from a remote address -

Condition report in the console

WARNING: Error connecting to default server http://MyLocal-PC:8080/
java.net.UnknownHostException: MyLocal-PC

Restarted the server. The attempted login was not successful - same condition report in the console

Check the Windows Host file - 127.0.0.1 is pointing an external host name with resolves to the external IP.

Any suggestions are appreciated.

Message was edited by: ergodaveh

kaplanj
Offline
Joined: 2004-07-13
Points: 0

Just to double check, are you changing the value in the web admin console, or in the my.run.properties file you use to start the server? The right way to do it is in the my.run.properties file you start the server with.

Once you make a change and restart the Wonderland server, you can check the results from this URL (you will have to view source to see the XML markup):

http://:8080/wonderland-web-front/resources/ServerDetails

Make sure all the addresses in the ServerDetails XML are correct.

ergodaveh
Offline
Joined: 2009-01-11
Points: 0

Awesome. It works. Thanks.

micheldenis
Offline
Joined: 2007-12-10
Points: 0

Guess it is wonderland.webserver.host that worked and not wonderland.web.server.host ?

Just wondering whether these are 2 different parameters ..

-michel

maggiel
Offline
Joined: 2003-06-10
Points: 0

I suspect that when your server PC looks itself up it's getting the answer MyLocal-PC. I had a mystery host name that turned out to be coming from a DNS server in the router supplied by my ISP.