tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Crowther" <Peter.Crowt...@melandra.com>
Subject RE: 2 tomcat on the same PC
Date Fri, 18 Aug 2006 10:27:28 GMT
> From: Li [mailto:ampyx.li@gmail.com] 
> why you wanna run 2tomcat? It eats up a lot of RAM ... if you 
> wanna run two webapps, just define to context ...

I'm not saying the OP wants to do any of these, but here are the reasons
I run multiple Tomcats on one box:

- Isolation.  One bad webapp only takes down its own Tomcat, not all the
good webapps as well.

- Memory management.  I can restrict a large webapp to take no more than
a certain amount of RAM by placing it in its own Tomcat.

- Cross-webapp development.  If I'm developing a webapp and it relies on
other webapps (for example, I often develop using the eXist XML
database), I can run eXist in one Tomcat and develop my webapp in
another.  This reduces startup times when I'm debugging, which is
valuable to me.

If all webapps were always stable and always well-behaved, I would agree
with you.  Real-world webapps have bugs, and preventing those bugs from
taking down other (good) webapps is good operations management.

		- Peter

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


Mime
View raw message