Following my earlier post concerning problems with the scheduler I can now
confirm the following.

1. From my IDE everything works OK as far as running scheduledJobs is
concerned.
2. After firing up Turbine normally I get the error message saying that job
I am trying to run cannot be found :-(
3. The job in question remains in an active state

I did some tests and found that if the job I am trying to run does NOT
extend ScheduledJob then the class is found and initialised (Although not
run as it should) as one would expect. But as soon as I make the Job
extended I get the error back. Can anyone explain this??

I may also be able to submit a patch here....

In the WorkerThread class I removed line 129 which reads

        je.setActiveOff();

and added a finally statement at the end to ensure that the job is set to
inactive even if something should go wrong.


  finally


     if (je.isActive())
        je.setActiveOff();
  }

If anyone (Dave?) could help me with the first problem I would be most
grateful.

/colin



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to