Hello!

I have two schedulers. But execution of schedulers is serial instead of 
parallel.

//scheduler-service.xml
<!-- ValidatorScheduler -->
  |   <mbean code="org.jboss.varia.scheduler.Scheduler" 
name="stat_mon:service=ValidatorScheduler">
  |     <attribute name="StartAtStartup">true</attribute>
  |     <attribute 
name="SchedulableClass">ru.oceaninfo.resource.stat_mon.act_links.validator.ValidatorScheduler</attribute>
  | 
  |     <attribute name="InitialStartDate">0</attribute>
  |     <attribute name="SchedulePeriod">300000</attribute>
  |     <attribute name="InitialRepetitions">-1</attribute>
  |   </mbean>
  | 
  | <!-- MailerScheduler -->
  |   <mbean code="org.jboss.varia.scheduler.Scheduler" 
name="stat_mon:service=MailerScheduler">
  |     <attribute name="StartAtStartup">true</attribute>
  |     <attribute 
name="SchedulableClass">ru.oceaninfo.resource.stat_mon.act_links.mailer.MailerScheduler</attribute>
  | 
  |     <attribute name="InitialStartDate">0</attribute>
  |     <attribute name="SchedulePeriod">300000</attribute>
  |     <attribute name="InitialRepetitions">-1</attribute>
  |   </mbean>

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to