I am using Jboss cache configuration in glassfish server.
We have two clusters which has 8 instances. (4 each) All instances share one common jboss-config.xml.
The cache objects refreshed (cache.put()) from one instance are not getting reflected when i access application from other instance.
Server restart is needed everytime which is pain in Production environments.
The jboss-config.xml used is attached with thread.
Found out the bug !!!
If your cluster has IP6v enabled then cache replication don't work.
Cluster's JVM setting must to have -- java.net.preferIPv4Stack=true attribute set to get replication working.
After setting up this properly, replication started working properly.