[jboss-user] [Clustering/JBoss] - Re: Singleton Failover
chanyungwan
do-not-reply at jboss.com
Wed Jul 19 22:09:28 EDT 2006
There are totally 3 singletons. Make it simple, may be we use 1 singleton to illustrate the scenario. What I mean the "long" time for launching it in 2nd case is that the singleton almost needs 2 - 3 minutes for being completion of running its constructor and "startSingleton" method defined in jboss-service.xml, then finally the new cluster view is built. You can see the following log in 2nd node once I quit the master node using "Ctrl-C":
:
:
:
10:02:17,628 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
10:02:18,030 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
10:02:18,143 INFO [JkMain] Jk running ID=0 time=0/249 config=null
10:03:20,704 INFO [STDOUT] calling singleton constructor
10:05:21,489 INFO [STDOUT] starting singleton...
10:07:21,572 INFO [ServiceModule] Registration is not done -> stop
10:07:21,641 INFO [EmmgClusterPartition] New cluster view (id: 2, delta: -1) : [192.168.10.231:1099]
10:07:21,642 INFO [EmmgClusterPartition:ReplicantManager] Dead members: 1
Since there are 3 singletons in my case, so the total time for "completing" their activation is about 10 minutes. It's really a big problem for us!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959401#3959401
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959401
More information about the jboss-user
mailing list