reformat, no change, so that the upcoming changes and corrections of mbean files...
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 7 Jan 2008 21:52:49 +0000 (21:52 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 7 Jan 2008 21:52:49 +0000 (21:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@609790 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/ha/authenticator/mbeans-descriptors.xml
java/org/apache/catalina/ha/deploy/mbeans-descriptors.xml
java/org/apache/catalina/ha/mbeans-descriptors.xml
java/org/apache/catalina/ha/session/mbeans-descriptors.xml
java/org/apache/catalina/ha/tcp/mbeans-descriptors.xml
java/org/apache/catalina/tribes/mbeans-descriptors.xml
java/org/apache/catalina/tribes/membership/mbeans-descriptors.xml
java/org/apache/catalina/tribes/transport/mbeans-descriptors.xml

index 39993a6..6c85eca 100644 (file)
@@ -6,9 +6,7 @@
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
+  http://www.apache.org/licenses/LICENSE-2.0
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   limitations under the License.
 -->
 <mbeans-descriptors>
-
-  <mbean name="ClusterSingleSignOn"
-         description="A Valve that supports a 'single signon' user experience on a whole cluster"
-         domain="Catalina"
-         group="Valve"
-         type="org.apache.catalina.cluster.authenticator.ClusterSingleSignOn">
-
-    <attribute name="className"
-               description="Fully qualified class name of the managed object"
-               type="java.lang.String"
-               writeable="false"/>
-
-    <attribute name="requireReauthentication"
-               description="Should we attempt to reauthenticate each request against the security Realm?"
-               type="boolean"/>
-
-    <attribute name="cookieDomain"
-               description="(Optiona) Domain to be used by sso cookies"
-               type="java.lang.String" />
-
+  <mbean
+    name="ClusterSingleSignOn"
+    description="A Valve that supports a 'single signon' user experience on a whole cluster"
+    domain="Catalina"
+    group="Valve"
+    type="org.apache.catalina.cluster.authenticator.ClusterSingleSignOn">
+    <attribute
+      name="className"
+      description="Fully qualified class name of the managed object"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="requireReauthentication"
+      description="Should we attempt to reauthenticate each request against the security Realm?"
+      type="boolean"/>
+    <attribute
+      name="cookieDomain"
+      description="(Optiona) Domain to be used by sso cookies"
+      type="java.lang.String"/>
   </mbean>
-
 </mbeans-descriptors>
index 730a8dc..8a0a1d9 100644 (file)
@@ -6,9 +6,7 @@
   The ASF licenses this file to You under the Apache License, Version 2.0\r
   (the "License"); you may not use this file except in compliance with\r
   the License.  You may obtain a copy of the License at\r
-\r
-      http://www.apache.org/licenses/LICENSE-2.0\r
-\r
+  http://www.apache.org/licenses/LICENSE-2.0\r
   Unless required by applicable law or agreed to in writing, software\r
   distributed under the License is distributed on an "AS IS" BASIS,\r
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
   limitations under the License.\r
 -->\r
 <mbeans-descriptors>\r
-  <mbean         \r
+  <mbean\r
     name="FarmWarDeployer"\r
     className="org.apache.catalina.mbeans.ClassNameMBean"\r
     description="Farm Deployer - Broken"\r
     domain="Catalina"\r
     group="Cluster"\r
-    type="org.apache.catalina.ha.deploy.FarmWarDeployer">\r
-  </mbean>\r
+    type="org.apache.catalina.ha.deploy.FarmWarDeployer"/>\r
 </mbeans-descriptors>\r
index cb3a800..c51a2bc 100644 (file)
@@ -6,9 +6,7 @@
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
+  http://www.apache.org/licenses/LICENSE-2.0
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   limitations under the License.
 -->
 <mbeans-descriptors>
-
-  <mbean         name="SimpleTcpCluster"
-            className="org.apache.catalina.mbeans.ClassNameMBean"
-          description="Tcp Cluster implementation"
-               domain="Catalina"
-                group="Cluster"
-                 type="org.apache.catalina.ha.tcp.SimpleTcpCluster">
-
-  </mbean>
-
-
-  <mbean         name="SimpleTcpReplicationManager"
-            className="org.apache.catalina.mbeans.ClassNameMBean"
-          description="Clustered implementation of the Manager interface"
-               domain="Catalina"
-                group="Manager"
-                 type="org.apache.catalina.ha.tcp.SimpleTcpReplicationManager">
-
-    <attribute   name="algorithm"
-          description="The message digest algorithm to be used when generating
+  <mbean
+    name="SimpleTcpCluster"
+    className="org.apache.catalina.mbeans.ClassNameMBean"
+    description="Tcp Cluster implementation"
+    domain="Catalina"
+    group="Cluster"
+    type="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
+  <mbean
+    name="SimpleTcpReplicationManager"
+    className="org.apache.catalina.mbeans.ClassNameMBean"
+    description="Clustered implementation of the Manager interface"
+    domain="Catalina"
+    group="Manager"
+    type="org.apache.catalina.ha.tcp.SimpleTcpReplicationManager">
+    <attribute
+      name="algorithm"
+      description="The message digest algorithm to be used when generating
                        session identifiers"
-                 type="java.lang.String"/>
-
-    <attribute   name="checkInterval"
-          description="The interval (in seconds) between checks for expired
+      type="java.lang.String"/>
+    <attribute
+      name="checkInterval"
+      description="The interval (in seconds) between checks for expired
                        sessions"
-                 type="int"/>
-
-    <attribute   name="className"
-          description="Fully qualified class name of the managed object"
-                 type="java.lang.String"
-            writeable="false"/>
-
-    <attribute   name="distributable"
-          description="The distributable flag for Sessions created by this
+      type="int"/>
+    <attribute
+      name="className"
+      description="Fully qualified class name of the managed object"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="distributable"
+      description="The distributable flag for Sessions created by this
                        Manager"
-                 type="boolean"/>
-
-    <attribute   name="entropy"
-          description="A String initialization parameter used to increase the
+      type="boolean"/>
+    <attribute
+      name="entropy"
+      description="A String initialization parameter used to increase the
                        entropy of the initialization of our random number
                        generator"
-                 type="java.lang.String"/>
-
-    <attribute   name="managedResource"
-          description="The managed resource this MBean is associated with"
-                 type="java.lang.Object"/>
-
-    <attribute   name="maxActiveSessions"
-          description="The maximum number of active Sessions allowed, or -1
+      type="java.lang.String"/>
+    <attribute
+      name="managedResource"
+      description="The managed resource this MBean is associated with"
+      type="java.lang.Object"/>
+    <attribute
+      name="maxActiveSessions"
+      description="The maximum number of active Sessions allowed, or -1
                        for no limit"
-                 type="int"/>
-
-    <attribute   name="maxInactiveInterval"
-          description="The default maximum inactive interval for Sessions
+      type="int"/>
+    <attribute
+      name="maxInactiveInterval"
+      description="The default maximum inactive interval for Sessions
                        created by this Manager"
-                 type="int"/>
-
-    <attribute   name="name"
-          description="The descriptive name of this Manager implementation
+      type="int"/>
+    <attribute
+      name="name"
+      description="The descriptive name of this Manager implementation
                        (for logging)"
-                 type="java.lang.String"
-            writeable="false"/>
-
+      type="java.lang.String"
+      writeable="false"/>
   </mbean>
-
-
-
-<mbean         name="ReplicationValve"
-            className="org.apache.catalina.mbeans.ClassNameMBean"
-          description="Valve for simple tcp replication"
-               domain="Catalina"
-                group="Valve"
-                 type="org.apache.catalina.ha.tcp.ReplicationValve">
-
-    <attribute   name="className"
-          description="Fully qualified class name of the managed object"
-                 type="java.lang.String"
-            writeable="false"/>
-
-    <attribute   name="debug"
-          description="The debugging detail level for this component"
-                 type="int"/>
-
+  <mbean
+    name="ReplicationValve"
+    className="org.apache.catalina.mbeans.ClassNameMBean"
+    description="Valve for simple tcp replication"
+    domain="Catalina"
+    group="Valve"
+    type="org.apache.catalina.ha.tcp.ReplicationValve">
+    <attribute
+      name="className"
+      description="Fully qualified class name of the managed object"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="debug"
+      description="The debugging detail level for this component"
+      type="int"/>
   </mbean>
-
-
 </mbeans-descriptors>
index ee59096..7fed3b2 100644 (file)
@@ -6,9 +6,7 @@
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
+  http://www.apache.org/licenses/LICENSE-2.0
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -299,7 +297,7 @@ created by this Manager"
       name="listSessionIds"
       description="Return the list of active session ids"
       impact="ACTION"
-      returnType="java.lang.String">    </operation>
+      returnType="java.lang.String"/>
     <operation
       name="getSessionAttribute"
       description="Return a session attribute"
@@ -334,34 +332,36 @@ created by this Manager"
         description="Id of the session"
         type="java.lang.String"/>
     </operation>
-    <operation   name="getCreationTime"
-          description="Get the creation time"
-               impact="ACTION"
-           returnType="java.lang.String">
-      <parameter name="sessionId"
-          description="Id of the session"
-                 type="java.lang.String"/>
+    <operation
+      name="getCreationTime"
+      description="Get the creation time"
+      impact="ACTION"
+      returnType="java.lang.String">
+      <parameter
+        name="sessionId"
+        description="Id of the session"
+        type="java.lang.String"/>
     </operation>
     <operation
       name="expireAllLocalSessions"
       description="Exipre all active local sessions and replicate the invalid sessions"
       impact="ACTION"
-      returnType="void">    </operation>
+      returnType="void"/>
     <operation
       name="processExpires"
       description="force process to expire sessions"
       impact="ACTION"
-      returnType="void">    </operation>
+      returnType="void"/>
     <operation
       name="resetStatistics"
       description="Reset all statistics"
       impact="ACTION"
-      returnType="void">    </operation>
+      returnType="void"/>
     <operation
       name="getAllClusterSessions"
       description="send to oldest cluster member that this node need all cluster sessions (resync member)"
       impact="ACTION"
-      returnType="void">    </operation>
+      returnType="void"/>
   </mbean>
   <mbean
     name="SimpleTcpReplicationManager"
@@ -530,12 +530,12 @@ created by this Manager"
       name="listSessionIds"
       description="Return the list of active primary session ids"
       impact="ACTION"
-      returnType="java.lang.String">    </operation>
+      returnType="java.lang.String"/>
     <operation
       name="listSessionIdsFull"
       description="Return the list of active session ids"
       impact="ACTION"
-      returnType="java.lang.String">    </operation>
+      returnType="java.lang.String"/>
     <operation
       name="getSessionAttribute"
       description="Return a session attribute"
@@ -570,14 +570,15 @@ created by this Manager"
         description="Id of the session"
         type="java.lang.String"/>
     </operation>
-    <operation   name="getCreationTime"
-          description="Get the creation time"
-               impact="ACTION"
-           returnType="java.lang.String">
-      <parameter name="sessionId"
-          description="Id of the session"
-                 type="java.lang.String"/>
+    <operation
+      name="getCreationTime"
+      description="Get the creation time"
+      impact="ACTION"
+      returnType="java.lang.String">
+      <parameter
+        name="sessionId"
+        description="Id of the session"
+        type="java.lang.String"/>
     </operation>
-    
   </mbean>
 </mbeans-descriptors>
index f93878e..2a8eda1 100644 (file)
@@ -6,9 +6,7 @@
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
+  http://www.apache.org/licenses/LICENSE-2.0
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    "-//Apache Software Foundation//DTD Model MBeans Configuration File"
    "http://jakarta.apache.org/commons/dtds/mbeans-descriptors.dtd">
 <mbeans-descriptors>
-
-  <mbean         name="SimpleTcpCluster"
-           description="Tcp Cluster implementation"
-               domain="Catalina"
-                group="Cluster"
-                 type="org.apache.catalina.ha.tcp.SimpleTcpCluster">
-    <attribute   name="info"
-          description="Class version info"
-                 type="java.lang.String"
-                 writeable="false"/>
-    <attribute   name="notifyLifecycleListenerOnFailure"
-          description="notify lifecycleListener from message transfer failure"
-                            is="true"
-                 type="boolean"/>  
-    <attribute   name="heartbeatBackgroundEnabled"
-          description="enable that container background thread call channel heartbeat, default is that channel mangage heartbeat itself."
-                            is="true"
-                 type="boolean"/>  
-     <attribute   name="clusterName"
-          description="name of cluster"
-                 type="java.lang.String"/>
-    <attribute   name="managerClassName"
-          description="session mananager classname"
-                 type="java.lang.String"/>
-    <attribute   name="clusterLogName"
-          description="Name of cluster transfer log device"
-                 type="java.lang.String"/>
-    <attribute   name="doClusterLog"
-                            is="true"
-          description="enable cluster log transfer logging"
-                 type="boolean"/>
-    <operation   name="setProperty"
-               description="set a property to all cluster managers (with prefix 'manager.')"
-               impact="ACTION"
-               returnType="void">
-      <parameter name="key"
-                 description="Property name"
-                 type="java.lang.String"/>
-      <parameter name="value"
-                 description="Property value"
-                 type="java.lang.String"/>
+  <mbean
+    name="SimpleTcpCluster"
+    description="Tcp Cluster implementation"
+    domain="Catalina"
+    group="Cluster"
+    type="org.apache.catalina.ha.tcp.SimpleTcpCluster">
+    <attribute
+      name="info"
+      description="Class version info"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="notifyLifecycleListenerOnFailure"
+      description="notify lifecycleListener from message transfer failure"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="heartbeatBackgroundEnabled"
+      description="enable that container background thread call channel heartbeat, default is that channel mangage heartbeat itself."
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="clusterName"
+      description="name of cluster"
+      type="java.lang.String"/>
+    <attribute
+      name="managerClassName"
+      description="session mananager classname"
+      type="java.lang.String"/>
+    <attribute
+      name="clusterLogName"
+      description="Name of cluster transfer log device"
+      type="java.lang.String"/>
+    <attribute
+      name="doClusterLog"
+      is="true"
+      description="enable cluster log transfer logging"
+      type="boolean"/>
+    <operation
+      name="setProperty"
+      description="set a property to all cluster managers (with prefix 'manager.')"
+      impact="ACTION"
+      returnType="void">
+      <parameter
+        name="key"
+        description="Property name"
+        type="java.lang.String"/>
+      <parameter
+        name="value"
+        description="Property value"
+        type="java.lang.String"/>
     </operation>
-
-    <operation   name="send"
-               description="send message to all cluster members"
-               impact="ACTION"
-               returnType="void">
-      <parameter name="message"
-                 description="replication message"
-                 type="org.apache.catalina.ha.ClusterMessage"/>
+    <operation
+      name="send"
+      description="send message to all cluster members"
+      impact="ACTION"
+      returnType="void">
+      <parameter
+        name="message"
+        description="replication message"
+        type="org.apache.catalina.ha.ClusterMessage"/>
     </operation>
-    
-    <operation   name="sendClusterDomain"
-               description="send message to all cluster members with same domain"
-               impact="ACTION"
-               returnType="void">
-      <parameter name="message"
-                 description="replication message"
-                 type="org.apache.catalina.ha.ClusterMessage"/>
+    <operation
+      name="sendClusterDomain"
+      description="send message to all cluster members with same domain"
+      impact="ACTION"
+      returnType="void">
+      <parameter
+        name="message"
+        description="replication message"
+        type="org.apache.catalina.ha.ClusterMessage"/>
     </operation>
-        
-    <operation   name="start"
-               description="Start the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-    
-    <operation name="stop"
-               description="Stop the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                 
+    <operation
+      name="start"
+      description="Start the cluster"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="stop"
+      description="Stop the cluster"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-
-  <mbean         name="ClusterReceiverBase"
-           description="Tcp Cluster ReplicationListener implementation"
-               domain="Catalina"
-                group="Cluster"
-                 type="org.apache.catalina.ha.tcp.ClusterReceiverBase">
-    <attribute   name="info"
-          description="Class version info"
-                 type="java.lang.String"
-                 writeable="false"/>
-    <attribute   name="tcpListenAddress"
-          description="tcp listener address"
-                 type="java.lang.String"/>
-    <attribute   name="tcpListenPort"
-          description="tcp listener port"
-                 type="int"/>
-    <attribute   name="tcpThreadCount"
-          description="number of tcp listener worker threads"
-                 type="int"/>
-    <attribute   name="tcpSelectorTimeout"
-          description="tcp listener Selector timeout"
-                 type="long"/>
-    <attribute   name="nrOfMsgsReceived"
-          description="number of messages received from other nodes"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="receivedTime"
-          description="total time message send time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="receivedProcessingTime"
-          description="received processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minReceivedProcessingTime"
-          description="minimal received processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgReceivedProcessingTime"
-          description="received processing time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxReceivedProcessingTime"
-          description="maximal received processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doReceivedProcessingStats"
-          description="create received processing time stats"
-                            is="true"
-                 type="boolean" />                
-    <attribute   name="avgTotalReceivedBytes"
-          description="received totalReceivedBytes / nrOfMsgsReceived"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalReceivedBytes"
-          description="number of bytes received"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="sendAck"
-          description="send ack after data received"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-    <attribute   name="compress"
-          description="data received compressed"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-    <attribute   name="doListen"
-          description="is port really started"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-                 
-       <operation name="resetStatistics"
-               description="Reset all statistics"
-               impact="ACTION"
-               returnType="void">
-    </operation>       
-
-    <operation   name="start"
-               description="Start the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-    
-    <operation name="stop"
-               description="Stop the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                 
+  <mbean
+    name="ClusterReceiverBase"
+    description="Tcp Cluster ReplicationListener implementation"
+    domain="Catalina"
+    group="Cluster"
+    type="org.apache.catalina.ha.tcp.ClusterReceiverBase">
+    <attribute
+      name="info"
+      description="Class version info"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="tcpListenAddress"
+      description="tcp listener address"
+      type="java.lang.String"/>
+    <attribute
+      name="tcpListenPort"
+      description="tcp listener port"
+      type="int"/>
+    <attribute
+      name="tcpThreadCount"
+      description="number of tcp listener worker threads"
+      type="int"/>
+    <attribute
+      name="tcpSelectorTimeout"
+      description="tcp listener Selector timeout"
+      type="long"/>
+    <attribute
+      name="nrOfMsgsReceived"
+      description="number of messages received from other nodes"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="receivedTime"
+      description="total time message send time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="receivedProcessingTime"
+      description="received processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minReceivedProcessingTime"
+      description="minimal received processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgReceivedProcessingTime"
+      description="received processing time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxReceivedProcessingTime"
+      description="maximal received processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doReceivedProcessingStats"
+      description="create received processing time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="avgTotalReceivedBytes"
+      description="received totalReceivedBytes / nrOfMsgsReceived"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalReceivedBytes"
+      description="number of bytes received"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="sendAck"
+      description="send ack after data received"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="compress"
+      description="data received compressed"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="doListen"
+      description="is port really started"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <operation
+      name="resetStatistics"
+      description="Reset all statistics"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="start"
+      description="Start the cluster"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="stop"
+      description="Stop the cluster"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-
-  <mbean         name="SocketReplicationListener"
-           description="Tcp Cluster SocketReplicationListener implementation"
-               domain="Catalina"
-                group="Cluster"
-                 type="org.apache.catalina.ha.tcp.SocketReplicationListener">
-    <attribute   name="info"
-          description="Class version info"
-                 type="java.lang.String"
-                 writeable="false"/>
-    <attribute   name="tcpListenAddress"
-          description="tcp listener address"
-                 type="java.lang.String"/>
-    <attribute   name="tcpListenPort"
-          description="tcp listener port"
-                 type="int"/>
-    <attribute   name="tcpListenMaxPort"
-          description="max tcp listen used port"
-                 type="int"/>
-    <attribute   name="tcpListenTimeout"
-          description="max tcp listen timeout (sec) wait for ServerSocket start"
-                 type="int"/>                
-    <attribute   name="nrOfMsgsReceived"
-          description="number of messages received from other nodes"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="receivedTime"
-          description="total time message send time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="receivedProcessingTime"
-          description="received processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minReceivedProcessingTime"
-          description="minimal received processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgReceivedProcessingTime"
-          description="received processing time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxReceivedProcessingTime"
-          description="maximal received processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doReceivedProcessingStats"
-          description="create received processing time stats"
-                            is="true"
-                 type="boolean" />                
-    <attribute   name="avgTotalReceivedBytes"
-          description="received totalReceivedBytes / nrOfMsgsReceived"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalReceivedBytes"
-          description="number of bytes received"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="sendAck"
-          description="send ack after data received"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-   <attribute   name="compress"
-          description="data received compressed"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-   <attribute   name="doListen"
-          description="is port really started"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-                 
-       <operation name="resetStatistics"
-               description="Reset all statistics"
-               impact="ACTION"
-               returnType="void">
-    </operation>       
-
-    <operation   name="start"
-               description="Start the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-    
-    <operation name="stop"
-               description="Stop the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                 
+  <mbean
+    name="SocketReplicationListener"
+    description="Tcp Cluster SocketReplicationListener implementation"
+    domain="Catalina"
+    group="Cluster"
+    type="org.apache.catalina.ha.tcp.SocketReplicationListener">
+    <attribute
+      name="info"
+      description="Class version info"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="tcpListenAddress"
+      description="tcp listener address"
+      type="java.lang.String"/>
+    <attribute
+      name="tcpListenPort"
+      description="tcp listener port"
+      type="int"/>
+    <attribute
+      name="tcpListenMaxPort"
+      description="max tcp listen used port"
+      type="int"/>
+    <attribute
+      name="tcpListenTimeout"
+      description="max tcp listen timeout (sec) wait for ServerSocket start"
+      type="int"/>
+    <attribute
+      name="nrOfMsgsReceived"
+      description="number of messages received from other nodes"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="receivedTime"
+      description="total time message send time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="receivedProcessingTime"
+      description="received processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minReceivedProcessingTime"
+      description="minimal received processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgReceivedProcessingTime"
+      description="received processing time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxReceivedProcessingTime"
+      description="maximal received processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doReceivedProcessingStats"
+      description="create received processing time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="avgTotalReceivedBytes"
+      description="received totalReceivedBytes / nrOfMsgsReceived"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalReceivedBytes"
+      description="number of bytes received"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="sendAck"
+      description="send ack after data received"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="compress"
+      description="data received compressed"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="doListen"
+      description="is port really started"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <operation
+      name="resetStatistics"
+      description="Reset all statistics"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="start"
+      description="Start the cluster"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="stop"
+      description="Stop the cluster"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-  
-  <mbean         name="ReplicationTransmitter"
-          description="Tcp replication transmitter"
-               domain="Catalina"
-                group="ClusterSender"
-                 type="org.apache.catalina.ha.tcp.ReplicationTransmitter">
-    <attribute   name="info"
-          description="Class version info"
-                 type="java.lang.String"
-                 writeable="false"/>
-    <attribute   name="replicationMode"
-          description="replication mode (synchnous,pooled.asynchnous,fastasyncqueue)"
-                 type="java.lang.String"/>
-    <attribute   name="ackTimeout"
-          description="acknowledge timeout"
-                 type="long"/>
-    <attribute   name="autoConnect"
-          description="is sender disabled, fork a new socket"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="waitForAck"
-          description="Wait for ack after data send"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-    <attribute   name="processingTime"
-          description="sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minProcessingTime"
-          description="minimal sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgProcessingTime"
-          description="processing time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxProcessingTime"
-          description="maximal sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doTransmitterProcessingStats"
-          description="create processing time stats"
-                            is="true"
-                 type="boolean" />                
-    <attribute   name="nrOfRequests"
-          description="number of send messages to other members"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalBytes"
-          description="number of bytes transfered"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="failureCounter"
-          description="number of wrong transfers"
-                 type="long"
-                 writeable="false"/>
-       <attribute name="senderObjectNames"
-               description="get all sender object names"
-               type="[Ljavax.management.ObjectName;"
-               writeable="false"/>
-    <operation   name="start"
-               description="Start the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>    
-    <operation name="stop"
-               description="Stop the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="resetStatistics"
-               description="Reset all statistics"
-               impact="ACTION"
-               returnType="void">
-    </operation>       
-       <operation name="checkKeepAlive"
-               description="Check all sender connection for close socket (keepalive)"
-               impact="ACTION"
-               returnType="void">
-    </operation>
+  <mbean
+    name="ReplicationTransmitter"
+    description="Tcp replication transmitter"
+    domain="Catalina"
+    group="ClusterSender"
+    type="org.apache.catalina.ha.tcp.ReplicationTransmitter">
+    <attribute
+      name="info"
+      description="Class version info"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="replicationMode"
+      description="replication mode (synchnous,pooled.asynchnous,fastasyncqueue)"
+      type="java.lang.String"/>
+    <attribute
+      name="ackTimeout"
+      description="acknowledge timeout"
+      type="long"/>
+    <attribute
+      name="autoConnect"
+      description="is sender disabled, fork a new socket"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="waitForAck"
+      description="Wait for ack after data send"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="processingTime"
+      description="sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minProcessingTime"
+      description="minimal sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgProcessingTime"
+      description="processing time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxProcessingTime"
+      description="maximal sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doTransmitterProcessingStats"
+      description="create processing time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="nrOfRequests"
+      description="number of send messages to other members"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalBytes"
+      description="number of bytes transfered"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="failureCounter"
+      description="number of wrong transfers"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="senderObjectNames"
+      description="get all sender object names"
+      type="[Ljavax.management.ObjectName;"
+      writeable="false"/>
+    <operation
+      name="start"
+      description="Start the cluster"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="stop"
+      description="Stop the cluster"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="resetStatistics"
+      description="Reset all statistics"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="checkKeepAlive"
+      description="Check all sender connection for close socket (keepalive)"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-
-  <mbean         name="AsyncSocketSender"
-          description="Async Cluster Sender"
-               domain="Catalina"
-                group="IDataSender"
-                 type="org.apache.catalina.ha.tcp.AsyncSocketSender">
-    <attribute   name="info"
-          description="Class version info"
-                 type="java.lang.String"
-                 writeable="false"/>
-    <attribute   name="address"
-          description="sender ip address"
-                 type="java.net.InetAddress"
-                 writeable="false"/>
-    <attribute   name="port"
-          description="sender port"
-                 type="int"
-                 writeable="false" />
-    <attribute   name="suspect"
-          description="Socket is gone"
-                 type="boolean"/>
-    <attribute   name="waitForAck"
-          description="Wait for ack after data send"
-                            is="true"
-                 type="boolean"
-                 writeable="false"/>
-    <attribute   name="ackTimeout"
-          description="acknowledge timeout"
-                 type="long"/>                 
-    <attribute   name="avgMessageSize"
-                 writeable="false"
-          description="avg message size (totalbytes/nrOfRequests"
-                 type="long"/>
-    <attribute   name="queueSize"
-                 writeable="false"
-          description="queue size"
-                 type="int"/>
-    <attribute   name="queuedNrOfBytes"
-                 writeable="false"
-          description="number of bytes over all queued messages"
-                 type="long"/>
-    <attribute   name="messageTransferStarted"
-          description="message is in transfer"
-                 type="boolean"
-                 is="true"
-                 writeable="false"/>
-    <attribute   name="keepAliveTimeout"
-          description="active socket keep alive timeout"
-                 type="long"/>
-    <attribute   name="keepAliveMaxRequestCount"
-          description="max request over this socket"
-                 type="int"/>
-    <attribute   name="keepAliveCount"
-          description="keep Alive request count"
-                 type="int"
-                 writeable="false"/>
-    <attribute   name="keepAliveConnectTime"
-          description="Connect time for keep alive"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="resend"
-          description="after send failure make a resend"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="connected"
-                 is="true"
-          description="socket connected"
-                 type="boolean"
-                 writeable="false"/>
-    <attribute   name="nrOfRequests"
-          description="number of send messages to other members"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalBytes"
-          description="number of bytes transfered"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="processingTime"
-          description="sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minProcessingTime"
-          description="minimal sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgProcessingTime"
-          description="processing time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxProcessingTime"
-          description="maximal sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doProcessingStats"
-          description="create processing time stats"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="waitAckTime"
-          description="sending waitAck time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minWaitAckTime"
-          description="minimal sending waitAck time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgWaitAckTime"
-          description="waitAck time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxWaitAckTime"
-          description="maximal sending waitAck time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doWaitAckStats"
-          description="create waitAck time stats"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="connectCounter"
-          description="counts connects"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="disconnectCounter"
-          description="counts disconnects"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="socketOpenCounter"
-          description="counts open socket (KeepAlive and connects)"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="socketOpenFailureCounter"
-          description="counts open socket failures"
-                 type="long"
-                 writeable="false"/>                                            
-    <attribute   name="socketCloseCounter"
-          description="counts closed socket (KeepAlive and disconnects)"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="missingAckCounter"
-          description="counts missing ack"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="dataResendCounter"
-          description="counts data resends"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="dataFailureCounter"
-          description="counts data send failures"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="inQueueCounter"
-          description="counts all queued messages"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="outQueueCounter"
-          description="counts all successfully sended messages"
-                 type="long"
-                 writeable="false"/>
-       <operation name="connect"
-               description="connect to other replication node"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="disconnect"
-               description="disconnect to other replication node"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="checkKeepAlive"
-               description="Check connection for close socket"
-               impact="ACTION"
-               returnType="boolean">
-    </operation>
-       <operation name="resetStatistics"
-               description="Reset all statistics"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                                
+  <mbean
+    name="AsyncSocketSender"
+    description="Async Cluster Sender"
+    domain="Catalina"
+    group="IDataSender"
+    type="org.apache.catalina.ha.tcp.AsyncSocketSender">
+    <attribute
+      name="info"
+      description="Class version info"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="address"
+      description="sender ip address"
+      type="java.net.InetAddress"
+      writeable="false"/>
+    <attribute
+      name="port"
+      description="sender port"
+      type="int"
+      writeable="false"/>
+    <attribute
+      name="suspect"
+      description="Socket is gone"
+      type="boolean"/>
+    <attribute
+      name="waitForAck"
+      description="Wait for ack after data send"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="ackTimeout"
+      description="acknowledge timeout"
+      type="long"/>
+    <attribute
+      name="avgMessageSize"
+      writeable="false"
+      description="avg message size (totalbytes/nrOfRequests"
+      type="long"/>
+    <attribute
+      name="queueSize"
+      writeable="false"
+      description="queue size"
+      type="int"/>
+    <attribute
+      name="queuedNrOfBytes"
+      writeable="false"
+      description="number of bytes over all queued messages"
+      type="long"/>
+    <attribute
+      name="messageTransferStarted"
+      description="message is in transfer"
+      type="boolean"
+      is="true"
+      writeable="false"/>
+    <attribute
+      name="keepAliveTimeout"
+      description="active socket keep alive timeout"
+      type="long"/>
+    <attribute
+      name="keepAliveMaxRequestCount"
+      description="max request over this socket"
+      type="int"/>
+    <attribute
+      name="keepAliveCount"
+      description="keep Alive request count"
+      type="int"
+      writeable="false"/>
+    <attribute
+      name="keepAliveConnectTime"
+      description="Connect time for keep alive"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="resend"
+      description="after send failure make a resend"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="connected"
+      is="true"
+      description="socket connected"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="nrOfRequests"
+      description="number of send messages to other members"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalBytes"
+      description="number of bytes transfered"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="processingTime"
+      description="sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minProcessingTime"
+      description="minimal sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgProcessingTime"
+      description="processing time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxProcessingTime"
+      description="maximal sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doProcessingStats"
+      description="create processing time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="waitAckTime"
+      description="sending waitAck time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minWaitAckTime"
+      description="minimal sending waitAck time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgWaitAckTime"
+      description="waitAck time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxWaitAckTime"
+      description="maximal sending waitAck time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doWaitAckStats"
+      description="create waitAck time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="connectCounter"
+      description="counts connects"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="disconnectCounter"
+      description="counts disconnects"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="socketOpenCounter"
+      description="counts open socket (KeepAlive and connects)"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="socketOpenFailureCounter"
+      description="counts open socket failures"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="socketCloseCounter"
+      description="counts closed socket (KeepAlive and disconnects)"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="missingAckCounter"
+      description="counts missing ack"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="dataResendCounter"
+      description="counts data resends"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="dataFailureCounter"
+      description="counts data send failures"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="inQueueCounter"
+      description="counts all queued messages"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="outQueueCounter"
+      description="counts all successfully sended messages"
+      type="long"
+      writeable="false"/>
+    <operation
+      name="connect"
+      description="connect to other replication node"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="disconnect"
+      description="disconnect to other replication node"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="checkKeepAlive"
+      description="Check connection for close socket"
+      impact="ACTION"
+      returnType="boolean"/>
+    <operation
+      name="resetStatistics"
+      description="Reset all statistics"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-
- <mbean         name="FastAsyncSocketSender"
-          description="Fast Async Cluster Sender"
-               domain="Catalina"
-                group="IDataSender"
-                 type="org.apache.catalina.ha.tcp.FastAsyncSocketSender">
-    <attribute   name="info"
-          description="Class version info"
-                 type="java.lang.String"
-                 writeable="false"/>
-    <attribute   name="threadPriority"
-          description="change queue thread priority"
-                 type="int"/>                 
-    <attribute   name="address"
-          description="sender ip address"
-                 type="java.net.InetAddress"
-                 writeable="false"/>
-    <attribute   name="port"
-          description="sender port"
-                 type="int"
-                 writeable="false" />
-    <attribute   name="suspect"
-          description="Socket is gone"
-                 type="boolean"/>
-    <attribute   name="waitForAck"
-          description="Wait for ack after data send"
-                            is="true"
-                 type="boolean"
-                 writeable="false"/>
-    <attribute   name="ackTimeout"
-          description="acknowledge timeout"
-                 type="long"/>
-    <attribute   name="avgMessageSize"
-                 writeable="false"
-          description="avg message size (totalbytes/nrOfRequests"
-                 type="long" />
-    <attribute   name="queueSize"
-                 writeable="false"
-          description="queue size"
-                 type="int"/>
-    <attribute   name="queuedNrOfBytes"
-                 writeable="false"
-          description="number of bytes over all queued messages"
-                 type="long"/>
-    <attribute   name="messageTransferStarted"
-          description="message is in transfer"
-                 type="boolean"
-                 is="true"
-                 writeable="false"/>
-    <attribute   name="keepAliveTimeout"
-          description="active socket keep alive timeout"
-                 type="long"/>
-    <attribute   name="keepAliveMaxRequestCount"
-          description="max request over this socket"
-                 type="int"/>
-    <attribute   name="queueAddWaitTimeout"
-          description="add wait timeout (default 10000 msec)"
-                 type="long"/>
-    <attribute   name="queueRemoveWaitTimeout"
-          description="remove wait timeout (default 30000 msec)"
-                 type="long"/>
-    <attribute   name="maxQueueLength"
-          description="max queue length"
-                 type="int"/>
-    <attribute   name="queueTimeWait"
-          description="remember queue wait times"
-                 is="true"
-                 type="boolean"/>
-    <attribute   name="queueCheckLock"
-          description="check to lost locks"
-                 is="true"
-                 type="boolean"/>
-    <attribute   name="queueDoStats"
-          description="activated queue stats"
-                 is="true"
-                 type="boolean"/>
-    <attribute   name="keepAliveCount"
-          description="keep Alive request count"
-                 type="int"
-                 writeable="false"/>
-    <attribute   name="keepAliveConnectTime"
-          description="Connect time for keep alive"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="resend"
-          description="after send failure make a resend"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="connected"
-                 is="true"
-          description="socket connected"
-                 type="boolean"
-                 writeable="false"/>
-    <attribute   name="nrOfRequests"
-          description="number of send messages to other members"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalBytes"
-          description="number of bytes transfered"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="processingTime"
-          description="sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minProcessingTime"
-          description="minimal sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgProcessingTime"
-          description="processing time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxProcessingTime"
-          description="maximal sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doProcessingStats"
-          description="create Processing time stats"
-                            is="true"
-                 type="boolean" />                 
-    <attribute   name="waitAckTime"
-          description="sending waitAck time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minWaitAckTime"
-          description="minimal sending waitAck time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgWaitAckTime"
-          description="waitAck time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxWaitAckTime"
-          description="maximal sending waitAck time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doWaitAckStats"
-          description="create waitAck time stats"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="connectCounter"
-          description="counts connects"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="disconnectCounter"
-          description="counts disconnects"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="socketOpenCounter"
-          description="counts open socket (KeepAlive and connects)"
-                 type="long"
-                 writeable="false"/>                            
-    <attribute   name="socketOpenFailureCounter"
-          description="counts open socket failures"
-                 type="long"
-                 writeable="false"/>                                            
-    <attribute   name="socketCloseCounter"
-          description="counts closed socket (KeepAlive and disconnects)"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="missingAckCounter"
-          description="counts missing ack"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="dataResendCounter"
-          description="counts data resends"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="dataFailureCounter"
-          description="counts data send failures"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="inQueueCounter"
-          description="counts all queued messages"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="outQueueCounter"
-          description="counts all successfully sended messages"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="queueAddWaitTime"
-          description="queue add wait time (tomcat thread waits)"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="queueRemoveWaitTime"
-          description="queue remove wait time (queue thread waits)"
-                 type="long"
-                 writeable="false"/>
-       <operation name="connect"
-               description="connect to other replication node"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="disconnect"
-               description="disconnect to other replication node"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="checkKeepAlive"
-               description="Check connection for close socket"
-               impact="ACTION"
-               returnType="boolean">
-    </operation>
-       <operation name="resetStatistics"
-               description="Reset all statistics"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                                
+  <mbean
+    name="FastAsyncSocketSender"
+    description="Fast Async Cluster Sender"
+    domain="Catalina"
+    group="IDataSender"
+    type="org.apache.catalina.ha.tcp.FastAsyncSocketSender">
+    <attribute
+      name="info"
+      description="Class version info"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="threadPriority"
+      description="change queue thread priority"
+      type="int"/>
+    <attribute
+      name="address"
+      description="sender ip address"
+      type="java.net.InetAddress"
+      writeable="false"/>
+    <attribute
+      name="port"
+      description="sender port"
+      type="int"
+      writeable="false"/>
+    <attribute
+      name="suspect"
+      description="Socket is gone"
+      type="boolean"/>
+    <attribute
+      name="waitForAck"
+      description="Wait for ack after data send"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="ackTimeout"
+      description="acknowledge timeout"
+      type="long"/>
+    <attribute
+      name="avgMessageSize"
+      writeable="false"
+      description="avg message size (totalbytes/nrOfRequests"
+      type="long"/>
+    <attribute
+      name="queueSize"
+      writeable="false"
+      description="queue size"
+      type="int"/>
+    <attribute
+      name="queuedNrOfBytes"
+      writeable="false"
+      description="number of bytes over all queued messages"
+      type="long"/>
+    <attribute
+      name="messageTransferStarted"
+      description="message is in transfer"
+      type="boolean"
+      is="true"
+      writeable="false"/>
+    <attribute
+      name="keepAliveTimeout"
+      description="active socket keep alive timeout"
+      type="long"/>
+    <attribute
+      name="keepAliveMaxRequestCount"
+      description="max request over this socket"
+      type="int"/>
+    <attribute
+      name="queueAddWaitTimeout"
+      description="add wait timeout (default 10000 msec)"
+      type="long"/>
+    <attribute
+      name="queueRemoveWaitTimeout"
+      description="remove wait timeout (default 30000 msec)"
+      type="long"/>
+    <attribute
+      name="maxQueueLength"
+      description="max queue length"
+      type="int"/>
+    <attribute
+      name="queueTimeWait"
+      description="remember queue wait times"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="queueCheckLock"
+      description="check to lost locks"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="queueDoStats"
+      description="activated queue stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="keepAliveCount"
+      description="keep Alive request count"
+      type="int"
+      writeable="false"/>
+    <attribute
+      name="keepAliveConnectTime"
+      description="Connect time for keep alive"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="resend"
+      description="after send failure make a resend"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="connected"
+      is="true"
+      description="socket connected"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="nrOfRequests"
+      description="number of send messages to other members"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalBytes"
+      description="number of bytes transfered"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="processingTime"
+      description="sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minProcessingTime"
+      description="minimal sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgProcessingTime"
+      description="processing time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxProcessingTime"
+      description="maximal sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doProcessingStats"
+      description="create Processing time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="waitAckTime"
+      description="sending waitAck time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minWaitAckTime"
+      description="minimal sending waitAck time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgWaitAckTime"
+      description="waitAck time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxWaitAckTime"
+      description="maximal sending waitAck time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doWaitAckStats"
+      description="create waitAck time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="connectCounter"
+      description="counts connects"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="disconnectCounter"
+      description="counts disconnects"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="socketOpenCounter"
+      description="counts open socket (KeepAlive and connects)"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="socketOpenFailureCounter"
+      description="counts open socket failures"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="socketCloseCounter"
+      description="counts closed socket (KeepAlive and disconnects)"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="missingAckCounter"
+      description="counts missing ack"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="dataResendCounter"
+      description="counts data resends"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="dataFailureCounter"
+      description="counts data send failures"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="inQueueCounter"
+      description="counts all queued messages"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="outQueueCounter"
+      description="counts all successfully sended messages"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="queueAddWaitTime"
+      description="queue add wait time (tomcat thread waits)"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="queueRemoveWaitTime"
+      description="queue remove wait time (queue thread waits)"
+      type="long"
+      writeable="false"/>
+    <operation
+      name="connect"
+      description="connect to other replication node"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="disconnect"
+      description="disconnect to other replication node"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="checkKeepAlive"
+      description="Check connection for close socket"
+      impact="ACTION"
+      returnType="boolean"/>
+    <operation
+      name="resetStatistics"
+      description="Reset all statistics"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-
-  <mbean         name="PooledSocketSender"
-          description="Pooled Cluster Sender"
-               domain="Catalina"
-                group="IDataSender"
-                 type="org.apache.catalina.ha.tcp.PooledSocketSender">
-    <attribute   name="address"
-          description="sender ip address"
-                 type="java.net.InetAddress"
-                 writeable="false"/>
-    <attribute   name="port"
-          description="sender port"
-                 type="int"
-                 writeable="false" />
-    <attribute   name="suspect"
-          description="Socket is gone"
-                 type="boolean"/>
-    <attribute   name="ackTimeout"
-          description="acknowledge timeout"
-                 type="long"/>
-    <attribute   name="waitForAck"
-          description="Wait for ack after data send"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-    <attribute   name="maxPoolSocketLimit"
-          description="Max parallel sockets"
-                 type="int"/>
-    <attribute   name="keepAliveTimeout"
-          description="active socket keep alive timeout"
-                 type="long"/>
-    <attribute   name="keepAliveMaxRequestCount"
-          description="max request over this socket"
-                 type="int"/>
-    <attribute   name="resend"
-          description="after send failure make a resend"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="connected"
-                 is="true"
-          description="socket connected"
-                 type="boolean"
-                 writeable="false"/>
-    <attribute   name="avgMessageSize"
-                 writeable="false"
-          description="avg message size (totalbytes/nrOfRequests"
-                 type="long"/>
-    <attribute   name="nrOfRequests"
-          description="number of send messages to other members"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalBytes"
-          description="number of bytes transfered"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="connectCounter"
-          description="counts connects"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="disconnectCounter"
-          description="counts disconnects"
-                 type="long"
-                 writeable="false"/>
-       <operation name="connect"
-               description="start Queue to connect to ohter replication node"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="disconnect"
-               description="stop Queue to other replication node"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="resetStatistics"
-               description="Reset all statistics"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                                
+  <mbean
+    name="PooledSocketSender"
+    description="Pooled Cluster Sender"
+    domain="Catalina"
+    group="IDataSender"
+    type="org.apache.catalina.ha.tcp.PooledSocketSender">
+    <attribute
+      name="address"
+      description="sender ip address"
+      type="java.net.InetAddress"
+      writeable="false"/>
+    <attribute
+      name="port"
+      description="sender port"
+      type="int"
+      writeable="false"/>
+    <attribute
+      name="suspect"
+      description="Socket is gone"
+      type="boolean"/>
+    <attribute
+      name="ackTimeout"
+      description="acknowledge timeout"
+      type="long"/>
+    <attribute
+      name="waitForAck"
+      description="Wait for ack after data send"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="maxPoolSocketLimit"
+      description="Max parallel sockets"
+      type="int"/>
+    <attribute
+      name="keepAliveTimeout"
+      description="active socket keep alive timeout"
+      type="long"/>
+    <attribute
+      name="keepAliveMaxRequestCount"
+      description="max request over this socket"
+      type="int"/>
+    <attribute
+      name="resend"
+      description="after send failure make a resend"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="connected"
+      is="true"
+      description="socket connected"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="avgMessageSize"
+      writeable="false"
+      description="avg message size (totalbytes/nrOfRequests"
+      type="long"/>
+    <attribute
+      name="nrOfRequests"
+      description="number of send messages to other members"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalBytes"
+      description="number of bytes transfered"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="connectCounter"
+      description="counts connects"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="disconnectCounter"
+      description="counts disconnects"
+      type="long"
+      writeable="false"/>
+    <operation
+      name="connect"
+      description="start Queue to connect to ohter replication node"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="disconnect"
+      description="stop Queue to other replication node"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="resetStatistics"
+      description="Reset all statistics"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-
-  <mbean         name="SocketSender"
-          description="Sync Cluster Sender"
-               domain="Catalina"
-                group="IDataSender"
-                 type="org.apache.catalina.ha.tcp.SocketSender">
-    <attribute   name="address"
-          description="sender ip address"
-                 type="java.net.InetAddress"
-                 writeable="false"/>
-    <attribute   name="port"
-          description="sender port"
-                 type="int"
-                 writeable="false" />
-    <attribute   name="suspect"
-          description="Socket is gone"
-                 type="boolean"/>
-    <attribute   name="ackTimeout"
-          description="acknowledge timeout"
-                 type="long"/>
-    <attribute   name="waitForAck"
-          description="Wait for ack after data send"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-    <attribute   name="keepAliveTimeout"
-          description="active socket keep alive timeout"
-                 type="long"/>
-    <attribute   name="keepAliveMaxRequestCount"
-          description="max request over this socket"
-                 type="int"/>
-    <attribute   name="messageTransferStarted"
-          description="message is in transfer"
-                 type="boolean"
-                 is="true"
-                 writeable="false"/>
-    <attribute   name="keepAliveCount"
-          description="keep Alive request count"
-                 type="int"
-                 writeable="false"/>
-    <attribute   name="keepAliveConnectTime"
-          description="Connect time for keep alive"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="resend"
-          description="after send failure make a resend"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="connected"
-                 is="true"
-          description="socket connected"
-                 type="boolean"
-                 writeable="false"/>
-    <attribute   name="avgMessageSize"
-                 writeable="false"
-          description="avg message size (totalbytes/nrOfRequests"
-                 type="long"/>
-    <attribute   name="nrOfRequests"
-          description="number of send messages to other members"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalBytes"
-          description="number of bytes transfered"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="processingTime"
-          description="sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minProcessingTime"
-          description="minimal sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgProcessingTime"
-          description="processing time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxProcessingTime"
-          description="maximal sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doProcessingStats"
-          description="create Processing time stats"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="waitAckTime"
-          description="sending waitAck time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minWaitAckTime"
-          description="minimal sending waitAck time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgWaitAckTime"
-          description="waitAck time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxWaitAckTime"
-          description="maximal sending waitAck time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doWaitAckStats"
-          description="create waitAck time stats"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="connectCounter"
-          description="counts connects"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="disconnectCounter"
-          description="counts disconnects"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="socketCloseCounter"
-          description="counts closed socket (KeepAlive and disconnects)"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="socketOpenFailureCounter"
-          description="counts open socket failures"
-                 type="long"
-                 writeable="false"/>                                            
-    <attribute   name="socketOpenCounter"
-          description="counts open socket (KeepAlive and connects)"
-                 type="long"
-                 writeable="false"/>                            
-    <attribute   name="missingAckCounter"
-          description="counts missing ack"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="dataResendCounter"
-          description="counts data resends"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="dataFailureCounter"
-          description="counts data send failures"
-                 type="long"
-                 writeable="false"/>
-       <operation name="connect"
-               description="connect to other replication node"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="disconnect"
-               description="disconnect to other replication node"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="checkKeepAlive"
-               description="Check connection for close socket"
-               impact="ACTION"
-               returnType="boolean">
-    </operation>
-       <operation name="resetStatistics"
-               description="Reset all statistics"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                                
+  <mbean
+    name="SocketSender"
+    description="Sync Cluster Sender"
+    domain="Catalina"
+    group="IDataSender"
+    type="org.apache.catalina.ha.tcp.SocketSender">
+    <attribute
+      name="address"
+      description="sender ip address"
+      type="java.net.InetAddress"
+      writeable="false"/>
+    <attribute
+      name="port"
+      description="sender port"
+      type="int"
+      writeable="false"/>
+    <attribute
+      name="suspect"
+      description="Socket is gone"
+      type="boolean"/>
+    <attribute
+      name="ackTimeout"
+      description="acknowledge timeout"
+      type="long"/>
+    <attribute
+      name="waitForAck"
+      description="Wait for ack after data send"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="keepAliveTimeout"
+      description="active socket keep alive timeout"
+      type="long"/>
+    <attribute
+      name="keepAliveMaxRequestCount"
+      description="max request over this socket"
+      type="int"/>
+    <attribute
+      name="messageTransferStarted"
+      description="message is in transfer"
+      type="boolean"
+      is="true"
+      writeable="false"/>
+    <attribute
+      name="keepAliveCount"
+      description="keep Alive request count"
+      type="int"
+      writeable="false"/>
+    <attribute
+      name="keepAliveConnectTime"
+      description="Connect time for keep alive"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="resend"
+      description="after send failure make a resend"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="connected"
+      is="true"
+      description="socket connected"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="avgMessageSize"
+      writeable="false"
+      description="avg message size (totalbytes/nrOfRequests"
+      type="long"/>
+    <attribute
+      name="nrOfRequests"
+      description="number of send messages to other members"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalBytes"
+      description="number of bytes transfered"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="processingTime"
+      description="sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minProcessingTime"
+      description="minimal sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgProcessingTime"
+      description="processing time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxProcessingTime"
+      description="maximal sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doProcessingStats"
+      description="create Processing time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="waitAckTime"
+      description="sending waitAck time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minWaitAckTime"
+      description="minimal sending waitAck time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgWaitAckTime"
+      description="waitAck time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxWaitAckTime"
+      description="maximal sending waitAck time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doWaitAckStats"
+      description="create waitAck time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="connectCounter"
+      description="counts connects"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="disconnectCounter"
+      description="counts disconnects"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="socketCloseCounter"
+      description="counts closed socket (KeepAlive and disconnects)"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="socketOpenFailureCounter"
+      description="counts open socket failures"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="socketOpenCounter"
+      description="counts open socket (KeepAlive and connects)"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="missingAckCounter"
+      description="counts missing ack"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="dataResendCounter"
+      description="counts data resends"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="dataFailureCounter"
+      description="counts data send failures"
+      type="long"
+      writeable="false"/>
+    <operation
+      name="connect"
+      description="connect to other replication node"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="disconnect"
+      description="disconnect to other replication node"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="checkKeepAlive"
+      description="Check connection for close socket"
+      impact="ACTION"
+      returnType="boolean"/>
+    <operation
+      name="resetStatistics"
+      description="Reset all statistics"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-    
-  <mbean         name="ReplicationValve"
-          description="Valve for simple tcp replication"
-               domain="Catalina"
-                group="Valve"
-                 type="org.apache.catalina.ha.tcp.ReplicationValve">
-    <attribute   name="info"
-          description="Class version info"
-                 type="java.lang.String"
-                 writeable="false"/>
-    <attribute   name="filter"
-          description="resource filter to disable session replication check"
-                 type="java.lang.String"/>
-    <attribute   name="primaryIndicator"
-                            is="true"
-          description="set indicator that request processing is at primary session node"
-                 type="boolean"/>
-    <attribute   name="primaryIndicatorName"
-          description="Request attribute name to indicate that request processing is at primary session node"
-                 type="java.lang.String"/>
-    <attribute   name="doProcessingStats"
-                            is="true"
-          description="active statistics counting"
-                 type="boolean"/>
-       <attribute   name="nrOfRequests"
-          description="number of replicated requests"
-                 type="long"
-                 writeable="false"/>
-       <attribute   name="nrOfFilterRequests"
-          description="number of filtered requests"
-                 type="long"
-                 writeable="false"/>
-       <attribute   name="nrOfSendRequests"
-          description="number of send requests"
-                 type="long"
-                 writeable="false"/>
-       <attribute   name="nrOfCrossContextSendRequests"
-          description="number of send cross context session requests"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalRequestTime"
-          description="total replicated request time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalSendTime"
-          description="total replicated send time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="lastSendTime"
-          description="last replicated request time"
-                 type="long"
-                 writeable="false"/>
-    <operation name="resetStatistics"
-               description="Reset all statistics"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                 
+  <mbean
+    name="ReplicationValve"
+    description="Valve for simple tcp replication"
+    domain="Catalina"
+    group="Valve"
+    type="org.apache.catalina.ha.tcp.ReplicationValve">
+    <attribute
+      name="info"
+      description="Class version info"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="filter"
+      description="resource filter to disable session replication check"
+      type="java.lang.String"/>
+    <attribute
+      name="primaryIndicator"
+      is="true"
+      description="set indicator that request processing is at primary session node"
+      type="boolean"/>
+    <attribute
+      name="primaryIndicatorName"
+      description="Request attribute name to indicate that request processing is at primary session node"
+      type="java.lang.String"/>
+    <attribute
+      name="doProcessingStats"
+      is="true"
+      description="active statistics counting"
+      type="boolean"/>
+    <attribute
+      name="nrOfRequests"
+      description="number of replicated requests"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="nrOfFilterRequests"
+      description="number of filtered requests"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="nrOfSendRequests"
+      description="number of send requests"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="nrOfCrossContextSendRequests"
+      description="number of send cross context session requests"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalRequestTime"
+      description="total replicated request time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalSendTime"
+      description="total replicated send time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="lastSendTime"
+      description="last replicated request time"
+      type="long"
+      writeable="false"/>
+    <operation
+      name="resetStatistics"
+      description="Reset all statistics"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-
-
 </mbeans-descriptors>
index dd665ab..3cc6583 100644 (file)
@@ -6,9 +6,7 @@
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
+  http://www.apache.org/licenses/LICENSE-2.0
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   limitations under the License.
 -->
 <mbeans-descriptors>
-
-  <mbean         name="SimpleTcpCluster"
-            className="org.apache.catalina.mbeans.ClassNameMBean"
-          description="Tcp Cluster implementation"
-               domain="Catalina"
-                group="Cluster"
-                 type="org.apache.catalina.ha.tcp.SimpleTcpCluster">
-
-    <attribute   name="protocolStack"
-          description="JavaGroups protocol stack selection"
-                 type="java.lang.String"/>
-
+  <mbean
+    name="SimpleTcpCluster"
+    className="org.apache.catalina.mbeans.ClassNameMBean"
+    description="Tcp Cluster implementation"
+    domain="Catalina"
+    group="Cluster"
+    type="org.apache.catalina.ha.tcp.SimpleTcpCluster">
+    <attribute
+      name="protocolStack"
+      description="JavaGroups protocol stack selection"
+      type="java.lang.String"/>
   </mbean>
-
-
-  <mbean         name="SimpleTcpReplicationManager"
-            className="org.apache.catalina.mbeans.ClassNameMBean"
-          description="Clustered implementation of the Manager interface"
-               domain="Catalina"
-                group="Manager"
-                 type="org.apache.catalina.ha.tcp.SimpleTcpReplicationManager">
-
-    <attribute   name="algorithm"
-          description="The message digest algorithm to be used when generating
+  <mbean
+    name="SimpleTcpReplicationManager"
+    className="org.apache.catalina.mbeans.ClassNameMBean"
+    description="Clustered implementation of the Manager interface"
+    domain="Catalina"
+    group="Manager"
+    type="org.apache.catalina.ha.tcp.SimpleTcpReplicationManager">
+    <attribute
+      name="algorithm"
+      description="The message digest algorithm to be used when generating
                        session identifiers"
-                 type="java.lang.String"/>
-
-    <attribute   name="checkInterval"
-          description="The interval (in seconds) between checks for expired
+      type="java.lang.String"/>
+    <attribute
+      name="checkInterval"
+      description="The interval (in seconds) between checks for expired
                        sessions"
-                 type="int"/>
-
-    <attribute   name="className"
-          description="Fully qualified class name of the managed object"
-                 type="java.lang.String"
-            writeable="false"/>
-
-    <attribute   name="distributable"
-          description="The distributable flag for Sessions created by this
+      type="int"/>
+    <attribute
+      name="className"
+      description="Fully qualified class name of the managed object"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="distributable"
+      description="The distributable flag for Sessions created by this
                        Manager"
-                 type="boolean"/>
-
-    <attribute   name="entropy"
-          description="A String initialization parameter used to increase the
+      type="boolean"/>
+    <attribute
+      name="entropy"
+      description="A String initialization parameter used to increase the
                        entropy of the initialization of our random number
                        generator"
-                 type="java.lang.String"/>
-
-    <attribute   name="managedResource"
-          description="The managed resource this MBean is associated with"
-                 type="java.lang.Object"/>
-
-    <attribute   name="maxActiveSessions"
-          description="The maximum number of active Sessions allowed, or -1
+      type="java.lang.String"/>
+    <attribute
+      name="managedResource"
+      description="The managed resource this MBean is associated with"
+      type="java.lang.Object"/>
+    <attribute
+      name="maxActiveSessions"
+      description="The maximum number of active Sessions allowed, or -1
                        for no limit"
-                 type="int"/>
-
-    <attribute   name="maxInactiveInterval"
-          description="The default maximum inactive interval for Sessions
+      type="int"/>
+    <attribute
+      name="maxInactiveInterval"
+      description="The default maximum inactive interval for Sessions
                        created by this Manager"
-                 type="int"/>
-
-    <attribute   name="name"
-          description="The descriptive name of this Manager implementation
+      type="int"/>
+    <attribute
+      name="name"
+      description="The descriptive name of this Manager implementation
                        (for logging)"
-                 type="java.lang.String"
-            writeable="false"/>
-
+      type="java.lang.String"
+      writeable="false"/>
   </mbean>
-
-
-
-<mbean         name="ReplicationValve"
-            className="org.apache.catalina.mbeans.ClassNameMBean"
-          description="Valve for simple tcp replication"
-               domain="Catalina"
-                group="Valve"
-                 type="org.apache.catalina.ha.tcp.ReplicationValve">
-
-    <attribute   name="className"
-          description="Fully qualified class name of the managed object"
-                 type="java.lang.String"
-            writeable="false"/>
-
-    <attribute   name="debug"
-          description="The debugging detail level for this component"
-                 type="int"/>
-
+  <mbean
+    name="ReplicationValve"
+    className="org.apache.catalina.mbeans.ClassNameMBean"
+    description="Valve for simple tcp replication"
+    domain="Catalina"
+    group="Valve"
+    type="org.apache.catalina.ha.tcp.ReplicationValve">
+    <attribute
+      name="className"
+      description="Fully qualified class name of the managed object"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="debug"
+      description="The debugging detail level for this component"
+      type="int"/>
   </mbean>
-
-
 </mbeans-descriptors>
index 9f227ea..3ec5949 100644 (file)
@@ -6,9 +6,7 @@
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
+  http://www.apache.org/licenses/LICENSE-2.0
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    "-//Apache Software Foundation//DTD Model MBeans Configuration File"
    "http://jakarta.apache.org/commons/dtds/mbeans-descriptors.dtd">
 <mbeans-descriptors>
-
-  <mbean         name="McastService"
-           description="Cluster Membership service implementation"
-               domain="Catalina"
-                group="Cluster"
-                 type="org.apache.catalina.tribes.membership.McastService">
-    <attribute   name="info"
-          description="Class version info"
-                 type="java.lang.String"
-                 writeable="false"/>
-    <attribute   name="mcastAddr"
-          description="Multicast IP Address"
-                 type="java.lang.String"/>
-    <attribute   name="mcastBindAddress"
-          description="Multicast IP Interface address (default auto)"
-                 type="java.lang.String"/>
-    <attribute   name="mcastPort"
-          description="Multicast UDP Port"
-                 type="int"/>
-    <attribute   name="mcastFrequency"
-          description="Ping Frequency at msec"
-                 type="long"/>
-    <attribute   name="mcastClusterDomain"
-          description="Cluster Domain of this member"
-                 type="java.lang.String"/>
-    <attribute   name="mcastDropTime"
-          description="Timeout from frequency ping after member disapper notify"
-                 type="long"/>
-    <attribute   name="mcastSoTimeout"
-          description="Multicast Socket Timeout"
-                 type="int"/>
-    <attribute   name="mcastTTL"
-          description=""
-                 type="int"/>
-    <attribute   name="recoveryCounter"
-          description="Counter after membership failure socket restarted"
-                 type="int"/>
-    <attribute   name="recoveryEnabled"
-          description="Membership recovery enabled"
-                   is="true"
-                 type="boolean"/>
-    <attribute   name="recoverySleepTime"
-          description="Sleep time between next socket recovery (5000 msec)"
-                 type="long"/> 
-    <attribute   name="localMemberName"
-          description="Complete local receiver information"
-                 type="java.lang.String"
-                 writeable="false"/>
-    <attribute   name="membersByName"
-          description="Complete remote sender information"
-                 type="[Ljava.lang.String;"
-                 writeable="false"/>
-
-    <operation   name="start"
-               description="Start the cluster membership"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-    
-    <operation name="stop"
-               description="Stop the cluster membership"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                 
+  <mbean
+    name="McastService"
+    description="Cluster Membership service implementation"
+    domain="Catalina"
+    group="Cluster"
+    type="org.apache.catalina.tribes.membership.McastService">
+    <attribute
+      name="info"
+      description="Class version info"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="mcastAddr"
+      description="Multicast IP Address"
+      type="java.lang.String"/>
+    <attribute
+      name="mcastBindAddress"
+      description="Multicast IP Interface address (default auto)"
+      type="java.lang.String"/>
+    <attribute
+      name="mcastPort"
+      description="Multicast UDP Port"
+      type="int"/>
+    <attribute
+      name="mcastFrequency"
+      description="Ping Frequency at msec"
+      type="long"/>
+    <attribute
+      name="mcastClusterDomain"
+      description="Cluster Domain of this member"
+      type="java.lang.String"/>
+    <attribute
+      name="mcastDropTime"
+      description="Timeout from frequency ping after member disapper notify"
+      type="long"/>
+    <attribute
+      name="mcastSoTimeout"
+      description="Multicast Socket Timeout"
+      type="int"/>
+    <attribute
+      name="mcastTTL"
+      description=""
+      type="int"/>
+    <attribute
+      name="recoveryCounter"
+      description="Counter after membership failure socket restarted"
+      type="int"/>
+    <attribute
+      name="recoveryEnabled"
+      description="Membership recovery enabled"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="recoverySleepTime"
+      description="Sleep time between next socket recovery (5000 msec)"
+      type="long"/>
+    <attribute
+      name="localMemberName"
+      description="Complete local receiver information"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="membersByName"
+      description="Complete remote sender information"
+      type="[Ljava.lang.String;"
+      writeable="false"/>
+    <operation
+      name="start"
+      description="Start the cluster membership"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="stop"
+      description="Stop the cluster membership"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-
 </mbeans-descriptors>
index d18188f..ca0722c 100644 (file)
@@ -6,9 +6,7 @@
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
+  http://www.apache.org/licenses/LICENSE-2.0
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    "-//Apache Software Foundation//DTD Model MBeans Configuration File"
    "http://jakarta.apache.org/commons/dtds/mbeans-descriptors.dtd">
 <mbeans-descriptors>
-
-  <mbean         name="SimpleTcpCluster"
-           description="Tcp Cluster implementation"
-               domain="Catalina"
-                group="Cluster"
-                 type="org.apache.catalina.ha.tcp.SimpleTcpCluster">
-    <attribute   name="info"
-          description="Class version info"
-                 type="java.lang.String"
-                 writeable="false"/>
-    <attribute   name="notifyLifecycleListenerOnFailure"
-          description="notify lifecycleListener from message transfer failure"
-                            is="true"
-                 type="boolean"/>                 
-    <attribute   name="clusterName"
-          description="name of cluster"
-                 type="java.lang.String"/>
-    <attribute   name="managerClassName"
-          description="session mananager classname"
-                 type="java.lang.String"/>
-    <attribute   name="clusterLogName"
-          description="Name of cluster transfer log device"
-                 type="java.lang.String"/>
-    <attribute   name="doClusterLog"
-                            is="true"
-          description="enable cluster log transfer logging"
-                 type="boolean"/>
-    <operation   name="setProperty"
-               description="set a property to all cluster managers (with prefix 'manager.')"
-               impact="ACTION"
-               returnType="void">
-      <parameter name="key"
-                 description="Property name"
-                 type="java.lang.String"/>
-      <parameter name="value"
-                 description="Property value"
-                 type="java.lang.String"/>
+  <mbean
+    name="SimpleTcpCluster"
+    description="Tcp Cluster implementation"
+    domain="Catalina"
+    group="Cluster"
+    type="org.apache.catalina.ha.tcp.SimpleTcpCluster">
+    <attribute
+      name="info"
+      description="Class version info"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="notifyLifecycleListenerOnFailure"
+      description="notify lifecycleListener from message transfer failure"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="clusterName"
+      description="name of cluster"
+      type="java.lang.String"/>
+    <attribute
+      name="managerClassName"
+      description="session mananager classname"
+      type="java.lang.String"/>
+    <attribute
+      name="clusterLogName"
+      description="Name of cluster transfer log device"
+      type="java.lang.String"/>
+    <attribute
+      name="doClusterLog"
+      is="true"
+      description="enable cluster log transfer logging"
+      type="boolean"/>
+    <operation
+      name="setProperty"
+      description="set a property to all cluster managers (with prefix 'manager.')"
+      impact="ACTION"
+      returnType="void">
+      <parameter
+        name="key"
+        description="Property name"
+        type="java.lang.String"/>
+      <parameter
+        name="value"
+        description="Property value"
+        type="java.lang.String"/>
     </operation>
-
-    <operation   name="send"
-               description="send message to all cluster members"
-               impact="ACTION"
-               returnType="void">
-      <parameter name="message"
-                 description="replication message"
-                 type="org.apache.catalina.ha.ClusterMessage"/>
+    <operation
+      name="send"
+      description="send message to all cluster members"
+      impact="ACTION"
+      returnType="void">
+      <parameter
+        name="message"
+        description="replication message"
+        type="org.apache.catalina.ha.ClusterMessage"/>
     </operation>
-    
-    <operation   name="sendClusterDomain"
-               description="send message to all cluster members with same domain"
-               impact="ACTION"
-               returnType="void">
-      <parameter name="message"
-                 description="replication message"
-                 type="org.apache.catalina.ha.ClusterMessage"/>
+    <operation
+      name="sendClusterDomain"
+      description="send message to all cluster members with same domain"
+      impact="ACTION"
+      returnType="void">
+      <parameter
+        name="message"
+        description="replication message"
+        type="org.apache.catalina.ha.ClusterMessage"/>
     </operation>
-        
-    <operation   name="sendToMember"
-               description="send message to one cluster member"
-               impact="ACTION"
-               returnType="void">
-      <parameter name="message"
-                 description="replication message"
-                 type="org.apache.catalina..cluster.ClusterMessage"/>
-      <parameter name="member"
-                 description="cluster member"
-                 type="java.lang.String"/>
+    <operation
+      name="sendToMember"
+      description="send message to one cluster member"
+      impact="ACTION"
+      returnType="void">
+      <parameter
+        name="message"
+        description="replication message"
+        type="org.apache.catalina..cluster.ClusterMessage"/>
+      <parameter
+        name="member"
+        description="cluster member"
+        type="java.lang.String"/>
     </operation>
-
-    <operation   name="start"
-               description="Start the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-    
-    <operation name="stop"
-               description="Stop the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                 
+    <operation
+      name="start"
+      description="Start the cluster"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="stop"
+      description="Stop the cluster"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-
-  <mbean         name="ClusterReceiverBase"
-           description="Tcp Cluster NioReceiver implementation"
-               domain="Catalina"
-                group="Cluster"
-                 type="org.apache.catalina.ha.tcp.ClusterReceiverBase">
-    <attribute   name="info"
-          description="Class version info"
-                 type="java.lang.String"
-                 writeable="false"/>
-    <attribute   name="tcpListenAddress"
-          description="tcp listener address"
-                 type="java.lang.String"/>
-    <attribute   name="tcpListenPort"
-          description="tcp listener port"
-                 type="int"/>
-    <attribute   name="tcpThreadCount"
-          description="number of tcp listener worker threads"
-                 type="int"/>
-    <attribute   name="tcpSelectorTimeout"
-          description="tcp listener Selector timeout"
-                 type="long"/>
-    <attribute   name="nrOfMsgsReceived"
-          description="number of messages received from other nodes"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="receivedTime"
-          description="total time message send time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="receivedProcessingTime"
-          description="received processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minReceivedProcessingTime"
-          description="minimal received processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgReceivedProcessingTime"
-          description="received processing time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxReceivedProcessingTime"
-          description="maximal received processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doReceivedProcessingStats"
-          description="create received processing time stats"
-                            is="true"
-                 type="boolean" />                
-    <attribute   name="avgTotalReceivedBytes"
-          description="received totalReceivedBytes / nrOfMsgsReceived"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalReceivedBytes"
-          description="number of bytes received"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="sendAck"
-          description="send ack after data received"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-    <attribute   name="compress"
-          description="data received compressed"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-    <attribute   name="doListen"
-          description="is port really started"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-                 
-       <operation name="resetStatistics"
-               description="Reset all statistics"
-               impact="ACTION"
-               returnType="void">
-    </operation>       
-
-    <operation   name="start"
-               description="Start the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-    
-    <operation name="stop"
-               description="Stop the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                 
+  <mbean
+    name="ClusterReceiverBase"
+    description="Tcp Cluster NioReceiver implementation"
+    domain="Catalina"
+    group="Cluster"
+    type="org.apache.catalina.ha.tcp.ClusterReceiverBase">
+    <attribute
+      name="info"
+      description="Class version info"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="tcpListenAddress"
+      description="tcp listener address"
+      type="java.lang.String"/>
+    <attribute
+      name="tcpListenPort"
+      description="tcp listener port"
+      type="int"/>
+    <attribute
+      name="tcpThreadCount"
+      description="number of tcp listener worker threads"
+      type="int"/>
+    <attribute
+      name="tcpSelectorTimeout"
+      description="tcp listener Selector timeout"
+      type="long"/>
+    <attribute
+      name="nrOfMsgsReceived"
+      description="number of messages received from other nodes"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="receivedTime"
+      description="total time message send time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="receivedProcessingTime"
+      description="received processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minReceivedProcessingTime"
+      description="minimal received processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgReceivedProcessingTime"
+      description="received processing time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxReceivedProcessingTime"
+      description="maximal received processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doReceivedProcessingStats"
+      description="create received processing time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="avgTotalReceivedBytes"
+      description="received totalReceivedBytes / nrOfMsgsReceived"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalReceivedBytes"
+      description="number of bytes received"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="sendAck"
+      description="send ack after data received"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="compress"
+      description="data received compressed"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="doListen"
+      description="is port really started"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <operation
+      name="resetStatistics"
+      description="Reset all statistics"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="start"
+      description="Start the cluster"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="stop"
+      description="Stop the cluster"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-
-  <mbean         name="SocketReplicationListener"
-           description="Tcp Cluster SocketReplicationListener implementation"
-               domain="Catalina"
-                group="Cluster"
-                 type="org.apache.catalina.ha.tcp.SocketReplicationListener">
-    <attribute   name="info"
-          description="Class version info"
-                 type="java.lang.String"
-                 writeable="false"/>
-    <attribute   name="tcpListenAddress"
-          description="tcp listener address"
-                 type="java.lang.String"/>
-    <attribute   name="tcpListenPort"
-          description="tcp listener port"
-                 type="int"/>
-    <attribute   name="tcpListenMaxPort"
-          description="max tcp listen used port"
-                 type="int"/>
-    <attribute   name="tcpListenTimeout"
-          description="max tcp listen timeout (sec) wait for ServerSocket start"
-                 type="int"/>                
-    <attribute   name="nrOfMsgsReceived"
-          description="number of messages received from other nodes"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="receivedTime"
-          description="total time message send time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="receivedProcessingTime"
-          description="received processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minReceivedProcessingTime"
-          description="minimal received processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgReceivedProcessingTime"
-          description="received processing time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxReceivedProcessingTime"
-          description="maximal received processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doReceivedProcessingStats"
-          description="create received processing time stats"
-                            is="true"
-                 type="boolean" />                
-    <attribute   name="avgTotalReceivedBytes"
-          description="received totalReceivedBytes / nrOfMsgsReceived"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalReceivedBytes"
-          description="number of bytes received"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="sendAck"
-          description="send ack after data received"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-   <attribute   name="compress"
-          description="data received compressed"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-   <attribute   name="doListen"
-          description="is port really started"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-                 
-       <operation name="resetStatistics"
-               description="Reset all statistics"
-               impact="ACTION"
-               returnType="void">
-    </operation>       
-
-    <operation   name="start"
-               description="Start the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-    
-    <operation name="stop"
-               description="Stop the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                 
+  <mbean
+    name="SocketReplicationListener"
+    description="Tcp Cluster SocketReplicationListener implementation"
+    domain="Catalina"
+    group="Cluster"
+    type="org.apache.catalina.ha.tcp.SocketReplicationListener">
+    <attribute
+      name="info"
+      description="Class version info"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="tcpListenAddress"
+      description="tcp listener address"
+      type="java.lang.String"/>
+    <attribute
+      name="tcpListenPort"
+      description="tcp listener port"
+      type="int"/>
+    <attribute
+      name="tcpListenMaxPort"
+      description="max tcp listen used port"
+      type="int"/>
+    <attribute
+      name="tcpListenTimeout"
+      description="max tcp listen timeout (sec) wait for ServerSocket start"
+      type="int"/>
+    <attribute
+      name="nrOfMsgsReceived"
+      description="number of messages received from other nodes"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="receivedTime"
+      description="total time message send time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="receivedProcessingTime"
+      description="received processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minReceivedProcessingTime"
+      description="minimal received processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgReceivedProcessingTime"
+      description="received processing time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxReceivedProcessingTime"
+      description="maximal received processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doReceivedProcessingStats"
+      description="create received processing time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="avgTotalReceivedBytes"
+      description="received totalReceivedBytes / nrOfMsgsReceived"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalReceivedBytes"
+      description="number of bytes received"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="sendAck"
+      description="send ack after data received"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="compress"
+      description="data received compressed"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="doListen"
+      description="is port really started"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <operation
+      name="resetStatistics"
+      description="Reset all statistics"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="start"
+      description="Start the cluster"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="stop"
+      description="Stop the cluster"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-  
-  <mbean         name="ReplicationTransmitter"
-          description="Tcp replication transmitter"
-               domain="Catalina"
-                group="ClusterSender"
-                 type="org.apache.catalina.ha.tcp.ReplicationTransmitter">
-    <attribute   name="info"
-          description="Class version info"
-                 type="java.lang.String"
-                 writeable="false"/>
-    <attribute   name="replicationMode"
-          description="replication mode (synchnous,pooled.asynchnous,fastasyncqueue)"
-                 type="java.lang.String"/>
-    <attribute   name="ackTimeout"
-          description="acknowledge timeout"
-                 type="long"/>
-    <attribute   name="autoConnect"
-          description="is sender disabled, fork a new socket"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="waitForAck"
-          description="Wait for ack after data send"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-    <attribute   name="processingTime"
-          description="sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minProcessingTime"
-          description="minimal sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgProcessingTime"
-          description="processing time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxProcessingTime"
-          description="maximal sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doTransmitterProcessingStats"
-          description="create processing time stats"
-                            is="true"
-                 type="boolean" />                
-    <attribute   name="nrOfRequests"
-          description="number of send messages to other members"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalBytes"
-          description="number of bytes transfered"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="failureCounter"
-          description="number of wrong transfers"
-                 type="long"
-                 writeable="false"/>
-       <attribute name="senderObjectNames"
-               description="get all sender object names"
-               type="[Ljavax.management.ObjectName;"
-               writeable="false"/>
-    <operation   name="start"
-               description="Start the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>    
-    <operation name="stop"
-               description="Stop the cluster"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="resetStatistics"
-               description="Reset all statistics"
-               impact="ACTION"
-               returnType="void">
-    </operation>       
-       <operation name="checkKeepAlive"
-               description="Check all sender connection for close socket (keepalive)"
-               impact="ACTION"
-               returnType="void">
-    </operation>
+  <mbean
+    name="ReplicationTransmitter"
+    description="Tcp replication transmitter"
+    domain="Catalina"
+    group="ClusterSender"
+    type="org.apache.catalina.ha.tcp.ReplicationTransmitter">
+    <attribute
+      name="info"
+      description="Class version info"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="replicationMode"
+      description="replication mode (synchnous,pooled.asynchnous,fastasyncqueue)"
+      type="java.lang.String"/>
+    <attribute
+      name="ackTimeout"
+      description="acknowledge timeout"
+      type="long"/>
+    <attribute
+      name="autoConnect"
+      description="is sender disabled, fork a new socket"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="waitForAck"
+      description="Wait for ack after data send"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="processingTime"
+      description="sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minProcessingTime"
+      description="minimal sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgProcessingTime"
+      description="processing time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxProcessingTime"
+      description="maximal sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doTransmitterProcessingStats"
+      description="create processing time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="nrOfRequests"
+      description="number of send messages to other members"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalBytes"
+      description="number of bytes transfered"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="failureCounter"
+      description="number of wrong transfers"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="senderObjectNames"
+      description="get all sender object names"
+      type="[Ljavax.management.ObjectName;"
+      writeable="false"/>
+    <operation
+      name="start"
+      description="Start the cluster"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="stop"
+      description="Stop the cluster"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="resetStatistics"
+      description="Reset all statistics"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="checkKeepAlive"
+      description="Check all sender connection for close socket (keepalive)"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-
-  <mbean         name="AsyncSocketSender"
-          description="Async Cluster Sender"
-               domain="Catalina"
-                group="IDataSender"
-                 type="org.apache.catalina.ha.tcp.AsyncSocketSender">
-    <attribute   name="info"
-          description="Class version info"
-                 type="java.lang.String"
-                 writeable="false"/>
-    <attribute   name="address"
-          description="sender ip address"
-                 type="java.net.InetAddress"
-                 writeable="false"/>
-    <attribute   name="port"
-          description="sender port"
-                 type="int"
-                 writeable="false" />
-    <attribute   name="suspect"
-          description="Socket is gone"
-                 type="boolean"/>
-    <attribute   name="waitForAck"
-          description="Wait for ack after data send"
-                            is="true"
-                 type="boolean"
-                 writeable="false"/>
-    <attribute   name="ackTimeout"
-          description="acknowledge timeout"
-                 type="long"/>                 
-    <attribute   name="avgMessageSize"
-                 writeable="false"
-          description="avg message size (totalbytes/nrOfRequests"
-                 type="long"/>
-    <attribute   name="queueSize"
-                 writeable="false"
-          description="queue size"
-                 type="int"/>
-    <attribute   name="queuedNrOfBytes"
-                 writeable="false"
-          description="number of bytes over all queued messages"
-                 type="long"/>
-    <attribute   name="messageTransferStarted"
-          description="message is in transfer"
-                 type="boolean"
-                 is="true"
-                 writeable="false"/>
-    <attribute   name="keepAliveTimeout"
-          description="active socket keep alive timeout"
-                 type="long"/>
-    <attribute   name="keepAliveMaxRequestCount"
-          description="max request over this socket"
-                 type="int"/>
-    <attribute   name="keepAliveCount"
-          description="keep Alive request count"
-                 type="int"
-                 writeable="false"/>
-    <attribute   name="keepAliveConnectTime"
-          description="Connect time for keep alive"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="resend"
-          description="after send failure make a resend"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="connected"
-                 is="true"
-          description="socket connected"
-                 type="boolean"
-                 writeable="false"/>
-    <attribute   name="nrOfRequests"
-          description="number of send messages to other members"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalBytes"
-          description="number of bytes transfered"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="processingTime"
-          description="sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minProcessingTime"
-          description="minimal sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgProcessingTime"
-          description="processing time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxProcessingTime"
-          description="maximal sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doProcessingStats"
-          description="create processing time stats"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="waitAckTime"
-          description="sending waitAck time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minWaitAckTime"
-          description="minimal sending waitAck time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgWaitAckTime"
-          description="waitAck time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxWaitAckTime"
-          description="maximal sending waitAck time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doWaitAckStats"
-          description="create waitAck time stats"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="connectCounter"
-          description="counts connects"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="disconnectCounter"
-          description="counts disconnects"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="socketOpenCounter"
-          description="counts open socket (KeepAlive and connects)"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="socketOpenFailureCounter"
-          description="counts open socket failures"
-                 type="long"
-                 writeable="false"/>                                            
-    <attribute   name="socketCloseCounter"
-          description="counts closed socket (KeepAlive and disconnects)"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="missingAckCounter"
-          description="counts missing ack"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="dataResendCounter"
-          description="counts data resends"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="dataFailureCounter"
-          description="counts data send failures"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="inQueueCounter"
-          description="counts all queued messages"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="outQueueCounter"
-          description="counts all successfully sended messages"
-                 type="long"
-                 writeable="false"/>
-       <operation name="connect"
-               description="connect to other replication node"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="disconnect"
-               description="disconnect to other replication node"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="checkKeepAlive"
-               description="Check connection for close socket"
-               impact="ACTION"
-               returnType="boolean">
-    </operation>
-       <operation name="resetStatistics"
-               description="Reset all statistics"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                                
+  <mbean
+    name="AsyncSocketSender"
+    description="Async Cluster Sender"
+    domain="Catalina"
+    group="IDataSender"
+    type="org.apache.catalina.ha.tcp.AsyncSocketSender">
+    <attribute
+      name="info"
+      description="Class version info"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="address"
+      description="sender ip address"
+      type="java.net.InetAddress"
+      writeable="false"/>
+    <attribute
+      name="port"
+      description="sender port"
+      type="int"
+      writeable="false"/>
+    <attribute
+      name="suspect"
+      description="Socket is gone"
+      type="boolean"/>
+    <attribute
+      name="waitForAck"
+      description="Wait for ack after data send"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="ackTimeout"
+      description="acknowledge timeout"
+      type="long"/>
+    <attribute
+      name="avgMessageSize"
+      writeable="false"
+      description="avg message size (totalbytes/nrOfRequests"
+      type="long"/>
+    <attribute
+      name="queueSize"
+      writeable="false"
+      description="queue size"
+      type="int"/>
+    <attribute
+      name="queuedNrOfBytes"
+      writeable="false"
+      description="number of bytes over all queued messages"
+      type="long"/>
+    <attribute
+      name="messageTransferStarted"
+      description="message is in transfer"
+      type="boolean"
+      is="true"
+      writeable="false"/>
+    <attribute
+      name="keepAliveTimeout"
+      description="active socket keep alive timeout"
+      type="long"/>
+    <attribute
+      name="keepAliveMaxRequestCount"
+      description="max request over this socket"
+      type="int"/>
+    <attribute
+      name="keepAliveCount"
+      description="keep Alive request count"
+      type="int"
+      writeable="false"/>
+    <attribute
+      name="keepAliveConnectTime"
+      description="Connect time for keep alive"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="resend"
+      description="after send failure make a resend"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="connected"
+      is="true"
+      description="socket connected"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="nrOfRequests"
+      description="number of send messages to other members"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalBytes"
+      description="number of bytes transfered"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="processingTime"
+      description="sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minProcessingTime"
+      description="minimal sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgProcessingTime"
+      description="processing time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxProcessingTime"
+      description="maximal sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doProcessingStats"
+      description="create processing time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="waitAckTime"
+      description="sending waitAck time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minWaitAckTime"
+      description="minimal sending waitAck time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgWaitAckTime"
+      description="waitAck time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxWaitAckTime"
+      description="maximal sending waitAck time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doWaitAckStats"
+      description="create waitAck time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="connectCounter"
+      description="counts connects"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="disconnectCounter"
+      description="counts disconnects"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="socketOpenCounter"
+      description="counts open socket (KeepAlive and connects)"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="socketOpenFailureCounter"
+      description="counts open socket failures"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="socketCloseCounter"
+      description="counts closed socket (KeepAlive and disconnects)"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="missingAckCounter"
+      description="counts missing ack"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="dataResendCounter"
+      description="counts data resends"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="dataFailureCounter"
+      description="counts data send failures"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="inQueueCounter"
+      description="counts all queued messages"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="outQueueCounter"
+      description="counts all successfully sended messages"
+      type="long"
+      writeable="false"/>
+    <operation
+      name="connect"
+      description="connect to other replication node"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="disconnect"
+      description="disconnect to other replication node"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="checkKeepAlive"
+      description="Check connection for close socket"
+      impact="ACTION"
+      returnType="boolean"/>
+    <operation
+      name="resetStatistics"
+      description="Reset all statistics"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-
-  <mbean         name="MultiSocketSender"
-          description="Multi Socket Sender, more than one socket per member"
-               domain="Catalina"
-                group="IDataSender"
-                 type="org.apache.catalina.ha.tcp.PooledSocketSender">
-    <attribute   name="address"
-          description="sender ip address"
-                 type="java.net.InetAddress"
-                 writeable="false"/>
-    <attribute   name="port"
-          description="sender port"
-                 type="int"
-                 writeable="false" />
-    <attribute   name="suspect"
-          description="Socket is gone"
-                 type="boolean"/>
-    <attribute   name="ackTimeout"
-          description="acknowledge timeout"
-                 type="long"/>
-    <attribute   name="waitForAck"
-          description="Wait for ack after data send"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-    <attribute   name="maxPoolSocketLimit"
-          description="Max parallel sockets"
-                 type="int"/>
-    <attribute   name="keepAliveTimeout"
-          description="active socket keep alive timeout"
-                 type="long"/>
-    <attribute   name="keepAliveMaxRequestCount"
-          description="max request over this socket"
-                 type="int"/>
-    <attribute   name="resend"
-          description="after send failure make a resend"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="connected"
-                 is="true"
-          description="socket connected"
-                 type="boolean"
-                 writeable="false"/>
-    <attribute   name="avgMessageSize"
-                 writeable="false"
-          description="avg message size (totalbytes/nrOfRequests"
-                 type="long"/>
-    <attribute   name="nrOfRequests"
-          description="number of send messages to other members"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalBytes"
-          description="number of bytes transfered"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="connectCounter"
-          description="counts connects"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="disconnectCounter"
-          description="counts disconnects"
-                 type="long"
-                 writeable="false"/>
-       <operation name="connect"
-               description="start Queue to connect to ohter replication node"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="disconnect"
-               description="stop Queue to other replication node"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="resetStatistics"
-               description="Reset all statistics"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                                
+  <mbean
+    name="MultiSocketSender"
+    description="Multi Socket Sender, more than one socket per member"
+    domain="Catalina"
+    group="IDataSender"
+    type="org.apache.catalina.ha.tcp.PooledSocketSender">
+    <attribute
+      name="address"
+      description="sender ip address"
+      type="java.net.InetAddress"
+      writeable="false"/>
+    <attribute
+      name="port"
+      description="sender port"
+      type="int"
+      writeable="false"/>
+    <attribute
+      name="suspect"
+      description="Socket is gone"
+      type="boolean"/>
+    <attribute
+      name="ackTimeout"
+      description="acknowledge timeout"
+      type="long"/>
+    <attribute
+      name="waitForAck"
+      description="Wait for ack after data send"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="maxPoolSocketLimit"
+      description="Max parallel sockets"
+      type="int"/>
+    <attribute
+      name="keepAliveTimeout"
+      description="active socket keep alive timeout"
+      type="long"/>
+    <attribute
+      name="keepAliveMaxRequestCount"
+      description="max request over this socket"
+      type="int"/>
+    <attribute
+      name="resend"
+      description="after send failure make a resend"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="connected"
+      is="true"
+      description="socket connected"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="avgMessageSize"
+      writeable="false"
+      description="avg message size (totalbytes/nrOfRequests"
+      type="long"/>
+    <attribute
+      name="nrOfRequests"
+      description="number of send messages to other members"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalBytes"
+      description="number of bytes transfered"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="connectCounter"
+      description="counts connects"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="disconnectCounter"
+      description="counts disconnects"
+      type="long"
+      writeable="false"/>
+    <operation
+      name="connect"
+      description="start Queue to connect to ohter replication node"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="disconnect"
+      description="stop Queue to other replication node"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="resetStatistics"
+      description="Reset all statistics"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-
-  <mbean         name="SocketSender"
-          description="Sync Cluster Sender"
-               domain="Catalina"
-                group="IDataSender"
-                 type="org.apache.catalina.ha.tcp.SocketSender">
-    <attribute   name="address"
-          description="sender ip address"
-                 type="java.net.InetAddress"
-                 writeable="false"/>
-    <attribute   name="port"
-          description="sender port"
-                 type="int"
-                 writeable="false" />
-    <attribute   name="suspect"
-          description="Socket is gone"
-                 type="boolean"/>
-    <attribute   name="ackTimeout"
-          description="acknowledge timeout"
-                 type="long"/>
-    <attribute   name="waitForAck"
-          description="Wait for ack after data send"
-                            is="true"
-                 type="boolean"
-                 writeable="false" />
-    <attribute   name="keepAliveTimeout"
-          description="active socket keep alive timeout"
-                 type="long"/>
-    <attribute   name="keepAliveMaxRequestCount"
-          description="max request over this socket"
-                 type="int"/>
-    <attribute   name="messageTransferStarted"
-          description="message is in transfer"
-                 type="boolean"
-                 is="true"
-                 writeable="false"/>
-    <attribute   name="keepAliveCount"
-          description="keep Alive request count"
-                 type="int"
-                 writeable="false"/>
-    <attribute   name="keepAliveConnectTime"
-          description="Connect time for keep alive"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="resend"
-          description="after send failure make a resend"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="connected"
-                 is="true"
-          description="socket connected"
-                 type="boolean"
-                 writeable="false"/>
-    <attribute   name="avgMessageSize"
-                 writeable="false"
-          description="avg message size (totalbytes/nrOfRequests"
-                 type="long"/>
-    <attribute   name="nrOfRequests"
-          description="number of send messages to other members"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalBytes"
-          description="number of bytes transfered"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="processingTime"
-          description="sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minProcessingTime"
-          description="minimal sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgProcessingTime"
-          description="processing time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxProcessingTime"
-          description="maximal sending processing time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doProcessingStats"
-          description="create Processing time stats"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="waitAckTime"
-          description="sending waitAck time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="minWaitAckTime"
-          description="minimal sending waitAck time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="avgWaitAckTime"
-          description="waitAck time / nrOfRequests"
-                 type="double"
-                 writeable="false"/>
-    <attribute   name="maxWaitAckTime"
-          description="maximal sending waitAck time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="doWaitAckStats"
-          description="create waitAck time stats"
-                            is="true"
-                 type="boolean" />
-    <attribute   name="connectCounter"
-          description="counts connects"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="disconnectCounter"
-          description="counts disconnects"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="socketCloseCounter"
-          description="counts closed socket (KeepAlive and disconnects)"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="socketOpenFailureCounter"
-          description="counts open socket failures"
-                 type="long"
-                 writeable="false"/>                                            
-    <attribute   name="socketOpenCounter"
-          description="counts open socket (KeepAlive and connects)"
-                 type="long"
-                 writeable="false"/>                            
-    <attribute   name="missingAckCounter"
-          description="counts missing ack"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="dataResendCounter"
-          description="counts data resends"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="dataFailureCounter"
-          description="counts data send failures"
-                 type="long"
-                 writeable="false"/>
-       <operation name="connect"
-               description="connect to other replication node"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="disconnect"
-               description="disconnect to other replication node"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-       <operation name="checkKeepAlive"
-               description="Check connection for close socket"
-               impact="ACTION"
-               returnType="boolean">
-    </operation>
-       <operation name="resetStatistics"
-               description="Reset all statistics"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                                
+  <mbean
+    name="SocketSender"
+    description="Sync Cluster Sender"
+    domain="Catalina"
+    group="IDataSender"
+    type="org.apache.catalina.ha.tcp.SocketSender">
+    <attribute
+      name="address"
+      description="sender ip address"
+      type="java.net.InetAddress"
+      writeable="false"/>
+    <attribute
+      name="port"
+      description="sender port"
+      type="int"
+      writeable="false"/>
+    <attribute
+      name="suspect"
+      description="Socket is gone"
+      type="boolean"/>
+    <attribute
+      name="ackTimeout"
+      description="acknowledge timeout"
+      type="long"/>
+    <attribute
+      name="waitForAck"
+      description="Wait for ack after data send"
+      is="true"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="keepAliveTimeout"
+      description="active socket keep alive timeout"
+      type="long"/>
+    <attribute
+      name="keepAliveMaxRequestCount"
+      description="max request over this socket"
+      type="int"/>
+    <attribute
+      name="messageTransferStarted"
+      description="message is in transfer"
+      type="boolean"
+      is="true"
+      writeable="false"/>
+    <attribute
+      name="keepAliveCount"
+      description="keep Alive request count"
+      type="int"
+      writeable="false"/>
+    <attribute
+      name="keepAliveConnectTime"
+      description="Connect time for keep alive"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="resend"
+      description="after send failure make a resend"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="connected"
+      is="true"
+      description="socket connected"
+      type="boolean"
+      writeable="false"/>
+    <attribute
+      name="avgMessageSize"
+      writeable="false"
+      description="avg message size (totalbytes/nrOfRequests"
+      type="long"/>
+    <attribute
+      name="nrOfRequests"
+      description="number of send messages to other members"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalBytes"
+      description="number of bytes transfered"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="processingTime"
+      description="sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minProcessingTime"
+      description="minimal sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgProcessingTime"
+      description="processing time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxProcessingTime"
+      description="maximal sending processing time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doProcessingStats"
+      description="create Processing time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="waitAckTime"
+      description="sending waitAck time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="minWaitAckTime"
+      description="minimal sending waitAck time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="avgWaitAckTime"
+      description="waitAck time / nrOfRequests"
+      type="double"
+      writeable="false"/>
+    <attribute
+      name="maxWaitAckTime"
+      description="maximal sending waitAck time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="doWaitAckStats"
+      description="create waitAck time stats"
+      is="true"
+      type="boolean"/>
+    <attribute
+      name="connectCounter"
+      description="counts connects"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="disconnectCounter"
+      description="counts disconnects"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="socketCloseCounter"
+      description="counts closed socket (KeepAlive and disconnects)"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="socketOpenFailureCounter"
+      description="counts open socket failures"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="socketOpenCounter"
+      description="counts open socket (KeepAlive and connects)"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="missingAckCounter"
+      description="counts missing ack"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="dataResendCounter"
+      description="counts data resends"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="dataFailureCounter"
+      description="counts data send failures"
+      type="long"
+      writeable="false"/>
+    <operation
+      name="connect"
+      description="connect to other replication node"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="disconnect"
+      description="disconnect to other replication node"
+      impact="ACTION"
+      returnType="void"/>
+    <operation
+      name="checkKeepAlive"
+      description="Check connection for close socket"
+      impact="ACTION"
+      returnType="boolean"/>
+    <operation
+      name="resetStatistics"
+      description="Reset all statistics"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-    
-  <mbean         name="ReplicationValve"
-          description="Valve for simple tcp replication"
-               domain="Catalina"
-                group="Valve"
-                 type="org.apache.catalina.ha.tcp.ReplicationValve">
-    <attribute   name="info"
-          description="Class version info"
-                 type="java.lang.String"
-                 writeable="false"/>
-    <attribute   name="filter"
-          description="resource filter to disable session replication check"
-                 type="java.lang.String"/>
-    <attribute   name="primaryIndicator"
-                            is="true"
-          description="set indicator that request processing is at primary session node"
-                 type="boolean"/>
-    <attribute   name="primaryIndicatorName"
-          description="Request attribute name to indicate that request processing is at primary session node"
-                 type="java.lang.String"/>
-    <attribute   name="doProcessingStats"
-                            is="true"
-          description="active statistics counting"
-                 type="boolean"/>
-       <attribute   name="nrOfRequests"
-          description="number of replicated requests"
-                 type="long"
-                 writeable="false"/>
-       <attribute   name="nrOfFilterRequests"
-          description="number of filtered requests"
-                 type="long"
-                 writeable="false"/>
-       <attribute   name="nrOfSendRequests"
-          description="number of send requests"
-                 type="long"
-                 writeable="false"/>
-       <attribute   name="nrOfCrossContextSendRequests"
-          description="number of send cross context session requests"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalRequestTime"
-          description="total replicated request time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="totalSendTime"
-          description="total replicated send time"
-                 type="long"
-                 writeable="false"/>
-    <attribute   name="lastSendTime"
-          description="last replicated request time"
-                 type="long"
-                 writeable="false"/>
-    <operation name="resetStatistics"
-               description="Reset all statistics"
-               impact="ACTION"
-               returnType="void">
-    </operation>
-                 
+  <mbean
+    name="ReplicationValve"
+    description="Valve for simple tcp replication"
+    domain="Catalina"
+    group="Valve"
+    type="org.apache.catalina.ha.tcp.ReplicationValve">
+    <attribute
+      name="info"
+      description="Class version info"
+      type="java.lang.String"
+      writeable="false"/>
+    <attribute
+      name="filter"
+      description="resource filter to disable session replication check"
+      type="java.lang.String"/>
+    <attribute
+      name="primaryIndicator"
+      is="true"
+      description="set indicator that request processing is at primary session node"
+      type="boolean"/>
+    <attribute
+      name="primaryIndicatorName"
+      description="Request attribute name to indicate that request processing is at primary session node"
+      type="java.lang.String"/>
+    <attribute
+      name="doProcessingStats"
+      is="true"
+      description="active statistics counting"
+      type="boolean"/>
+    <attribute
+      name="nrOfRequests"
+      description="number of replicated requests"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="nrOfFilterRequests"
+      description="number of filtered requests"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="nrOfSendRequests"
+      description="number of send requests"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="nrOfCrossContextSendRequests"
+      description="number of send cross context session requests"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalRequestTime"
+      description="total replicated request time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="totalSendTime"
+      description="total replicated send time"
+      type="long"
+      writeable="false"/>
+    <attribute
+      name="lastSendTime"
+      description="last replicated request time"
+      type="long"
+      writeable="false"/>
+    <operation
+      name="resetStatistics"
+      description="Reset all statistics"
+      impact="ACTION"
+      returnType="void"/>
   </mbean>
-
-
 </mbeans-descriptors>