tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li <>
Subject Re: 2 tomcat on the same PC
Date Fri, 18 Aug 2006 10:44:56 GMT
Hi peter

You are right. I had run 2 tomcat instances in the same server before, it is
painful. But it did avoid application level single point of failure. A
redundancy strategy is required but not for all situations.

I am also running a small tomcat cluster at home. If budget is allowed, a
redundancy solution should be a separate server machine.


On 8/18/06, Peter Crowther <> wrote:
> > From: Li []
> > 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:
> To unsubscribe, e-mail:
> For additional commands, e-mail:

When we invent time, we invent death.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message