You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by me...@assetmanagement.natexis.fr on 2004/02/12 16:44:35 UTC

mutiple tomcat instance

hi all,

we are using tomcat 4.1.18 and making it communicate with apache 
via the warp connector.
Both in the same machine.

We're planning to migrate in new architecture where tomcat 
will reside in a machine. We would like to run multiple instances(or 
services)
of tomcat (not multiple versions).

To realize this, I wondered myself if we could naively duplicate the 
Tomcat-Apache
services like  below.




<Service name="Tomcat-Apache">

    <Connector 
className="org.apache.catalina.connector.warp.WarpConnector"
     port="8010" minProcessors="5" maxProcessors="75"
     enableLookups="true" appBase="webapps"
     acceptCount="10" debug="0"/>

    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
     name="Apache" debug="0">

      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="apache_log." suffix=".txt"
              timestamp="true"/>

      <Realm className="org.apache.catalina.realm.MemoryRealm" />

    </Engine>

  </Service>

<Service name="Tomcat-Apache">

    <Connector 
className="org.apache.catalina.connector.warp.WarpConnector"
     port="8011" minProcessors="5" maxProcessors="75"
     enableLookups="true" appBase="webapps"
     acceptCount="10" debug="0"/>

    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
     name="Apache" debug="0">

      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="apache_log." suffix=".txt"
              timestamp="true"/>

      <Realm className="org.apache.catalina.realm.MemoryRealm" />

    </Engine>

  </Service>

Is there a better way to do that ?

any kind of suggestion is greetly appreciated.
_______________________________________________
NATEXIS ASSET MANAGEMENT
Meissa SAKHO 
01 58 19 45 71. . . . . . . . . . . . (84571)
meissa.sakho@assetmanagement.natexis.fr

L'integrite de ce message n'etant pas assuree sur internet, Natexis
Banques Populaires ne peut etre tenu responsable de
son contenu. Toute utilisation ou diffusion non autorisee est
interdite. Si vous n'etes pas destinataire de ce message, merci de le
detruire et d'avertir l'expediteur.

The integrity of this message cannot be guaranteed
on the Internet. Natexis Banques Populaires can not therefore be
considered responsible for the contents.Any unauthorized use or dissemination is prohibited.
If you are not the intended recipient of this message, then please delete it and 
notify the sender.