> From: Li [mailto:[EMAIL PROTECTED] 
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to