cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Fiol Bonnín <antonio.f...@gmail.com>
Subject Re: Strange caching issue: need to reload twice
Date Thu, 03 Nov 2005 13:02:55 GMT
2005/11/3, Antonio Fiol Bonnín <antonio.fiol@gmail.com>:
> Hello,
>
> With current SVN version, and also with 2.1.7, I am seeing a strange
> caching issue: For a certain document (relevant sitemap portions
> attached below), when the source (a directory) changes, I need to
> reload twice to get the right content in my browser.
>
> Any help tracking this problem would be greatly appreciated.
>
> Yours sincerely,
>
>
> Antonio Fiol
>
>
>
>
> Times removed from logs to improve clarity. Logs from current SVN version.
>
> *** First reload after creating a new file in the directory spits the
> following into cocoon.log:
>
> [core.manager] (/previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente)
> http-8080-Processor25/CacheImpl: Removing cached response for
> PK_G-directory-file:/home/fiol/ficheros-intranet/compartido/paginas/actualidad/resumen-noticias/:1:null:name:true:1000:null:[0-9][0-9][0-9][0-9][-_][0-9][0-9][-_][0-9][0-9].*\.html:null:
> [access] (/previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente)
> http-8080-Processor25/CocoonServlet:
> 'previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente'
> Processed by Apache Cocoon 2.1.8-rc1 in 59 milliseconds.
>
>
>
> *** Second reload after changing the file gives:
>
> [core.manager] (/previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente)
> http-8080-Processor25/CacheImpl: Removing cached response for
> PK_G-file-cocoon://previsualizar/interno/datos/fechados/paginas/actualidad/resumen-noticias?pipelinehash=-2442472616783549200_T-xslt-file:/home/fiol/IdeaProjects/intranet/portal/dist/exploded/././xsl/xdoc/directory-fechados.xsl;path=actualidad/resumen-noticias_T-xslt-file:/home/fiol/IdeaProjects/intranet/portal/dist/exploded/././xsl/tmp/xinclude-previsualizacion.xsl_S-xml-1
> [core.manager] (/previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente)
> http-8080-Processor25/CacheImpl: Caching new response for
> PK_G-directory-file:/home/fiol/ficheros-intranet/compartido/paginas/actualidad/resumen-noticias/:1:null:name:true:1000:null:[0-9][0-9][0-9][0-9][-_][0-9][0-9][-_][0-9][0-9].*\.html:null:
> [core.manager] (/previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente)
> http-8080-Processor25/CacheImpl: Caching new response for
> PK_G-file-cocoon://previsualizar/interno/datos/fechados/paginas/actualidad/resumen-noticias?pipelinehash=-2442472616783549200_T-xslt-file:/home/fiol/IdeaProjects/intranet/portal/dist/exploded/././xsl/xdoc/directory-fechados.xsl;path=actualidad/resumen-noticias_T-xslt-file:/home/fiol/IdeaProjects/intranet/portal/dist/exploded/././xsl/tmp/xinclude-previsualizacion.xsl_S-xml-1
> [access] (/previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente)
> http-8080-Processor25/CocoonServlet:
> 'previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente'
> Processed by Apache Cocoon 2.1.8-rc1 in 726 milliseconds.
>
>
> *** Relevant sitemap portions:
> <map:match pattern="datos/fechados/paginas/**">
>    <map:generate type="directory" src="{naming:java:comp/env/paginas}/{1}">
>        <map:parameter name="include"
> value="[0-9][0-9][0-9][0-9][-_][0-9][0-9][-_][0-9][0-9].*\.html" />
>        <map:parameter name="reverse" value="true" />
>        <map:parameter name="sort" value="name" />
>        <map:parameter name="depth" value="1" />
>    </map:generate>
>    <map:serialize />
> </map:match>
>
> <map:match pattern="inclusion/**/listafechados-descendiente">
>     <map:generate src="cocoon:/datos/fechados/paginas/{1}" />
>     <map:transform src="xsl/xdoc/directory-fechados.xsl">
>          <map:parameter name="path" value="{1}" />
>     </map:transform>
>     <map:transform src='xsl/tmp/xinclude-previsualizacion.xsl' />
>     <map:serialize/>
> </map:match>
>


