I've been spending a lot of time lately looking at replicate sessions.  For 
troubleshooting session replication:

1. Be sure to read about session replication from  
http://www.jboss.org/community/wiki/JBossAS5ClusteringGuide before you do 
anything.  

2. Then read about session replication in jboss cache as well 
http://www.jboss.org/community/wiki/JBossCacheOfficialDocumentation

3. For actual troubleshooting, once you have things configured from the above 
docs, I've been using the jmx-console.  Log into the JMX Console on each 
machine.  

First confirm that the nodes are in the same cluster at the jgroups level.
Go to jboss.jgroups -> cluster=default-SessionCache,type=channel (this may be 
slightly differnt for you).  Verify that "ViewAsString" contains all nodes

Second confirm that jboss cache (a layer above jgroups) sees the correct nodes 
and check out the http sessions.  In the JMX Console go to jboss.cache -> 
config=standard-session-cache,service=Cache and look at "Members", then invoke 
"printCacheDetailsAsHtml" near the bottom.  This will show you all sessions on 
that node.  If you're doing total replication (default) you should see the same 
session information on all nodes in this area.

Hope this helps.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259926#4259926

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259926
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to