users@glassfish.java.net

Re: Virtual Servers & Listeners

From: <glassfish_at_javadesktop.org>
Date: Wed, 12 Sep 2007 15:22:49 PDT

I'm not sure I understand where the confusion is coming from: A request is received by an HTTP listener on a given port.

Next, an attempt is made to map the request to one of the virtual servers associated with the HTTP listener, by comparing the request's host name with the names (and alias names) of the virtual servers associated with the HTTP listener.

Once a match has been found, an attempt is made to match the request to one of the contexts deployed on the virtual server, based on the request's context path.

Every virtual server has its own root context ("/"), which is mapped either to the virtual server's docroot or the virtual server's default webmodule (if one has been configured).

Hope this helps.
[Message sent by forum member 'jluehe' (jluehe)]

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