1 Reply Latest reply on Aug 1, 2007 10:38 PM by Luo Yong

    problem with scheduling deployed classes

    Luo Yong Newbie

      Hi all.

      I have some deployed class in the deploy/ directory, I want them be used by JBoss Scheduler. But the configure file conf/jboss-service.xml and deploy/scheduler-service is loaded before the class deployed. So the scheduler can't find them.

      Can I add the class to scheduler after it deployed?


      The configure is here:

      <mbean code="org.jboss.varia.scheduler.Scheduler" name="jboss.docs:service=Scheduler">
       <attribute name="StartAtStartup">true</attribute>
       <attribute name="SchedulableClass">mypackage.TestClass</attribute>
       <attribute name="SchedulableArguments"></attribute>
       <attribute name="SchedulableArgumentTypes"></attribute>
       <attribute name="InitialStartDate">NOW</attribute>
       <attribute name="SchedulePeriod">60</attribute>
       <attribute name="InitialRepetitions">-1</attribute>