2 Replies Latest reply on Nov 2, 2002 7:29 AM by Adrian Brock

    Specifying dependencies between Scheduler MBean and Schedula

    kellyschrock Newbie


      I would like to specify a dependency between the scheduler MBean and the Schedulable implementation I've written. I've configured the scheduler to start on server startup, and run every n minutes. However, when JBoss starts, it craps out because it can't locate the class I've specified as the Schedulable implementation it's supposed to invoke. I can get around the problem manually by touching the configuration file in $JBOSS_HOME/server/default/deploy, but that seems pretty lame. Is there a way to tell JBoss, in effect, "Don't try to start the MBean until the scheduled object is available"?