users@shoal.java.net

Shoal related question

From: JuliusOliverFernandes <julius_ferns_at_rediffmail.com>
Date: 29 Jul 2009 08:20:52 -0000

Dear All

  I have to create application more on the likes of a cluster management (one or more nodes) in which when one node goes down, the other needs to take over.

I have coded using the shoal API referring to the example code.ON the likes that whenever there is a join notification I start the application on the group leader. The notification happens when the second node joins.This is fine.

But the problem is, when I start the first node and call the join method somewhere there is no notification and does not come into the processNotification callback method. Is there a way to initiate this?

Reason for doing this is whenever I start the first node I want to start the application on that node.I dont want to wait for the second node to join and then get notification to start the first. Any suggestions and solutions is highly appreciated.



Regards

 Julius Fernandes.