Thanks a lot, Ilya and Chuck,
I think I did not make myself totally clear. Indeed I meant to copy
the .war file, and each copy to pick up a different .properties file
for settings. More specifically, I am using Spring's
PropertyPlaceholderConfigurer pointing to
classpath:mywebapp.properties, and
From: Jeroen Kransen [mailto:jer...@kransen.nl]
Subject: RE: Tomcat 6 multiple hosts howto
More specifically, I am using Spring's
PropertyPlaceholderConfigurer pointing to
classpath:mywebapp.properties
I probably wouldn't do that; basing such a location off the webapp's classpath
can get
I used Tomcat 5.5 with multiple Host/ elements in the server.xml Now I
read that this has to be done differently in Tomcat
No, it is not.
You should have one Host element for every virtual host you need.
http://tomcat.apache.org/tomcat-6.0-doc/config/host.html
-Original Message-
From:
From: Jeroen Kransen [mailto:jer...@kransen.nl]
Subject: Tomcat 6 multiple hosts howto
I used Tomcat 5.5 with multiple Host/ elements in the
server.xml Now I read that this has to be done differently
in Tomcat 6, but I am not sure how.
Tomcat 6 is a bit stricter; you may not have been