Author: pero
Date: Sat Nov 12 04:30:34 2005
New Revision: 332767

URL: http://svn.apache.org/viewcvs?rev=332767&view=rev
Log:
Fix some typos!

Modified:
    tomcat/container/tc5.5.x/webapps/docs/cluster-howto.xml

Modified: tomcat/container/tc5.5.x/webapps/docs/cluster-howto.xml
URL: 
http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/webapps/docs/cluster-howto.xml?rev=332767&r1=332766&r2=332767&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/cluster-howto.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/cluster-howto.xml Sat Nov 12 04:30:34 
2005
@@ -27,8 +27,9 @@
     attribute is unique for each instance.</li>
 <li>Make sure your <code>web.xml</code> has the 
<code>&lt;distributable/&gt;</code> element 
     or set at your <code>&lt;Context distributable="true" /&gt;</code></li>
-<li>Make sure that jvmRoute attribute is set at your Engine <code>&lt;Engine 
name="Catalina" jvmRoute="node1" &gt;</code></li>
+<li>Make sure that jvmRoute attribute is set at your Engine <code>&lt;Engine 
name="Catalina" jvmRoute="node01" &gt;</code></li>
 <li>Make sure that all nodes have the same time and sync with NTP service!</li>
+<li>Make sure that your loadbalancer is configured for sticky session 
mode.</li>
 </ul>
 <p>Load balancing can be achieved through many techniques, as seen in the
 <a href="balancer-howto.html">Load Balancing</a> chapter.</p>
@@ -269,7 +270,7 @@
                           |                                
                           --- (async)
                              \
-                              -- AsyncSocketSender     (synchronous)
+                              -- AsyncSocketSender     (asynchronous)
                               -- FastAsyncSocketSender (fastasyncqueue)        
 
 </source>
 </p>
@@ -331,7 +332,7 @@
         &lt;Connector        port="9012" 
                       protocol="AJP/1.3"
         &lt;Connector         port="9013"
-                     maxThreads="10"
+                     maxThreads="100"
                 minSpareThreads="4"
                 maxSpareThreads="4"
         /&gt;
@@ -349,15 +350,14 @@
 &lt;/Server&gt;
 </source>
 <br/>
-The default mode configuration setup a <em>fastasyncmode</em> cluster 
configuration with following
+The default mode configuration setup a <em>fastasyncqueue</em> mode cluster 
configuration with following
 parameters:
 <ul>
     <li>Open Membership receiver at <em>228.0.0.4</em> and send to multicast 
udp port <em>8012</em></li>
     <li>Send membership every 1 sec and drop member after 30sec.</li>
     <li>Open message receiver at default ip interface at first free port 
between <em>8015</em> and <em>8019</em>.</li>
     <li>Receiver message with <em>SocketReplicationListener</em> </li>
-    <li>Configure a <em>ReplicationTransmitter</em> with 
<em>fastasyncmode</em> sender mode.</li>
-    <li>Receiver message with <em>SocketReplicationListener</em>.</li>
+    <li>Configure a <em>ReplicationTransmitter</em> with 
<em>fastasyncqueue</em> sender mode.</li>
     <li>Add <em>ClusterSessionListener</em> and <em>ReplicationValve</em>.</li>
 </ul> 
 </p>
@@ -412,13 +412,13 @@
         &lt;Connector        port="9012" 
                       protocol="AJP/1.3"
         &lt;Connector         port="9013"
-                     maxThreads="10"
+                     maxThreads="100"
                 minSpareThreads="4"
                 maxSpareThreads="4"
         /&gt;
         &lt;Engine            name="Catalina" 
                    defaultHost="localhost" 
-                        jvmRoute="node1"&gt;
+                        jvmRoute="node01"&gt;
         &lt;Realm        
className="org.apache.catalina.realm.UserDatabaseRealm"
                    resourceName="UserDatabase" /&gt;
         &lt;Cluster      
className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"/&gt;
@@ -453,13 +453,13 @@
         &lt;Connector        port="9012" 
                       protocol="AJP/1.3"
         &lt;Connector         port="9013"
-                     maxThreads="10"
+                     maxThreads="100"
                 minSpareThreads="4"
                 maxSpareThreads="4"
         /&gt;
         &lt;Engine            name="Catalina" 
                    defaultHost="localhost" 
-                        jvmRoute="node1"&gt;
+                        jvmRoute="node01"&gt;
         &lt;Realm        
className="org.apache.catalina.realm.UserDatabaseRealm"
                    resourceName="UserDatabase" /&gt;
             &lt;Host          name="localhost"
@@ -556,7 +556,7 @@
 
   <tr>
     <td>ackTimeout</td>
-    <td>acknowledge timeout</td>
+    <td>acknowledge timeout and only usefull it waitForAck is true</td>
     <td><code>15000</code></td>
   </tr>
   
@@ -672,14 +672,13 @@
   
 </p>
 <p>
-Example to get a lot of statistic information and not wait for ACK<br/>
+Example to get a lot of statistic information and no wait for ACK<br/>
 <source>
     &lt;Sender
       className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
       replicationMode="fastasyncqueue"
       doTransmitterProcessingStats="true"
       doProcessingStats="true"
-      doWaitAckStats="true"
       queueTimeWait="true"
       queueDoStats="true"
       queueCheckLock="true"
@@ -742,6 +741,8 @@
       replicationMode="asynchronous"
       doProcessingStats="true"
       doWaitAckStats="true"
+      waitForAck="true"
+      ackTimeout="30000"
       resend="true"
       keepAliveTimeout="320000"
       keepAliveMaxRequestCount="-1"/&gt;
@@ -801,7 +802,7 @@
       replicationMode="synchronous"
       autoConnect="true"
       keepAliveTimeout="-1"
-      keepAliveMaxRequestCount="10000"/&gt;
+      keepAliveMaxRequestCount="100000"/&gt;
 </source>
 </p>  
 </section>
@@ -1066,7 +1067,7 @@
 </section>
 
 <section name="FAQ">
-<p>Please see <a href="http://jakarta.apache.org/tomcat/faq/cluster.html";>the 
clustering section of the FAQ</a>.</p>
+<p>Please see <a href="http://tomcat.apache.org/faq/cluster.html";>the 
clustering section of the FAQ</a>.</p>
 </section>
 
 </body>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to