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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to