1 Reply Latest reply on Jul 21, 2003 8:53 AM by tvik

    Scheduler service

    pifen

      Hi,

      Does anyone have the experience on using the Scheduler Service provided by JBOSS? Any documentation and code sample will be appreciated.

      Thanks

        • 1. Scheduler service restart

          Hi,
          I use the scheduler service as described at
          http://wwwswt.fzi.de/~christo/praktikum/j2eeapi/jboss/doc/ch13s58.html

          I use the simplest solution with xxx-scheduler-service.xml.

          I want to work with an EJB in my Schedulable class but when I redeploy my application, including the scheduler-service.xml (the scheduler restarts) the Schedulable class can't find the EJB reference anymore. More precisely, the casting before "context.lookup" throws a ClassCastException.

          What should I do with the scheduler to find the redeployed EJB-s without stopping the server?