users@glassfish.java.net

Re: Multiple IP - Same Port fails

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 23 Oct 2007 18:22:29 -0400

Hi,

glassfish_at_javadesktop.org wrote:
> Hi!
>
> Fresh install Glassfish v2 (SJAS9.1) on Sparc Solaris 10, 0807. Running as root.
>
> Get... conflict occured on port 80 . Server is shutting down.|#]
>
> Admin guide says HTTP Listeners are unique by IP + Port - so it should work.
>
> HTTP Listeners: (x.x.x not zeros)
> http-listener-1 x.x.x.34:80
> http-listener-2 x.x.x.34:443
> admin-listener x.x.x.34:4848
> http-listener-35 x.x.x.35:80
> http-listener-36 x.x.x.36:80
>
> Interestingly, I was able to 'enable' x.x.x.35:1600 and x.x.x.36:1600 in Admin
> and they both showed up in netstat -an. Just picked 1600 as random unused port for test.
>
> However, when you start the domain -
> [#|2007-10-23T17:41:39.474-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;_RequestID=b287df96-33a1-45cc-8561-9c8ab2e04686;|WEB0701: Error initializing endpoint
> java.net.BindException: Already bound: 1600
> (and many more errors logged)...
>
> Is anyone doing multi-IP on port 80? Works for us on older Iplanet 6.x.
>
> Sure hope someone can duplicate this. Had to abort upgrade to GF earlier this year, same problem. Was hopeful new OS & GF would fix problem, but no joy.

Can you add in domain.xml the following property:

<jvm-options>-Dcom.sun.enterprise.server.ss.ASQuickStartup=false</jvm-options>

restart GlassFish and file an issue here

https://glassfish.dev.java.net/servlets/ProjectIssues

Assign it to myself (jfarcand) with the server.log attached if you can.

Thanks

-- Jeanfrancois


>
> Any help would be appreciated. - Thx!
> [Message sent by forum member 'htsguru' (htsguru)]
>
> http://forums.java.net/jive/thread.jspa?messageID=241761
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>