If I use another pipeline, which does a <map:read src="cocoon:/mail.do"/>, then it works. Why doesn't it work when I directly call my mail.do pipeline?
> -----Original Message----- > From: Bart Molenkamp > Sent: Thursday, September 09, 2004 1:59 PM > To: [EMAIL PROTECTED] > Subject: Getting a cocoon:// source from a cron job > > Hi, > > I've written a cron job that sends email on specific periods. I want to > get the content of the message from a pipeline. I try to resolve it with > 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 the > exception... Can someone confirm that this is the problem? (When I call > the same resource from a browser, it works fine). > > Bart.
