[jboss-user] [Installation, Configuration & DEPLOYMENT] - problem with scheduling deployed classes

cyberblue do-not-reply at jboss.com
Wed Aug 1 22:33:57 EDT 2007


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?

Thanks.

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


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

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



More information about the jboss-user mailing list