You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2004/02/14 10:55:29 UTC

cvs commit: jakarta-tomcat-5/resources/confinstall server_2.xml

remm        2004/02/14 01:55:29

  Modified:    resources/confinstall server_2.xml
  Log:
  - Sync with main server.xml.
  
  Revision  Changes    Path
  1.15      +30 -36    jakarta-tomcat-5/resources/confinstall/server_2.xml
  
  Index: server_2.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-5/resources/confinstall/server_2.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- server_2.xml	21 Jan 2004 23:51:03 -0000	1.14
  +++ server_2.xml	14 Feb 2004 09:55:29 -0000	1.15
  @@ -179,29 +179,6 @@
                                  in the queue instead of replicating two requests. This almost never happens, unless there is a 
                                  large network delay.
           -->             
  -        
  -        <!-- When uncommenting the cluster, REMEMBER to uncomment the replication Valve below as well
  -        
  -
  -        <Cluster  className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
  -                  name="FilipsCluster"
  -                  debug="10"
  -                  serviceclass="org.apache.catalina.cluster.mcast.McastService"
  -                  mcastAddr="228.0.0.4"
  -                  mcastPort="45564"
  -                  mcastFrequency="500"
  -                  mcastDropTime="3000"
  -                  tcpThreadCount="6"
  -                  tcpListenAddress="auto"
  -                  tcpListenPort="4001"
  -                  tcpSelectorTimeout="100"
  -                  printToScreen="false"
  -                  expireSessionsOnShutdown="false"
  -                  useDirtyFlag="true"
  -                  replicationMode="pooled"
  -        />
  -
  -        -->
           <!--
               When configuring for clustering, you also add in a valve to catch all the requests
               coming in, at the end of the request, the session may or may not be replicated.
  @@ -219,11 +196,38 @@
               filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
               ending with .gif and .js are intercepted.
           -->
  +        
           <!--
  -        <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
  -               filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
  +        <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
  +                 managerClassName="org.apache.catalina.cluster.session.DeltaManager"
  +                 expireSessionsOnShutdown="false"
  +                 useDirtyFlag="true">
  +
  +            <Membership 
  +                className="org.apache.catalina.cluster.mcast.McastService"
  +                mcastAddr="228.0.0.4"
  +                mcastPort="45564"
  +                mcastFrequency="500"
  +                mcastDropTime="3000"/>
  +
  +            <Receiver 
  +                className="org.apache.catalina.cluster.tcp.ReplicationListener"
  +                tcpListenAddress="auto"
  +                tcpListenPort="4001"
  +                tcpSelectorTimeout="100"
  +                tcpThreadCount="6"/>
  +
  +            <Sender
  +                className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
  +                replicationMode="pooled"/>
  +
  +            <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
  +                   filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
  +        </Cluster>
  +        -->        
  +
  +
   
  -        -->
           <!-- Normally, users must authenticate themselves to each web app
                individually.  Uncomment the following entry if you would like
                a user to be authenticated the first time they encounter a
  @@ -256,16 +260,6 @@
           <Logger className="org.apache.catalina.logger.FileLogger"
                    directory="logs"  prefix="localhost_log." suffix=".txt"
               timestamp="true"/>
  -
  -        <!-- Define properties for each web application.  This is only needed
  -             if you want to set non-default properties, or have web application
  -             document roots in places other than the virtual host's appBase
  -             directory.  -->
  -
  -        <!-- Tomcat Root Context -->
  -        <!--
  -          <Context path="" docBase="ROOT" debug="0">
  -        -->
   
         </Host>
   
  
  
  

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