Well the fix works great ;)

simply change Line 52 of org.apache.cocoon.components.flow.java.JavaInterpreter from
private int timeToLive = 600000;
to
private int timeToLive = 0;

makes the WebContinuationManager use the defaultTimeToLive configured in the sitemap ... don't really know why the ttl is fixed anyway.

Chris

Torsten Curdt schrieb:
This has been brought up already a couple of times ...go for it

cheers
--
Torsten

On 12.06.2007, at 11:05, Christofer Dutz wrote:

Hi,

I was currently analysing some of my customers bug reports and in the course of this had to find out that there is a small "bug" in the JavaFlowInterpreter code. The parameter timeToLive is fixed to 600000 with no possibility of changing this. If I should supply a patch, I willl gladly do so, otherwise I will just have to patch it on my own ... (A quick fix would be to set the timtToLive fixed to 0, then the WebContinuation.createWebContinuation method would take the defaultTimeToLive parameter from the sitemap.

Regards,
   Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to