[jboss-user] [JBossCache] - Re: Shunning not working

2006-10-23 Thread jbirkenmaier
Actually, that is the plan: when node C detected the merge, it would exit with a status code of 10 thus causing a restart of JBoss. C would then join the cluster as a new node. That part of it WAS working. When I commented out the MERGE2 entry in the xml file, it stopped the cache from merging

[jboss-user] [JBossCache] - Re: Shunning not working

2006-10-18 Thread jbirkenmaier
I have gained access to the JChannel for the PojoCache and executed the following: channel.setOpt(Channel.AUTO_GETSTATE, Boolean.FALSE); channel.setOpt(Channel.AUTO_RECONNECT, Boolean.FALSE); However, this doesn't seem to have any effect. When I reconnect the network cable (for

[jboss-user] [JBossCache] - Shunning not working

2006-10-16 Thread jbirkenmaier
Hi, I have 2 JChannels both of which have shun enabled. One channel is for JBoss itself and the other is for my PojoCache. I have a cluster consisting of {A,B,C}. I unplug the network cable for C. Each node detects the loss of the other node(s). I wait about 60 seconds then plug the cable back

[jboss-user] [JBossCache] - Re: Shunning not working

2006-10-16 Thread jbirkenmaier
I am also thinking that AUTO_RECONNECT is true when I want it to be false. Since PojoCache doesn't provide access to its JGroup, how would I gain access to this to be able to change it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3978613#3978613 Reply to

[jboss-user] [JBossCache] - Re: Two nodes updating cache concurrently using a PojoCacheM

2006-09-27 Thread jbirkenmaier
Update: I have been tinkering with the code and removed the transaction that surrounds my cache updating and the exceptions have gone away (no surprise there). However, there is still a big problem. The two remaining nodes still update their own cache (with the hope that the updates will be

[jboss-user] [JBossCache] - Re: Replication Problem When Nodes Have Gone Away

2006-09-26 Thread jbirkenmaier
How would all of this apply while I am using a PojoCacheMBean? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3974202#3974202 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3974202

[jboss-user] [JBossCache] - Re: Replication Problem When Nodes Have Gone Away

2006-09-26 Thread jbirkenmaier
I already use a separate thread to handle the viewChange event. The event processing time takes less than 1 millisecond so that isn't the problem. The documentation states that in membership {A,B,C}, A connects to B, B connects to C, and C connects back to A. If A goes away, C will know it

[jboss-user] [JBossCache] - Two nodes updating cache concurrently using a PojoCacheMBean

2006-09-26 Thread jbirkenmaier
I have a 3 node cluster and one node goes away. The two remaining nodes receive notice at exactly the same time and update their cache accordingly. Each is basically removing references to the disappeared node from cache. The problem occurs when the commit is done on the 2 nodes. Each one has a

[jboss-user] [JBossCache] - Re: Replication Problem When Nodes Have Gone Away

2006-09-25 Thread jbirkenmaier
Is there any way to solve #1 by using REPL_SYNC? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3973902#3973902 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3973902 ___ jboss-user

[jboss-user] [JBossCache] - Re: Replication Problem When Nodes Have Gone Away

2006-09-25 Thread jbirkenmaier
Hi. Exactly which JGroups FD settings should be tweaked? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3974001#3974001 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3974001 ___

[jboss-user] [JBossCache] - Replication Problem When Nodes Have Gone Away

2006-09-22 Thread jbirkenmaier
Hi. Here's the problem in a nutshell. 3-node cluster with shared tree cache. Nodes 1 and 2 go away at around the same time (via an unplugged network cable). Node 3 gets notification withing 10-12 seconds that Node 1 is gone and makes a few changes to the cache (within a transaction). Cache

[jboss-user] [Clustering/JBoss] - Re: Network Loss in a 1 to n Node Cluster

2006-09-01 Thread jbirkenmaier
I read the Wiki page and changed the cluster-service.xml file. After 2 hours, the tree cache was notified about the loss of a cluster node and it in turn notified my application. However, 2 hours is much too long. I need to know a lot sooner. Is there a way to change the timeout value from 2

[jboss-user] [Clustering/JBoss] - Re: Network Loss in a 1 to n Node Cluster

2006-09-01 Thread jbirkenmaier
OK, once I changed the proper tree cache deployment file, it works. Thanks for your help!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3968961#3968961 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3968961

[jboss-user] [Clustering/JBoss] - Network Loss in a 1 to n Node Cluster

2006-08-31 Thread jbirkenmaier
Hi, I am testing my application using 1 and 2 nodes in a cluster. I am using a shared TreeCache to share data which has a listener attached to it. I use this listener to tell me when a node disappears from the cluster. There are a couple of problems with this that I hope someone can help me

[jboss-user] [Clustering/JBoss] - Re: Network Loss in a 1 to n Node Cluster

2006-08-31 Thread jbirkenmaier
Thanks for the quick reply. Regarding the first problem. I see the view change on node 1 when I Ctrl-C JBoss on node 2. However, I don't see the view change when I unplug the network cable. Here is what's logged when I unplug the cable: 10:41:27,090 INFO [dragoneyes] (UpHandler