cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Pipeline has already been processed for this request
Date Fri, 14 Oct 2005 09:39:10 GMT
Sylvain Wallez wrote:
> Matt Robinson wrote:
> 
>> Hello.
>>
>> What does this message mean and what do I need to do to fix it.  It 
>> seems to have something to do with the Cocoon Flow Continuation...
>>
>> I am calling several pipelines (one at a time) in the same flowscript 
>> and using Cocoon Forms to pass data to and from the Java Bean handing 
>> the flow state.  The first two pages display fine.  The third page 
>> will not display.....
>>  
>>
> 
> The point is to know how you call these several pipelines. For one given 
> request, only one pipeline can have its output directed to the browser.
> 
> Practically, this means that a flowscript can only call sendPage, 
> sendPageAndWait, redirectTo or sendStatus only once for a request. You 
> can however call any number of pipelines using cocoon.processPipelineTo 
> or the PipelinesUtil class.
> 
> A frequent cause for this message is about forgetting that only 
> sendPageAndWait suspends the script, and that all other continue 
> execution. So check your control structures to see if sendPage is called 
> twice for a single request.
you should also check if your application is throwing any exceptions you 
are silently catching - it was a common cause for me.

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message