Previous logs were generated using:
<map:pipe name="caching"
src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline">
</map:pipe>


These use:
<map:pipe name="caching"
src="org.apache.cocoon.components.pipeline.impl.CachingPointProcessingPipeline">
   <parameter name="autoCachingPoint" value="On"/>
</map:pipe>


Symptoms are identical.

*** First reload:
[core.manager] (/previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente)
http-8080-Processor24/CacheImpl: Removing cached response for
PK_G-directory-file:/home/fiol/ficheros-intranet/compartido/paginas/actualidad/resumen-noticias/:1:null:name:true:1000:null:[0-9][0-9][0-9][0-9][-_][0-9][0-9][-_][0-9][0-9].*\.html:null:
[access] (/previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente)
http-8080-Processor24/CocoonServlet:
'previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente'
Processed by Apache Cocoon 2.1.8-rc1 in 176 milliseconds.


*** Second reload:
[core.manager] (/previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente)
http-8080-Processor23/CacheImpl: Removing cached response for
PK_G-file-cocoon://previsualizar/interno/datos/fechados/paginas/actualidad/resumen-noticias?pipelinehash=-2442472616783549200_T-xslt-file:/home/fiol/IdeaProjects/intranet/portal/dist/exploded/././xsl/xdoc/directory-fechados.xsl;path=actualidad/resumen-noticias_T-xslt-file:/home/fiol/IdeaProjects/intranet/portal/dist/exploded/././xsl/tmp/xinclude-previsualizacion.xsl_S-xml-1
[core.manager] (/previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente)
http-8080-Processor23/CacheImpl: Caching new response for
PK_G-directory-file:/home/fiol/ficheros-intranet/compartido/paginas/actualidad/resumen-noticias/:1:null:name:true:1000:null:[0-9][0-9][0-9][0-9][-_][0-9][0-9][-_][0-9][0-9].*\.html:null:
[core.manager] (/previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente)
http-8080-Processor23/CacheImpl: Caching new response for
PK_G-file-cocoon://previsualizar/interno/datos/fechados/paginas/actualidad/resumen-noticias?pipelinehash=-2442472616783549200_T-xslt-file:/home/fiol/IdeaProjects/intranet/portal/dist/exploded/././xsl/xdoc/directory-fechados.xsl;path=actualidad/resumen-noticias_T-xslt-file:/home/fiol/IdeaProjects/intranet/portal/dist/exploded/././xsl/tmp/xinclude-previsualizacion.xsl_S-xml-1
[core.manager] (/previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente)
http-8080-Processor23/CacheImpl: Caching new response for
PK_G-file-cocoon://previsualizar/interno/datos/fechados/paginas/actualidad/resumen-noticias?pipelinehash=-2442472616783549200_T-xslt-file:/home/fiol/IdeaProjects/intranet/portal/dist/exploded/././xsl/xdoc/directory-fechados.xsl;path=actualidad/resumen-noticias_T-xslt-file:/home/fiol/IdeaProjects/intranet/portal/dist/exploded/././xsl/tmp/xinclude-previsualizacion.xsl
[core.manager] (/previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente)
http-8080-Processor23/ExcaliburComponentManager: Attempted to release
a org.apache.cocoon.components.sax.XMLByteStreamCompiler but its
handler could not be located.
[access] (/previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente)
http-8080-Processor23/CocoonServlet:
'previsualizar/interno/inclusion/actualidad/resumen-noticias/listafechados-descendiente'
Processed by Apache Cocoon 2.1.8-rc1 in 727 milliseconds.


Any help, pointer, or advice will be greatly appreciated.

--
Antonio

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


Mime
View raw message