You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Johannes Textor <jc...@gmx.de> on 2004/06/07 01:12:46 UTC

Strange Caching (?) Issue

Hi all,

I have a strange problem that seems to be related to caching. (refers
to cocoon 2.1.4).
I have the following sitemap entries to serve images and stylesheets 
(they're
part of a semi-complex webapp) :

<map:match pattern="*.css">
     <map:read mime-type="text/css" src="css/{1}.css"/>
</map:match>
<map:match pattern="*.gif">
     <map:read mime-type="image/gif" src="images/{1}.gif"/>
</map:match>   
<map:match pattern="*.jpg">
     <map:read mime-type="image/jpeg" src="images/{1}.jpg"/>
</map:match>

Now suddenly, I received one of the .gif images when requesting "my.css" !

Restarting the servlet container did not help. When I copied the whole 
webapp
to a "fresh installed" Tomcat, it served the right files again. But 
since then, I can
not get the version in the original container (Tomcat 4.1.29) to work 
again ! I
deleted cocoon.dat and cocoon.idx from the cache directory (inside of 
the Tomcat
work directory), nothing changed.

Now I noticed that the production version of my app, which is running at a
commercial hoster where I have no access to the tomcat dirs, is starting to
produce the same errors (in particular, it's "mixing" images, i.e. serving
img1.gif where img3.gif is requested).

I have no clue. Has anybody experienced similar problems and can tell me
where to start looking for a solution ?

Cheers,
Johannes


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


Re: Strange Caching (?) Issue

Posted by Antonio Gallardo <ag...@agssa.net>.
Hi:

Cocoon 2.1.4 was shipped with jisp. Perhaps it is the source of the
problem. I suggest you to migrate to Cocoon 2.1.5, it uses Apache JCS
instead of JISP.

Best Regards,

Antonio Gallardo


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