cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart Molenkamp" <>
Subject RE: Getting a cocoon:// source from a cron job
Date Thu, 09 Sep 2004 13:56:50 GMT
If I use another pipeline, which does a <map:read
src="cocoon:/"/>, then it works. Why doesn't it work when I
directly call my pipeline?

> -----Original Message-----
> From: Bart Molenkamp
> Sent: Thursday, September 09, 2004 1:59 PM
> To:
> Subject: Getting a cocoon:// source from a cron job
> Hi,
> I've written a cron job that sends email on specific periods. I want
> get the content of the message from a pipeline. I try to resolve it
> the source resolver, but that fails.
> I have a flowscript, which collects data for the mail. When I try to
> resolve the URI, the flowscript is executed, but it fails on the
> cocoon.sendPage() call. I get an exception:
> org.apache.cocoon.ResourceNotFoundException: No pipeline matched
> request: risks/mail/mail.xml
> My first thought was that it didn't work because the cron job is not
> part of a request/response cycle, but I don't think that it explains
> exception... Can someone confirm that this is the problem? (When I
> the same resource from a browser, it works fine).
> Bart.

View raw message