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
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
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