Author: fhanik Date: Mon Oct 16 15:46:39 2006 New Revision: 464705 URL: http://svn.apache.org/viewvc?view=rev&rev=464705 Log: Make server.xml nice and pretty without including a giant blob about clustering
Modified: tomcat/tc6.0.x/trunk/conf/server.xml tomcat/tc6.0.x/trunk/webapps/docs/cluster-howto.xml Modified: tomcat/tc6.0.x/trunk/conf/server.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/conf/server.xml?view=diff&rev=464705&r1=464704&r2=464705 ============================================================================== --- tomcat/tc6.0.x/trunk/conf/server.xml (original) +++ tomcat/tc6.0.x/trunk/conf/server.xml Mon Oct 16 15:46:39 2006 @@ -119,42 +119,10 @@ <!-- Define the top level container in our container hierarchy --> <Engine name="Catalina" defaultHost="localhost"> + <!--For clustering, please check out /docs/cluster-howto.html and + /docs/config/cluster.html (reference documentation) --> <!-- - <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" - channelSendOptions="11"> - <Manager className="org.apache.catalina.ha.session.DeltaManager" - expireSessionsOnShutdown="false" - notifyListenersOnReplication="true"/> - - <Channel className="org.apache.catalina.tribes.group.GroupChannel"> - <Membership className="org.apache.catalina.tribes.membership.McastService" - address="228.0.0.4" - port="45564" - frequency="500" - dropTime="3000"/> - <Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver" - address="auto" - port="auto" - selectorTimeout="100" - maxThreads="6"/> - <Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter"> - <Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/> - </Sender> - <Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/> - <Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/> - <Interceptor className="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor"/> - </Channel> - - <Valve className="org.apache.catalina.ha.tcp.ReplicationValve" - filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;"/> - - <Deployer className="org.apache.catalina.ha.deploy.FarmWarDeployer" - tempDir="/tmp/war-temp/" - deployDir="/tmp/war-deploy/" - watchDir="/tmp/war-listen/" - watchEnabled="false"/> - <ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"/> - </Cluster> + <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/> --> Modified: tomcat/tc6.0.x/trunk/webapps/docs/cluster-howto.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/cluster-howto.xml?view=diff&rev=464705&r1=464704&r2=464705 ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/cluster-howto.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/cluster-howto.xml Mon Oct 16 15:46:39 2006 @@ -218,6 +218,54 @@ </section> +<section name="Configuration Example"> +<source> + <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" + channelSendOptions="6"> + + <Manager className="org.apache.catalina.ha.session.BackupManager" + expireSessionsOnShutdown="false" + notifyListenersOnReplication="true" + mapSendOptions="6"/> + <!-- + <Manager className="org.apache.catalina.ha.session.DeltaManager" + expireSessionsOnShutdown="false" + notifyListenersOnReplication="true"/> + --> + <Channel className="org.apache.catalina.tribes.group.GroupChannel"> + <Membership className="org.apache.catalina.tribes.membership.McastService" + address="228.0.0.4" + port="45564" + frequency="500" + dropTime="3000"/> + <Receiver className="org.apache.catalina.tribes.transport.nio.NioReceiver" + address="auto" + port="5000" + selectorTimeout="100" + maxThreads="6"/> + + <Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter"> + <Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/> + </Sender> + <Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/> + <Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/> + <Interceptor className="org.apache.catalina.tribes.group.interceptors.ThroughputInterceptor"/> + </Channel> + + <Valve className="org.apache.catalina.ha.tcp.ReplicationValve" + filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;"/> + + <Deployer className="org.apache.catalina.ha.deploy.FarmWarDeployer" + tempDir="/tmp/war-temp/" + deployDir="/tmp/war-deploy/" + watchDir="/tmp/war-listen/" + watchEnabled="false"/> + + <ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"/> + </Cluster> +</source> +</section> + <section name="Cluster Architecture"> <p><b>Component Levels:</b> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]