users@glassfish.java.net

Multiple IP - Same Port fails

From: <glassfish_at_javadesktop.org>
Date: Tue, 23 Oct 2007 15:00:37 PDT

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.

Any help would be appreciated. - Thx!
[Message sent by forum member 'htsguru' (htsguru)]

http://forums.java.net/jive/thread.jspa?messageID=241761