cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "arnaud DANEELS" <adane...@jouve.fr>
Subject cronjob and cocoonpipelinecronjob
Date Wed, 07 Jul 2004 13:57:40 GMT
Hi,

 

    I need some help with cocoon-2.2.0-dev with cronjob and
CocoonPipelineCronJob functionnality 

 

    Samples of cron (testcronjob) don't work in this version of cocoon. (he
did in the 2.1.5): 

 

INFO    (2004-07-07) 15:55.06:024   [cron] Unknown-thread/QuartzJobExecutor:
Scheduling cron job named 'test'

INFO    (2004-07-07) 15:55.06:039   [cron.test] Unknown-thread/TestCronJob:
CronJob test launched at Wed Jul 07 15:55:06 CEST 2004 with message 'I'm
here' and sleep timeout of 23000ms

ERROR   (2004-07-07) 15:55.06:039   [cron] Unknown-thread/QuartzJobExecutor:
Cron job name 'test died.

org.apache.avalon.framework.CascadingRuntimeException: CronJob test raised
an exception

            at
org.apache.cocoon.components.cron.TestCronJob.execute(TestCronJob.java:100)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at
org.apache.avalon.excalibur.component.ComponentProxyGenerator$ComponentInvoc
ationHandler.invoke(ComponentProxyGenerator.java:143)

            at $Proxy14.execute(Unknown Source)

            at
org.apache.cocoon.components.cron.QuartzJobExecutor.execute(QuartzJobExecuto
r.java:109)

            at org.quartz.core.JobRunShell.run(JobRunShell.java:188)

            at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)

            at java.lang.Thread.run(Thread.java:534)

Caused by: java.lang.UnsupportedOperationException

            at
org.apache.cocoon.environment.background.BackgroundEnvironment$NullProcessor
.getContext(BackgroundEnvironment.java:164)

            at
org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSo
urceResolver.java:55)

            at
org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSo
urceResolver.java:70)

            at
org.apache.cocoon.components.cron.TestCronJob.execute(TestCronJob.java:83)

            ... 10 more

 

    In the 2.2.0 dev, libraries are updated to 1.4 for quartz.jar and 1.3.4
for util-current and cocoonpipelinecronjob is 

    added to cron block.

 

 

    Have you any idea about this problem  and test this functionnality

 

Thank you for your help.

 

Arnaud


Mime
View raw message