users@glassfish.java.net

Glassfish listening problem on multihomed host

From: <glassfish_at_javadesktop.org>
Date: Tue, 18 Nov 2008 06:57:19 PST

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