0 Replies Latest reply on Apr 9, 2007 5:50 PM by Keith Marshall

    NO Scheduler - POJO Service registered

    Keith Marshall Newbie

      My pojo is annotated as a service. It registers fine. I find it in the jmx-console, and I am able to execute the method made avialable.

      However, my sheduler xml-service is not activiating the service as expected:

      <server>
       <mbean code="org.jboss.varia.scheduler.Scheduler" name="com.insight:service=AppDataRefreshServiceScheduler">
       <attribute name="StartAtStartup">true</attribute>
       <attribute name="SchedulableMBean">jboss.j2ee:ear=OA_ISIS02_040207.ear,jar=oa-common.jar,name=AppDataRefreshService,service=EJB3,type=ManagementInterface</attribute>
       <attribute name="SchedulableMBeanMethod">resetApplicationDataStore</attribute>
       <attribute name="InitialStartDate">NOW</attribute>
       <attribute name="SchedulePeriod">10000</attribute>
       <attribute name="InitialRepetitions">-1</attribute>
       <depends>jboss.j2ee:ear=OA_ISIS02_040207.ear,jar=oa-common.jar,name=AppDataRefreshService,service=EJB3,type=ManagementInterface</depends>
       </mbean>
      </server>