1 Reply Latest reply on Nov 17, 2004 9:46 PM by mmccaskill

    Varia Scheduler w/ MDB

    mmccaskill Newbie

      My work is (unfortunately) still using JBoss-2.4.10-Tomcat-4.0.6. There is a MDB that is called by a custom scheduler (implements org.jboss.varia.scheduler.Schedulable). Supposedly, this scheduler works, although I cannot seem to find any evidence of this. The scheduler is JAR'd and placed in the JBOSS_HOME/jboss/lib/ext directory. Here the entry in JBOSS_HOME/jboss/conf/catalina/jboss.jcml

      <mbean code="org.jboss.util.Scheduler" name=":service=Scheduler">
       <arg type="java.lang.String" value=":server=Scheduler"/>
       <arg type="java.lang.String" value="com.healthdec.base.service.scheduler.Scheduler"/>
       <arg type="java.lang.String" value="dayTopic,day task"/>
       <arg type="java.lang.String" value="java.lang.String, java.lang.String"/>
       <arg type="long" value="0"/>
       <arg type="long" value="1000"/>
       <arg type="long" value="-1"/>
       </mbean>

      When JBoss boots I receive no errors or warnings saying that the scheduler failed to load. As one can see, the interval is set a 1 sec. Yet there is no output from the scheduler.

      NOTE: I did not write nor configure this. A former employee wrote this and I am trying to run it.