[jboss-user] [Clustering/JBoss] - HA Singleton Schedulable not starting!

honest.length do-not-reply at jboss.com
Thu Jul 20 17:19:25 EDT 2006


Hi,

I'm currently migrating to jboss 4.0.4 and have a number of singleton schedulables which where using the old method in the descriptors.  I have added the new HASingletonDeployer barrier but the never run at all when this element is present!  I am missing something?

<?xml version="1.0" encoding="UTF-8"?> <server> <classpath codebase="lib" archives="scheduler-plugin.jar"/> <mbean code="org.jboss.varia.scheduler.Scheduler" name="eventmanager:service=FrequencyEventScheduler"> <depend>jboss.ha:service=HASingletonDeployer,type=Barrier</depend> <attribute name="StartAtStartup">true</attribute> <attribute name="SchedulableClass">com.transtoll.modules.eventmanager.schedulables.jboss.FrequencyEventSchedulable</attribute> <attribute name="InitialStartDate">NOW</attribute> <attribute name="InitialRepetitions">-1</attribute> <attribute name="SchedulePeriod">60000</attribute> <depends>eventmanager:service=initialisation</depends> </mbean> <mbean code="org.jboss.varia.scheduler.Scheduler" name="eventmanager:service=MetricEventScheduler"> <depend>jboss.ha:service=HASingletonDeployer,type=Barrier</depend> <attribute name="StartAtStartup">true</attribute> <attribute name="SchedulableClass">com.transtoll.modules.eventmanager.schedulables.jboss.MetricEventSchedulable</attribute> <attribute name="InitialStartDate">NOW</attribute> <attribute name="InitialRepetitions">-1</attribute> <attribute name="SchedulePeriod">60000</attribute> <depends>eventmanager:service=initialisation</depends> </mbean> <mbean code="org.jboss.varia.scheduler.Scheduler" name="eventmanager:service=DurationEventScheduler"> <depend>jboss.ha:service=HASingletonDeployer,type=Barrier</depend> <attribute name="StartAtStartup">true</attribute> <attribute name="SchedulableClass">com.transtoll.modules.eventmanager.schedulables.jboss.DurationEventSchedulable</attribute> <attribute name="InitialStartDate">NOW</attribute> <attribute name="InitialRepetitions">-1</attribute> <attribute name="SchedulePeriod">60000</attribute> <depends>eventmanager:service=initialisation</depends> </mbean> <mbean code="org.jboss.varia.scheduler.Scheduler" name="eventmanager:service=MetricPersistenceScheduler"> <depend>jboss.ha:service=HASingletonDeployer,type=Barrier</depend> <attribute name="StartAtStartup">true</attribute> <attribute name="SchedulableClass">com.transtoll.modules.eventmanager.schedulables.jboss.MetricPersistenceSchedulable</attribute> <attribute name="InitialStartDate">NOW</attribute> <attribute name="InitialRepetitions">-1</attribute> <attribute name="SchedulePeriod">60000</attribute> <depends>eventmanager:service=initialisation</depends> </mbean> </server> 

Cheers

Mark

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

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




More information about the jboss-user mailing list