0 Replies Latest reply on Feb 25, 2010 2:31 PM by Richard Liu

    JBOSS service ends unexpectedly.

    Richard Liu Newbie

      Hi guys,


      I created a JBoss Scheduler service and used ant to buid and deploy it as a Sar file.


      The weird thing is that, the service is triggered as expected but, it exited without throwing any Exceptions.


      Wonder if anybody can help here? Very much appreciated.






      Here are some more details:








      <mbean code="org.jboss.varia.scheduler.Scheduler" name=":service=Scheduler">

      <attribute name="StartAtStartup">true</attribute>

      <attribute name="SchedulableClass">ca.alc.es.daemon.DaemonQuartzAdapter</attribute>

      <attribute name="InitialStartDate">NOW</attribute>

      <attribute name="SchedulePeriod">5000</attribute>

      <attribute name="InitialRepetitions">-1</attribute>






      public void perform(Date arg0, long arg1) {

      System.out.println("entering try part");

      Daemon dm = ContextLoader.getDaemon();

      System.out.println("This is daemon 2");


      System.out.println("This is daemon performing after!!!");}


      from the log,


      I can only see:  "entering try part". from the log.


      And that is it, no exceptions no other logs, so that scheduled task just end like that.