0 Replies Latest reply on Jun 7, 2005 5:07 AM by bhanu b

    How to deploy MBean

    bhanu b Newbie

      I've updated jboss-service.xml as follows:

       <mbean code="org.jboss.varia.scheduler.Scheduler" name="jboss.docs:service=Scheduler">
       <attribute name="StartAtStartup">true</attribute>
       <attribute name="SchedulableClass">TestSchedule</attribute>
       <attribute name="SchedulableArguments">TheName,123456789</attribute>
       <attribute name="SchedulableArgumentTypes">java.lang.String,long</attribute>
       <attribute name="InitialStartDate">NOW</attribute>
       <attribute name="SchedulePeriod">60000</attribute>
       <attribute name="InitialRepetitions">-1</attribute>
       </mbean>
      


      How and where should I deploy SchedulableClass (TestSchedule in my case).
      Whenever I run jboss it gives me exception "Failed to find: TestSchedule"
      Pls help me out.