OK, your problem is the JGroups channel that your cache instance is using isn't
detecting the unplugging of the cable. I bet if you wait about a minute, it will.
The logging you posted is actually for a completely different channel. Technically its a
different cluster, even though from a surface point of view it seems like there is only
one "cluster".
There is a semi-complicated mechanism for registering for the view change events you
posted, but that's really not the right thing to do. The right thing is to ensure
your JBoss Cache channel detects the cable unplug.
In your cache config file, find the ClusterConfig element and replace FD with:
<FD_SOCK down_thread="false" up_thread="false"/>
| <FD timeout="10000" max_tries="5" down_thread="false"
up_thread="false" shun="true"/>
That's the config we're starting to use everywhere now. See
http://wiki.jboss.org/wiki/Wiki.jsp?page=FDVersusFD_SOCK for more details.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968758#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...