Vladyslav, thanks for tha link. That is exactly what I am looking for. The problem is that we are planning to go in production in 2 weeks on JBoss 3.2.1 and the service seems to be implemented in JBoss 3.2.2. Do you have the source code to the mentioned "HASingletonController" and the "HASingletonMBeanExample"? I could use that and implement the solution I suggested just that the SingletonController activates or deactivate the scheduler on the master instance.
Thanks a lot. --Marcus > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Vladyslav Kosulin > Sent: Tuesday, August 12, 2003 9:27 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-dev] Cluster aware Scheduler > > > Look at > http://www.cocoonhive.org/articles/jboss/20030610/hasingleton.html > > Marcus Redeker wrote: > > > All, > > > > I am looking for a cluster aware scheduler service. The scenario is > > that I have two JBoss instances running in a cluster and I have a > > scheduler service running on one of them since it is fatal if my > > schedulable object would be invoked twice on both > instances. But also > > I would like to have a failover which means that in case > the instance > > which is running the scheduler service is going down I want another > > instance in the cluster to take over and activate the scheduler. > > > > Is anything in that direction already available? From > looking into the > > source I did not see anything. If not I would like to > implement some > > kind of HASchedulerMBean. This could work the way that you would > > deploy your scheduler service with "StartAtStartup = false" and the > > HASchedulerMBean would invoke the start depending on which > server is > > available in the cluster. > > > > Sacha: Do you have a tip for me where to look in the clustering > > classes to get a head start? > > > > Thanks, > > > > --Marcus > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development