On Tue, Nov 30, 2004 at 10:39:19PM -0500, Ryan Daly wrote:
: How do you handle the server.xml and the other configuration? Do you
: start Tomcat with an option to read a different config file, or do you
: have separate installations of Tomcat for each and every webapp?
If you search the archives
If you run tomcat in a cluster where all the webapps are identical, we use
the exact same (copy) of server.xml for all the tomcat instances. So when one
server.xml is changed - we copy it to all of the tomcat installations.
Then we rely on variable substitution in server.xml for items which
me well).
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 7:22 AM
To: Tomcat Users List
Subject: Re: Multipe Tomcat instances
If you run tomcat in a cluster where all the webapps are identical, we
use
OK. I understand the separation point. I think as long as I can start
separate instances by referencing a separate server.xml file, I'll do it
that way. If I need to upgrade one web app, then I can split it out
then.
Thanks for the input. It's appreciated.
--
On Wed, 2004-12-01 at 09:05,
On Mon, 2004-11-29 at 14:53, Shapira, Yoav wrote:
Hi,
I do it this way all the time. The biggest pro is complete separation.
If one app gets whacky (heavy load, OutOfMemoryError, malicious attack),
others are not affected at all. If one app needs to be upgraded or a
bug fix shipped, or its
As far as Tomcat 4.x and 5.0.x, Tomcat uses
%CATALINA_BASE%/conf/server.xml unless you specifically specify an
alternative. Optionally, you can pass '-config fullpath' to the main
method of the startup class where fullpath is the full path to your
config file. For example:
Does anyone have experience with setting up multiple instances of Tomcat
instead of having multiple hosts being served under one instance?
If anyone does, what are some pros and/or cons to doing things this way?
Thanks.
-
To
http://www.yoavshapira.com
-Original Message-
From: Ryan Daly [mailto:[EMAIL PROTECTED]
Sent: Monday, November 29, 2004 2:50 PM
To: Tomcat Users List
Subject: Multipe Tomcat instances
Does anyone have experience with setting up multiple instances of
Tomcat
instead of having multiple hosts
I would say one of the benefits is the ability to have sites using
different versions of Tomcat and Java. We run two instances on our main
server: one hosts our official sites, the other hosts user
(student/faculty) sites.
This lessens the possibility that any 'untrusted' code on our user
sites