users@glassfish.java.net

Re: Can't start without network

From: <glassfish_at_javadesktop.org>
Date: Tue, 10 Apr 2007 08:10:16 PDT

The hostname command returns "gunnar2", which is correct.

Without an entry for "gunnar2" in "/etc/hosts" the server won't even begin to start. An UnknownHostException is thrown.

If I edit the "127.0.0.1" entry however, and add "gunnar2" as an alias for "localhost", I can get the server started. This is an ugly workaround but better than nothing.

What I really want is some way to tell the server to connect to "localhost:8686" instead of "gunnar2:8686".
[Message sent by forum member 'gugrim' (gugrim)]

http://forums.java.net/jive/thread.jspa?messageID=211687