tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/conf server.xml
Date Fri, 04 Jun 2004 20:30:34 GMT
fhanik      2004/06/04 13:30:34

  Modified:    catalina/src/conf server.xml
  Log:
  Added in example for farm deployment into server.xml
  
  Revision  Changes    Path
  1.33      +15 -0     jakarta-tomcat-catalina/catalina/src/conf/server.xml
  
  Index: server.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/conf/server.xml,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- server.xml	14 May 2004 14:59:13 -0000	1.32
  +++ server.xml	4 Jun 2004 20:30:34 -0000	1.33
  @@ -293,6 +293,15 @@
   
               filter=".*\.gif;.*\.js;" means that we will not replicate the session after
requests with the URI
               ending with .gif and .js are intercepted.
  +            
  +            The deployer element can be used to deploy apps cluster wide.
  +            Currently the deployment only deploys/undeploys to working members in the cluster
  +            so no WARs are copied upons startup of a broken node.
  +            The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
  +            When a new war file is added the war gets deployed to the local instance,
  +            and then deployed to the other instances in the cluster.
  +            When a war file is deleted from the watchDir the war is undeployed locally

  +            and cluster wide
           -->
           
           <!--
  @@ -321,6 +330,12 @@
   
               <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
                      filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
  +                   
  +            <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
  +                      tempDir="/tmp/war-temp/"
  +                      deployDir="/tmp/war-deploy/"
  +                      watchDir="/tmp/war-listen/"
  +                      watchEnabled="false"/>
           </Cluster>
           -->        
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message