Hunsberger, Peter wrote:

This is long, but I'd appreciate any help on a critical problem that is
mucking up our production system.

We use flow and processPipelineTo to run Schematron validation on form
responses. The flow code is essentially the following:



<snip/>

We're running Cocoon 2.1.4 if that makes a difference: the _validate
pipeline used is an internal pipeline and perhaps the sitemap issue with
error handling on internal pipelines has something to do with this? I'm
going to try running on Cocoon 2.1.5.1 to see if that makes a difference
but that will take a day or so to get set up, and in the mean time we're
having to restart production once or twice a day, though now that we
know the cause we can slowly eliminate the invalid validation templates,
(hopefully there aren't many...).



The implementation of processPipelineTo has been drastically simplified after 2.1.4 and is actually not a simple call to the PipelineUtil class.


So you may try to change :
cocoon.processPipelineTo(uri, stream);
to
cocoon.createObject(org.apache.cocoon.components.flow.util.PipelineUtil).processToStream(uri, stream);


Hope this helps,
Sylvain

--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



Reply via email to