0 Replies Latest reply on Jul 5, 2006 9:05 AM by mike lane

    problem trying to run a Scheduler MBean from a deployed appl

    mike lane Newbie

      I am using jboss 3.2.7

      I am trying to use a Scheduler within an application I am developing.
      In tests I can use a scheduler declared in conf/jboss-service.xml with the corresponding class put into a jar that I put into ... default/deploy/lib
      What I want to do is to put the classes or jar within the application (.ear) file.
      When I try to do this within the .war file (within the ear) I get a class not found exception when I start up jboss with my application deployed. The configuration file works (xxx_scheduler-service.xml) as I tried it with my classes put in a jar and put into the deploy/lib folder, and it worked fine.

      The question is: how can I force jboss to put my Scheduler classes into the classpath before jboss tries to activate the corresponding timer MBean