tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Running multiple JVMs
Date Mon, 19 Jan 2004 16:41:35 GMT


>We have a number of webapps that need separate JVMs. The reason is that
>need decent isolation: if one app grabs too much memory it can crash
>others. What's the best way to do this? Is it at all possible to use
>multiple instances of standalone Tomcat? (They all have separate domain
>names, but must run on port 80). Or do I have to integrate with Apache?

Only one process can listen on port 80 at a time.  It can be a single
tomcat instance (which uses one JVM), a single Apache instance, or a
single instance of whatever other server you want.  All webapps on
tomcat use the same JVM, so for multiple JVMs you need multiple tomcat
instances.  Since you can't have all these instances listening on port
80 at the same time, you need Apache (or whatever, e.g. another tomcat
running balancer) in front, listening on port 80.

Yoav Shapira

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message