[jboss-user] [Clustering/JBoss] - How to identify partition startup/shutdown

anellanat do-not-reply at jboss.com
Thu Sep 18 09:41:23 EDT 2008


Are there any callbacks/notifications issued by JBoss when a partition is started/closed i.e. when the 'first' node joins the partition and the 'last' node leaves the partition? How can my application receive/subscribe to them?

My application is deployed as a JAR in a cluster of JBoss nodes. It has to to perform some system-wide initialization when a node joins the partition, only if it is the first node of the partition. However, this must not repeat, say when other nodes join the partition or when the 'first' node fails. 

Similarly, I must perform some system-wide cleanup only when the last node in the partition shuts down or fails.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177430#4177430

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177430



More information about the jboss-user mailing list