Yes it works without a problem. Just copied the two extra packages from
JBoss3.2.2 clustering back to JBoss3.2.1 and that was it. Currently the
"HASingletonController" can only invoke target startMethod and
targetStopMethod with NO parameters. I will change that so I can invoke
the stopSchedule(true) on the Scheduler MBean. Once this is done I will
submit tha patch in case you guys want to integrate it into 3.2.2

Thanks again to everybody and keep following the white rabbit..

--Marcus



> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Sacha Labourey
> Sent: Tuesday, August 12, 2003 11:37 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [JBoss-dev] Cluster aware Scheduler
> 
> 
> I think that shouldn't be too much of a problem as it is 
> based on the framework whose interfaces haven't changed 
> between 3.2.1 and 3.2.2.
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: mardi, 12 août 2003 23:29
> > To: [EMAIL PROTECTED]
> > Subject: RE: [JBoss-dev] Cluster aware Scheduler
> > 
> > 
> > Never mind. I found the stuff in the JBoss 3.2.2 source tree.
> > Thanks again!
> > 
> > Sasha: Is it possible to get the HASingleton to work in JBoss
> > 3.2.1? Or did the clustering change too much?
> > 
> > Thanks,
> > 
> > --Marcus
> > 
> > > -----Original Message-----
> > > From: Marcus Redeker [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, August 12, 2003 10:57 PM
> > > To: '[EMAIL PROTECTED]'
> > > Subject: RE: [JBoss-dev] Cluster aware Scheduler
> > > 
> > > 
> > > 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




-------------------------------------------------------
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

Reply via email to