tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Multiple instances of Tomcat
Date Fri, 09 Feb 2001 00:18:05 GMT
Yes, I've done this.  You need to hand-tailor (I copied
it to workers.https and then modified it.)  Your customized workers should
use the standard ports.  Set one virtual server to communicate using ajp12,
and the other using ajp13.  Then in your the ** original ** for one of the tomcats, change ajp12 to use an unused
port, e.g. 8008, and also update server.xml to use this port. Now, start
both tomcats, then start apache.  Your apache will talk to one of the
tomcats on ajp12, and the other on ajp13.  You can still shut down the
tomcat under which you changed ajp12, since you have it running, just on a
different port.

-----Original Message-----
From: Dan Kummer []
Sent: Thursday, February 08, 2001 3:20 PM
To: ''
Subject: Multiple instances of Tomcat

Has anybody successfully gotten multiple instances of Tomcat running with a
single apache instance?
What I want is to be able to have different servlets served by different
tomcats to enable me to shutdown an instance with out killing the other
I would also like to balance the load over multiple CPU's for obvious

OS: FreeBSD 4.2
Apache: 1.3.14
Tomcat: 3.2.1
Functioning with multiple virtual servers and a single tomcat for example
http://server1 <http://server1>  an http://server2 <http://server2>  are
both being handed off to a single tomcat instance.
What I would like is for http://server1 <http://server1>  to be handled by
one tomcat instance and http://server2 <http://server2>  to be handled by

I have seen some documentation on this but it is very limited.
Any help would be appreciated
Please cc me in replies.


Dan Kummer
Requisite Technology
Office: (303) 474-2204
Office fax: (303) 474-2211

This electronic mail transmission and any accompanying documents contain
information belonging to the sender 
("Information") that may be confidential and legally privileged.  If you are
not the intended recipient, any disclosure, copying,
distribution or action taken in reliance on the Information is strictly
prohibited.  If you have received the Information in error,
please contact the sender by reply email and destroy all copies of the
original email.
 Thank you.

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

View raw message