"randomly receiving the content of 2 unrelated pages together" smells like
some non-threadsafe code to me.
-Original Message-
From: Gabriel Egolf [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 25. Juni 2003 20:48
To: [EMAIL PROTECTED]
Subject: Random ArrayIndexOutOfBoundsException
Hello all.
you did it for Cocoon 2.0? Can you compare your
caching with the one implemented in 2.1? And maybe provide a patch?
Thanks,
Joerg
Jorg Heymans wrote:
OK I understand the caching now a lot better. Anyone wanting to
understand
how to implement his own caching should read
http://wiki.cocoondev.or
My guess would be that the \ in CORPROOT\{request-param:name} escapes the
next character (whether it should or not I don't know) and so the variable
interpolation is not happening.
Check the sitemap log in WEB-INF/logs, it might have an indication as to
what is happening exactly
Can you try escap
g
with the one implemented in 2.1? And maybe provide a patch?
Thanks,
Joerg
Jorg Heymans wrote:
> OK I understand the caching now a lot better. Anyone wanting to understand
> how to implement his own caching should read
>
> http://wiki.cocoondev.org/Wiki.jsp?page=WritingFo
plementing <>
Jorg Heymans wrote:
>Good pointer thanks Vladim :-)
>
>The difference with the xsp page ofcourse is that I cannot access the
>requestparameters from within the serializer.
>
And you should not.
>As a matter of fact the
>generatekey and cachevalidity ge
ny ideas on how to access request parameters within the serializer, maybe I
can use a on the serializer in the sitemap maybe?
Thanks!
=
Jorg Heymans wrote:
Hi all,
How can I add caching to my custom written serializer? On average my
serializer takes 3 seconds to compl
Hi all,
How can I add caching to my custom written serializer? On average my
serializer takes 3 seconds to complete (regardless whether I implement the
cacheable interface or not)
My serializer implements 2 interfaces : Serializer and Cacheable.
Implementation of the caching interface :