-
1. Re: isMasterReplica - Distributed Replicant Manager
weiqingh Jun 18, 2003 2:58 PM (in response to darranl)isMasterReplica never worked for me, same result as your test -- two servers both returned true.
http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t= said he could get it to work though...
let me know if you figure this out. -
2. Re: isMasterReplica - Distributed Replicant Manager
darranl Jul 23, 2003 2:23 AM (in response to darranl)Just wanted to check did anyone get any further with this or should it be raised as a bug at sourceforge?
-
3. Re: isMasterReplica - Distributed Replicant Manager
slaboure Jul 27, 2003 10:52 AM (in response to darranl)make sure your 2 nodes are REALLY part of the same network (i.e. the cluster communication is working) and if it is a small test case is appreciated as it works for me.
cheers
sacha -
4. Re: isMasterReplica - Distributed Replicant Manager
darranl Jul 28, 2003 1:43 AM (in response to darranl)Yes the two nodes are definately part of the same cluster.
I start the nodes one at a time so that I can see on the first node that the second node has joined the cluster, also I use farming to deploy my application and that also works without any problems.
It is just the isMasterReplica method call that does not work correctly.
When I output the content of both vectors they both contain the names of the other nodes it is just the fact that the case for one of them is different.
When you test this problem which operating system(s) do you use, from my experience and the experience of others in this forum it appears to happen when one node is on a Windows machine and the other node is on a RedHat Linux machine. I am not sure about other linux distributions as that is the only one that I have tested.
I have a simple MBean that I have been using to test this (Just need to find where I have put it), I will post it on here later. -
5. Re: isMasterReplica - Distributed Replicant Manager
slaboure Jul 30, 2003 2:14 AM (in response to darranl)OK, I see what you mean, please keep me updated on this! sacha@jboss.org
-
6. Re: isMasterReplica - Distributed Replicant Manager
slaboure Jul 30, 2003 2:15 AM (in response to darranl)Interesting, please keep me updated on this (sacha@jboss.org).
Cheers,
sacha