[JBoss-user] [Clustering/JBoss] - singleton mbean can't work with linux

2004-10-25 Thread heima
start jboss with : run.sh -c all --host 192.168.0.1 and another jboss start with: run.sh -c all --host 192.168.0.2 the two jboss are the same ,just run with different virtual IP address under linux and windows the result is : under windows ,the singleton mbean works well, that means just

[JBoss-user] [Clustering/JBoss] - Re: how to use singleton

2004-10-25 Thread heima
I have solve this problem. I had thought that the singleton mbean is like the singleton instance . the truth is ,only the master node run the method (startSinglet()) of singletonmbean , when the the master node turned off, the method(stopSinglet())will be invoke ant then another master node

[JBoss-user] [Clustering/JBoss] - how to use singleton

2004-09-21 Thread heima
I have a problem with singleton in cluster environment . first ,there is a singleton mbean ,and I use jmx-console to test it , the singleton works well like the jboss cluster document said,the mbean's MasterNode has the same value with mbean-singletonController's MasterNode,and turn true or