Author: pero Date: Wed Nov 30 22:46:37 2005 New Revision: 350191 URL: http://svn.apache.org/viewcvs?rev=350191&view=rev Log: Fix wrong example to set session manager attributes
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=350191&r1=350190&r2=350191&view=diff ============================================================================== --- tomcat/container/tc5.5.x/webapps/docs/cluster-howto.xml (original) +++ tomcat/container/tc5.5.x/webapps/docs/cluster-howto.xml Wed Nov 30 22:46:37 2005 @@ -940,15 +940,18 @@ </p> <p> -Example send all sessions at blocks. Serialize and send 100 session inside on block.<br/> +Example send all sessions at separate blocks. Serialize and send 100 session inside one block. +Wait maximale two minutes before the complete backup sessions are loaded inside tomcat boot process. +Between send blocks wait 5 secs to transfers the session block to other node. This save memory +when you use the async modes with queues.<br/> <source> - <Sender - className="org.apache.catalina.cluster.tcp.ReplicationTransmitter" - replicationMode="fastasyncqueue" - sendAllSessions="false" - sendAllSessionsSize="100" - keepAliveTimeout="-1" - keepAliveMaxRequestCount="-1"/> + <Cluster className="org.apache.catalina.tcp.SimpleTcpCluster" + managerClassName="org.apache.catalina.cluster.session.DeltaManager" + manager.stateTransferTimeout="120" + manager.sendAllSessions="false" + manager.sendAllSessionsSize="100" + manager.sendAllSessionsWaitTime="5000" + "/> </source> </p> <p> @@ -981,7 +984,12 @@ <li>Install the mx4j-tools.jar at common/lib (use the same mx4j version as your tomcat release)</li> <li>Configure a MX4J JMX HTTP Adaptor at your AJP Connector<p></p> <source> -<Connector port="${AJP.PORT}" handler.list="mx" mx.enabled="true" mx.httpHost="${JMX.HOST}" mx.httpPort="${JMX.PORT}" protocol="AJP/1.3" /> +<Connector port="${AJP.PORT}" + handler.list="mx" + mx.enabled="true" + mx.httpHost="${JMX.HOST}" + mx.httpPort="${JMX.PORT}" + protocol="AJP/1.3" /> </source> </li> <li>Start your tomcat and look with your browser to http://${JMX.HOST}:${JMX.PORT}</li> @@ -1042,8 +1050,8 @@ <tr> <td>DeltaManager</td> <td>This manager control the sessions and handle session replication </td> - <td><code>type=Manager,path=${APP.CONTEXT.PATH},host=${HOST}</code></td> - <td><code>type=Manager,path=${APP.CONTEXT.PATH},host=${HOST}</code></td> + <td><code>type=Manager,path=${APP.CONTEXT.PATH}, host=${HOST}</code></td> + <td><code>type=Manager,path=${APP.CONTEXT.PATH}, host=${HOST}</code></td> </tr> <tr> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]