1 Reply Latest reply on Aug 30, 2007 2:47 AM by sandesh.tallera

    problem trying to run a Scheduler MBean from a deployed app

      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