How do I know the Http Session replication size?

You need to add the <SIZE /> tag into your Cluster configuration file.

Cluster configuration file varies according to JBoss release: in this article you can check which is the correct Cluster configuration file:
Now look for the "JGroups protocol configuration.". In recent jBoss release the Attribute which holds the configuration is "PartitionConfig".

Add the <SIZE /> empty tag in the Config section.

<server>
 <attribute name="PartitionConfig">
        
         <Config>
           ........
           
           <SIZE />

         </Config>
 </attribute >

this will dump the Http session size in the following format:

12:36:19,605 TRACE [SIZE] size of message is 2850, 3 headers

Related articles available on mastertheboss.com

JBoss Clustering a Web Application

Please Note: This article cover JBoss AS 4/5/6 releases. If you w

Clustering EJB 3 with JBoss AS

To cluster a stateless session bean in EJB 3 all you need to do i

JBoss monitoring HTTP Session replication

In this article we'll show how to monitor HTTPSession replication

How do I change multicast address of JBoss cluster ?

Since JBoss AS 4.0.3, the jboss.partition.udpGroup property can b

JBoss farming service

What is the farming service ? this article explains about it, als

JBoss HTTP Session replication

HTTP session replication is used to replicate the state associate

Follow us on Twitter