Multiple Tomcat instances onTomcat 4.X:
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Adrian_K
Posted On:   Friday, January 10, 2003 07:42 AM

Please, do you know how can I configure multiple instances of Tomcat?
I read the documentation and I understand tha I must set several CATALINA_BASEs Env. variables, one for each instance:

My question is: If more than one instance is running on the same server how can avoid port use conflict? Do they need to run on diferent ones (i.e.: 8080, 8081, etc)?

If anybody know some URL where I can see a practical, it would be great. I didn't find nothing interesting up to the moment.

Thx in advance.

Re: Multiple Tomcat instances onTomcat 4.X:

Posted By:   Chuong_Pham  
Posted On:   Monday, January 20, 2003 06:22 PM


Yes, you've got the idea!

Here's a bit more to help you out.


With the connectors you can add the "address" attribute to bind the connector to a particular IP address.

See below (server.xml file):



minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="100" debug="0"
connectionTimeout="20000" useURIValidationHack="false" disableUploadTimeout="true" />



minProcessors="5" maxProcessors="75" enableLookups="false" redirectPort="8443" acceptCount="10" debug="0"
connectionTimeout="20000" useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>

I'm in the same boat as you are, looking for more documentation - helpful documenatation. Really sucks!

I'll keep you posted if I find anything new.
About | Sitemap | Contact