cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tuomo Lesonen <tu...@niksula.hut.fi>
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
pipeline:

<map:pipeline type="noncaching">

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

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

</map:pipeline>

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:

http://www.mail-archive.com/cocoon-users@xml.apache.org/msg19064.html

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

Thanks A LOT in advance,
Tuomo


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


Mime
View raw message