0 Replies Latest reply on Apr 20, 2006 7:56 AM by msqrt84

    Serial execution of schedulers

    msqrt84

      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>