<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Jboss 1.2.4 Cache not replicated...
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/rajsoni">rajsoni</a> in <i>JBoss Cache</i> - <a href="http://community.jboss.org/message/549375#549375">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Am trying to use JbossCache with java 1.4.2_13.That's the java version our application is currently using so based on the compatibility matrix specified in the link below,we tried using the Jboss cache 1.2.4 SP2 version:</p><p>JDK compatibility:</p><p><a class="jive-link-external-small" href="http://community.jboss.org/wiki/jbosscache" target="_blank">http://community.jboss.org/wiki/jbosscache</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I need to be able to run the cache as standalone Java programs and any other node that joins the cluster should be able to read the data put in the cache by any node.I had got that working with the latest version of Jboss cache.However with 1.2.4 version I see that the node2 is not able to get the data put in the cache by node1.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Would really appreciate any help for this.From the logs I see that the clustering is working fine and node2 joins the cluster first created just with node1.The message communication is happening between the nodes as well</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Here's how my replicationconfig xml file and the code for the nodes looks like:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</p><p> &lt;!-- ===================================================================== --&gt;</p><p> &lt;!--&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p> &lt;!--&#160; Sample TreeCache Service Configuration&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p> &lt;!--&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p> &lt;!-- ===================================================================== --&gt;</p><p> &lt;server&gt;</p><p>&#160;&#160;&#160;&#160; &lt;classpath codebase="./lib" archives="jboss-cache.jar, jgroups.jar"/&gt;</p><p>&#160;&#160;&#160;&#160; &lt;!-- ==================================================================== --&gt;</p><p>&#160;&#160;&#160;&#160; &lt;!-- Defines TreeCache configuration&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p>&#160;&#160;&#160;&#160; &lt;!-- ==================================================================== --&gt;</p><p>&#160;&#160;&#160;&#160; &lt;mbean code="org.jboss.cache.TreeCache"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; name="jboss.cache:service=TreeCache"&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;depends&gt;jboss:service=Naming&lt;/depends&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;depends&gt;jboss:service=TransactionManager&lt;/depends&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Configure the TransactionManager</p><p>&#160;&#160;&#160;&#160; --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="TransactionManagerLookupClass"&gt;org.jboss.cache.DummyTransactionManagerLookup&lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--&lt;attribute name="TransactionManagerLookupClass"&gt;org.jboss.cache.GenericTransactionManagerLookup&lt;/attribute&gt;--&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Isolation level : SERIALIZABLE</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; REPEATABLE_READ (default)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; READ_COMMITTED</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; READ_UNCOMMITTED</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; NONE</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--&lt;attribute name="IsolationLevel"&gt;REPEATABLE_READ&lt;/attribute&gt;--&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="IsolationLevel"&gt;NONE&lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Valid modes are LOCAL, REPL_ASYNC and REPL_SYNC</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="CacheMode"&gt;REPL_ASYNC&lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Just used for async repl: use a replication queue</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="UseReplQueue"&gt;false&lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Replication interval for replication queue (in ms)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="ReplQueueInterval"&gt;0&lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Max number of elements which trigger replication</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="ReplQueueMaxElements"&gt;0&lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!-- Name of cluster. Needs to be the same for all clusters, in order</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; to find each other</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="ClusterName"&gt;insurancecluster&lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!-- JGroups protocol stack properties. Can also be a URL,</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; e.g. file:/home/bela/default.xml</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="ClusterProperties"&gt;&lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="ClusterConfig"&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;config&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!-- UDP: if you have a multihomed machine,</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; set the bind_addr attribute to the appropriate NIC IP address --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!-- UDP: On Windows machines, because of the media sense feature</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; being broken with multicast (even after disabling media sense)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; set the loopback attribute to true --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;UDP mcast_addr="228.1.2.3" mcast_port="48866"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ip_ttl="64" ip_mcast="true"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mcast_send_buf_size="150000" mcast_recv_buf_size="80000"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ucast_send_buf_size="150000" ucast_recv_buf_size="80000"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; loopback="false"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; bind_addr="10.9.10.164"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;PING timeout="10000" num_initial_members="3"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; up_thread="false" down_thread="false"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--&lt;PING --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--timeout="10000" --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--num_initial_members="3"--&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--up_thread="false" --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--down_thread="false"--&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--/&gt;--&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;MERGE2 min_interval="10000" max_interval="20000"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!-- NOTE: this was commented off in the example config file --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--&lt;FD shun="true" up_thread="true" down_thread="true" /&gt;--&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;FD</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; shun="false"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; up_thread="true"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; down_thread="true"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;FD_SOCK/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;VERIFY_SUSPECT timeout="1500"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; up_thread="false" down_thread="false"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;pbcast.NAKACK gc_lag="50" retransmit_timeout="600,1200,2400,4800"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; max_xmit_size="8192" up_thread="false" down_thread="false"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;UNICAST timeout="600,1200,2400" window_size="100" min_threshold="10"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; down_thread="false"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;pbcast.STABLE desired_avg_gossip="20000"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; up_thread="false" down_thread="false"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;FRAG frag_size="8192"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; down_thread="false" up_thread="false"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--&lt;pbcast.GMS join_timeout="5000" join_retry_timeout="2000"--&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--shun="true" print_local_addr="true"/&gt;--&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;pbcast.GMS</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; join_timeout="5000"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; join_retry_timeout="2000"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; shun="false"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; print_local_addr="true"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; disable_initial_coord="false"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;pbcast.STATE_TRANSFER up_thread="true" down_thread="true"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/config&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Whether or not to fetch state on joining a cluster</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 'true' (default)</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="FetchStateOnStartup"&gt;true&lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="FetchInMemoryState"&gt;true&lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="StateRetrievalTimeout"&gt;60000&lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; The max amount of time (in milliseconds) we wait until the</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; initial state (ie. the contents of the cache) are retrieved from</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; existing members in a clustered environment</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="InitialStateRetrievalTimeout"&gt;5000&lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Number of milliseconds to wait until all responses for a</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; synchronous call have been received.</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="SyncReplTimeout"&gt;20000&lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!-- Max number of milliseconds to wait for a lock acquisition --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="LockAcquisitionTimeout"&gt;15000&lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!-- Name of the eviction policy class. --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="EvictionPolicyClass"&gt;&lt;/attribute&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Indicate whether to use marshalling or not. Set this to true if you are running under a scoped</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; class loader, e.g., inside an application server. Default is "false".</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;attribute name="UseMarshalling"&gt;false&lt;/attribute&gt;</p><p>&#160;&#160;&#160; &lt;/mbean&gt;</p><p>&#160;&#160;&#160; &lt;!--&#160; Uncomment to get a graphical view of the TreeCache MBean above --&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--&lt;mbean code="org.jboss.cache.TreeCacheView" name="jboss.cache:service=TreeCacheView"&gt;--&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--&lt;depends&gt;jboss.cache:service=TreeCache&lt;/depends&gt;--&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--&lt;attribute name="CacheService"&gt;jboss.cache:service=TreeCache&lt;/attribute&gt;--&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160; &lt;!--&lt;/mbean&gt;--&gt;</p><p>&lt;/server&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Code Node1 :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Fqn insuranceFqn = Fqn.fromString("/com/themunicenter/insurance");</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cache = new TreeCache();<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; PropertyConfigurator config = new PropertyConfigurator();<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; config.configure(cache, "/usr/local/tmc/replication-configuration.xml");</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cache.createService();<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cache.startService();</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; HashMap map = new HashMap();<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; map.put("abc", "ValueToBeShown");<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cache.put(insuranceFqn, map);</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Code Node 2:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cache = new TreeCache();<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; PropertyConfigurator config = new PropertyConfigurator();<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; config.configure(cache, "/usr/local/tmc/MuniCenter/properties/replication-configuration.xml");<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cache.createService();<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cache.startService();<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Fqn insuranceFqn = Fqn.fromString("/com/themunicenter/insurance");<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; String testData = (String) cache.get(insuranceFqn,"abc");<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; System.out.println("THE CACHE NOW IS"+testData);</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The cache shows as NULL when node2 code runs:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Log from Server is attached here(showing the communication is happening fine between the nodes):</p><p>I say server here,since the progams put and pick messages in Jboss cache based on inflow of a JMS message on weblogic JMS queue.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Will really appreciate any pointers...thanks for taking time to look into this issue!!</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The last few lines in server log shows:</p><p>2010-06-23 14:12:56,207 -&#160; WARN (STATE_TRANSFER.java:283:[UpHandler (STATE_TRANSFER)]) - state received from 10.9.10.164:44127 is null, will return null state to application</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>2010-06-23 14:12:56,207 -&#160; INFO (TreeCache.java:2632:[main]) - <strong>state could not be retrieved (must be first member in group)</strong></p><p>2010-06-23 14:12:56,207 -&#160; INFO (TreeCache.java:4010:[Thread-10]) - new cache is null (may be first member in cluster)</p><p>2010-06-23 14:12:56,207 -&#160; INFO (TreeCache.java:1281:[main]) - Cache is started!!</p><p>2010-06-23 14:12:56,208 - DEBUG (PessimisticLockInterceptor.java:217:[main]) - failed to find or create child com of node /</p><p>2010-06-23 14:12:56,208 - DEBUG (TreeCache.java:2716:[main]) - _get("/com/themunicenter/insurance", 010824FU9, "true")</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/549375#549375">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Cache at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>