cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tuomo Lesonen <>
Subject BUG: Caching problem with XSP, XSL and cocoon pseudo protocol
Date Wed, 16 Oct 2002 10:46:39 GMT
Hi all,

Several cocoon users (including me) have reported a caching problem when
using cocoon: pseudo protocol with ServerPagesGenerator. Here's an example

<map:pipeline type="noncaching">

  <map:match pattern="foo">
    <map:generate type="serverpages" src="cocoon:/bar"/>
    <map:serialize type="html"/>

  <map:match pattern="bar">
    <map:generate src="foobar.xml"/>
    <map:transform src="XSLwithXSP.xsl"/>
    <map:serialize type="xml"/>


Calling "foo" always results to a cached page. Calling "bar" results to
an updated page. So it seems that the Java code generated by the
ServerPagesGenerator is not updated! The only thing that seems to help is
to remove the work-dir and restart Tomcat. Doing this after every change
is very frustrating.

Here's some experiments on the subject:

If any of you developers can find and fix the problem, please do.

Thanks A LOT in advance,

To unsubscribe, e-mail:
For additional commands, email:

View raw message