You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ma...@mapinfo.com on 2002/06/28 21:02:42 UTC

Running two Tomcats

Has anyone ever run 2 different versions of Tomcat under 1 Apache instance?

Thanks for your help.
Mark




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Running two Tomcats

Posted by "Charles N. Harvey III" <ch...@alloy.com>.
If you are using mod_jk (not sure with mod_webapp) you can run as many
tomcat
instances as you like with one apache.

In the workers.properties file you specify a connector name and the port
that
it will talk to tomcat.  You will also need an ajp connector instance in
each
server.xml.  Then in the httpd.conf file you point different url's or
different
virtual hosts to the connector name of your choice.

You can see this as "load balancing".  Read either of these two docs to see
how.


http://www.ubeans.com/tomcat/
http://bob.marlboro.edu/~msie/2002/it2/s5.html


Charlie



> -----Original Message-----
> From: Mark_DiBattista@mapinfo.com [mailto:Mark_DiBattista@mapinfo.com]
> Sent: Friday, June 28, 2002 3:03 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Running two Tomcats
>
>
> Has anyone ever run 2 different versions of Tomcat under 1 Apache
> instance?
>
> Thanks for your help.
> Mark
>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>