users@glassfish.java.net

Re: Glassfish DNS Management ??

From: <glassfish_at_javadesktop.org>
Date: Mon, 21 Sep 2009 06:44:18 PDT

Maybe I don't understand, but AFAIK you need to specify different context roots to differentiate your two apps.

If you really [b]must[/b] have [b]one[/b] physical server but [b]two[/b] virtual hosts each serving a [different] default web app, then you need to configure virtual hosts and map them to the target context roots. I think you can do this in GF but virtual hosts is the key (again, AFAIK).
[Message sent by forum member 'matterbury' (matterbury_at_abinitio.com)]

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