Could you show us your configuration?

How have you configured the CocoonPipelineCronJob and it's trigger.

Have you tested the pipeline it calls, independently?

regards Jeremy

On 7 Jul 2004, at 14:57, arnaud DANEELS wrote:

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.ja va:39)

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

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

            at org.apache.avalon.excalibur.component.ComponentProxyGenerator$Component InvocationHandler.invoke(ComponentProxyGenerator.java:143)

            at $Proxy14.execute(Unknown Source)

            at org.apache.cocoon.components.cron.QuartzJobExecutor.execute(QuartzJobEx ecutor.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$NullProc essor.getContext(BackgroundEnvironment.java:164)

            at org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(Coc oonSourceResolver.java:55)

            at org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(Coc oonSourceResolver.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

--------------------------------------------------------

                  If email from this address is not signed
                                IT IS NOT FROM ME

                        Always check the label, folks !!!!!
--------------------------------------------------------


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to