users@glassfish.java.net

V3 ideas: relieve dependence on resolving own hostname

From: Gabor Szokoli <szocske_at_gmail.com>
Date: Wed, 31 Oct 2007 10:18:54 +0100

Hi!

I hope this is the place to discuss ideas about glassfish v3, here's one:
If the hostname (as returned by the hostname command) does not resolve
to the local host, glassfish can't start up, as you guys probably know
much better than I do.
Worse yet, under some circumstancens if you make a mistake in the
/etc/hosts file, like adding the row about your hostname twice, ping
`hostname` works, and
glassfish does not.

We run into this in about every other deployment, especially when
a box works fine in the lab, only to break when shipped to its final site...

I am sure there must be very good reasons for certain components to
look each other up by hostname, but maybe there could be a fallback to
localhost or some other communication method altogether?


Thanks for your time, splendid product, love it, love it!

Gabor Szokoli