tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hepabolu <hepab...@gmail.com>
Subject Virtual host configuration - best practise?
Date Fri, 18 Sep 2009 17:08:27 GMT

Hi, 

I need to create the following situation:
- each client uses a war (all use the same war file) with configuration
files that are different for every client
- each client's configuration should be addressable by a different URL, e.g.
domainX, domainY

So in Tomcat 5.5 I created a Host entry for each client in the
server.xml/Engine, as well as the necessary configuration directories etc.

The whole setup works except for one thing: I don't know the clients
domainnames yet, so I need to add Host entries as new clients need to be
added. This however means I need to restart Tomcat each time I've added a
Host entry, which means that all existing clients are offline as well. This
is an unacceptable situation.

Is there a different method for setting things up that gives the same result
but allows adding virtual hosts on the fly, i.e. without restarting Tomcat?

Thanks.

Bye, Helma
-- 
View this message in context: http://www.nabble.com/Virtual-host-configuration---best-practise--tp25512289p25512289.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message