users@glassfish.java.net

Virtual Servers & Listeners

From: <glassfish_at_javadesktop.org>
Date: Sun, 09 Sep 2007 16:46:31 PDT

Hi,

I'm totally new to GF and this is probably a very basic question, but I can't find a clear answer anywhere.

The GF doc says:
" if an HTTP listener uses the 0.0.0.0 IP address, which listens on all IP addresses on a
port, you cannot create for a specific IP address."

Does it mean there is only one port listener can be configured per IP address?

"You must not specify a listener that is used by another virtual server"
"In the Listener Port field, type a unique port value".

Does it mean that set of listeners where each listening on the unique port (i.e. set of unique listeners) should be configured per each virtual server?

I tried to play with it a bit and it seems like when there are two listeners configured (for two virtual servers) to listen on the same port both virtual servers will not work (return 500), if I change the port in one listener - everything is back to life.
Does it supposed to be this way or I'm missing something?

Thanks,
[Message sent by forum member 'dmitrys' (dmitrys)]

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