users@glassfish.java.net

Re: Glassfish listening problem on multihomed host

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 18 Nov 2008 10:36:31 -0500

Salut,

edit domain.xml and add:

-Dcom.sun.enterprise.server.ss.ASQuickStartup=false

I suspect the problem will goes away. If not, let us know.

A+

-- Jeanfrancois

glassfish_at_javadesktop.org wrote:
> Hi
> After long months (and years) on wWebsphere and Jboss environements, I try GlassFish.
> Is anyone has an experience on a binding problem on GlassFish v2 running on a multihomed host.
> The problem : all addresses in default domain.xml are set to localhost (from 0.0.0.0).
> I create a listener (create-http-listener) for a virtualhost(create-vritual-host) on a homed address (aka 10.10.10.1) port 8080.
> So, I should have : 127.0.0.1:8080 and 10.10.10.1:8080 binded !
> Result : java.net.BindException: Already bound: 8080.....
>
> Of course, resolv.conf is ok and localhost references only 127.0.01 :)
>
> Is anyone has already encoured this problem ?
>
> Thank you
> [Message sent by forum member 'mlabarre' (mlabarre)]
>
> http://forums.java.net/jive/thread.jspa?messageID=317222
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>