Thanx, my first (small) contribution
as far as my problem goes I have something working. Initially I had the job
in a self-defined directory. Now I've moved it to
org.apache.turbine.modules.scheduledjobs and guess what it works!!
I find it strange though in the IDE it doesn't make any difference and a
month or two ago I had it in that same self defined dir.
Whatever I can stop pulling my hair out now and get on with other things :-)
/colin
> "Colin Chalmers" <[EMAIL PROTECTED]> writes:
>
> > 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();
> > }
>
> I'm applying your patch Colin. Don't have any info on your problem,
> however.
> --
>
> Daniel Rall <[EMAIL PROTECTED]>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]