From: fhanik Date: Mon, 16 Oct 2006 22:46:39 +0000 (+0000) Subject: Make server.xml nice and pretty without including a giant blob about clustering X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=9f759969b1cee918c378e11d2b9b0b8fd1950032;p=tomcat7.0 Make server.xml nice and pretty without including a giant blob about clustering git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@464705 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/conf/server.xml b/conf/server.xml index 8eb2dcaad..5aac397d8 100644 --- a/conf/server.xml +++ b/conf/server.xml @@ -119,42 +119,10 @@ + diff --git a/webapps/docs/cluster-howto.xml b/webapps/docs/cluster-howto.xml index c3bbef124..2c817e43f 100644 --- a/webapps/docs/cluster-howto.xml +++ b/webapps/docs/cluster-howto.xml @@ -218,6 +218,54 @@ should be completed:

+
+ + <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> + +
+

Component Levels: