Re: multithreaded Content Aggregator migration from 2.1 to 2.2

2008-07-03 Thread Christoph Gaffga (triplemind.com)
hi, we found the problem in DefaultIncludeCacheManager and fixed it. I just submitted a patch together with some more information on the problem. see: https://issues.apache.org/jira/browse/COCOON-2216 thanks for your help. regards, Christoph Joerg Heinicke wrote: InheritableThreadLocal

Objects inherited in subrequests (was: Re: multithreaded Content Aggregator migration from 2.1 to 2.2)

2008-06-11 Thread Grzegorz Kossakowski
Joerg Heinicke pisze: On 06.06.2008 12:51, Grzegorz Kossakowski wrote: E.g. if two threads share the same (inherited) instance of ObjectModel all nasty side-effects of multi-threading should be expected like parallel modification and loosing of data consistency kept in OM. How Cocoon used to

Re: multithreaded Content Aggregator migration from 2.1 to 2.2

2008-06-08 Thread Joerg Heinicke
On 06.06.2008 12:51, Grzegorz Kossakowski wrote: E.g. if two threads share the same (inherited) instance of ObjectModel all nasty side-effects of multi-threading should be expected like parallel modification and loosing of data consistency kept in OM. How Cocoon used to solve these kind of

Re: multithreaded Content Aggregator migration from 2.1 to 2.2

2008-06-06 Thread Grzegorz Kossakowski
Joerg Heinicke pisze: InheritableThreadLocal [1] might be one solution. But being not able to clean up a thread is always a problem in web environment. IIRC Spring used to use InheritableThreadLocal in RequestContextListener, but they changed it to standard ThreadLocal for that reason. I

Re: multithreaded Content Aggregator migration from 2.1 to 2.2

2008-06-06 Thread Grzegorz Kossakowski
Imran Pariyani pisze: Hello, we have come across this issue .. i posted it on user mailing list and some one from there suggested me to post it here since it seems to be bug in cocoon 2.2 .. its a very crucial issue for us.. we cant upgrade to 2.2 unless we some how solve or find a work

Re: multithreaded Content Aggregator migration from 2.1 to 2.2

2008-06-05 Thread Imran Pariyani
Hello, we have come across this issue .. i posted it on user mailing list and some one from there suggested me to post it here since it seems to be bug in cocoon 2.2 .. its a very crucial issue for us.. we cant upgrade to 2.2 unless we some how solve or find a work around for this issue ..

Re: multithreaded Content Aggregator migration from 2.1 to 2.2

2008-06-05 Thread Joerg Heinicke
InheritableThreadLocal [1] might be one solution. But being not able to clean up a thread is always a problem in web environment. IIRC Spring used to use InheritableThreadLocal in RequestContextListener, but they changed it to standard ThreadLocal for that reason. I don't know if