users@glassfish.java.net

Deploy-VirtualServer concept is not good

From: <glassfish_at_javadesktop.org>
Date: Wed, 28 Feb 2007 02:49:58 PST

Tried a lot but now i am really frustrated.
Its impossible to run serveral application in this constellation:
Domain www.one.de -> AppOne [Context /]
Domain www.two.de -> AppTwo [Context /]
...
This is an standard scenario to run all apps with context root in order to be able to build SEO URLs.


If i try to deploy another application with context / i get the error:
Attribute value (context-root = /) is not unique in list of Web module context roots


If i setup new Virtual Servers suddenly the Servlets in web application are initialized multi times.
Dont know how, seams app will be deployed to all Virtual Server, but this causes that schedul processes are startet multiple times and thats not good.


So could please anybody tell me, what steps i have to do, to set up correctly several applications with context /
[Message sent by forum member 'hammoud' (hammoud)]

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