The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » GlassFish

Thread: V3 ideas: relieve dependence on resolving own hostname

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 6 - Last Post: Oct 31, 2007 12:06 PM by: John Clingan
Gabor Szokoli
V3 ideas: relieve dependence on resolving own hostname
Posted: Oct 31, 2007 2:18 AM
  Click to reply to this thread Reply

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net


Alexis Moussine...
Re: V3 ideas: relieve dependence on resolving own hostname
Posted: Oct 31, 2007 2:22 AM   in response to: Gabor Szokoli
  Click to reply to this thread Reply

Very good. Other than being my boss, Eduardo is indeed very
knowledgeable about OSS. I'm sure he mentioned OSS wasn't about
free resources :)
-Alexis

Gabor Szokoli wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

--
Alexis Moussine-Pouchkine - Java Middleware Evangelism Team
http://blogs.sun.com/alexismp

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net


Alexis Moussine...
Re: V3 ideas: relieve dependence on resolving own hostname
Posted: Oct 31, 2007 2:24 AM   in response to: Alexis Moussine...
  Click to reply to this thread Reply

wrong alias. Sorry!
-Alexis

Alexis Moussine-Pouchkine wrote:
> Very good. Other than being my boss, Eduardo is indeed very
> knowledgeable about OSS. I'm sure he mentioned OSS wasn't about
> free resources :)
> -Alexis
>
> Gabor Szokoli wrote:
>> 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
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
>> For additional commands, e-mail: users-help@glassfish.dev.java.net
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net


Gabor Szokoli
Re: V3 ideas: relieve dependence on resolving own hostname
Posted: Oct 31, 2007 2:45 AM   in response to: Alexis Moussine...
  Click to reply to this thread Reply

On 10/31/07, Alexis Moussine-Pouchkine <alexis.mp@sun.com> wrote:
> Very good. Other than being my boss, Eduardo is indeed very
> knowledgeable about OSS. I'm sure he mentioned OSS wasn't about
> free resources :)

I'd say "not just" or "not mainly". This idea was free, wasn't it? :-)
And we may be able to pitch in in the implementation phase if deemed
useful. I must admit however we are merely users of glassfish as of
yet, and this seems like a rather fundamental aspect of the module
system to me.


Gabor Szokoli

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net


Alexis Moussine...
Re: V3 ideas: relieve dependence on resolving own hostname
Posted: Oct 31, 2007 7:16 AM   in response to: Gabor Szokoli
  Click to reply to this thread Reply

Again, sorry, I didn't have my shot of coffee this morning
and this response was meant for a totally different thread.

Please disregard as it's not relevant to your suggestion which
I'm sure will get some comments from other folks.

cheers,
-Alexis

Gabor Szokoli wrote:
> On 10/31/07, Alexis Moussine-Pouchkine <alexis.mp@sun.com> wrote:
>> Very good. Other than being my boss, Eduardo is indeed very
>> knowledgeable about OSS. I'm sure he mentioned OSS wasn't about
>> free resources :)
>
> I'd say "not just" or "not mainly". This idea was free, wasn't it? :-)
> And we may be able to pitch in in the implementation phase if deemed
> useful. I must admit however we are merely users of glassfish as of
> yet, and this seems like a rather fundamental aspect of the module
> system to me.
>
>
> Gabor Szokoli
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net


km

Posts: 681
Re: V3 ideas: relieve dependence on resolving own hostname
Posted: Oct 31, 2007 10:24 AM   in response to: Gabor Szokoli
  Click to reply to this thread Reply

I agree.

This *must be* fixed for V3. I believe it will be.

Regards,
Kedar

John Clingan
Re: V3 ideas: relieve dependence on resolving own hostname
Posted: Oct 31, 2007 12:06 PM   in response to: km
  Click to reply to this thread Reply

Gabor, your timing is perfect! I sent out an email to this alias
yesterday looking for "features" we should put in GlassFish V3, and I
think that you have just introduced an ease-of use feature.

Thanks for the feedback. If you have any other GlassFish V3
enhancements please feel free to comment.


On Oct 31, 2007, at 10:24 AM, glassfish@javadesktop.org wrote:

> I agree.
>
> This *must be* fixed for V3. I believe it will be.
>
> Regards,
> Kedar
> [Message sent by forum member 'km' (km)]
>
> http://forums.java.net/jive/thread.jspa?messageID=243180
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net





 XML java.net RSS