-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ted,

On 1/20/2010 7:49 PM, Ted Steiner wrote:
> Is there any good reason to do this? If so, could someone please let
> me know and possibly provide an example?

I can think of a few reasons you might want to do this:

1. You want to test the setup of a cluster, but don't have extra
physical machines laying around for such a test.

2. You want to run separate instances of one webapp (or different
webapps) and be able to start/stop them independently of each other. (We
do this in production so we can upgrade one application independently of
the others. That includes updating server-wide JDBC drivers, Tomcat
version, etc. It also insulates each webapp from bringing down the
others in case there is some kind of problem like OOME).

3. You need to specify the load ordering of webapps because they depend
upon each other in certain ways. Since you can't force Tomcat to load
webapps in a certain order, you can run them in separate instances and
start those instances in a specific order.

I'm sure there are other reasons, but generally it's best in terms of
resource usage to run all webapps in a single Tomcat instance. If you
run multiple Tomcat instances and don't want your users to have to use
non-standard HTTP port numbers, you'll have to front your Tomcats with
an HTTP router (usually some kind of lb device/software or a web server).

Hope that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktYcDAACgkQ9CaO5/Lv0PABhQCfY7uPrW2EWomJiVTyTZntKM4e
ad4AoJnopJMUxWnPq1PAb3AmT0HETlD3
=+cjt
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to