cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <>
Subject RE: AW: java.lang.OutOfMemoryError
Date Tue, 18 Apr 2006 08:07:34 GMT

> "If it worked before, it's probably related to temp stuff stored in  
> tomcat's work dir."
> Yes there is a lot of stuff stored in there. Mostly empty 
> directorys. Is
> there a way to clean this? Like a clean chache function?

Yes there is (which is also very handy during development):

     <map:action name="clear-cache" logger="sitemap.action.clear-cache" src="org.apache.cocoon.acting.ClearCacheAction"/>

<map:match pattern="clearcache.html">
   <map:act type="clear-cache">
      <map:generate src="status" type="status"/>
      <map:serialize type="xml"/>

Furthermore, if your problem occurs again, use cocoon 2.1.9 and configure your store in cocoon.xconf
and set timeToLiveSeconds and timeToIdleSeconds: 


Regards AS


Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel  +31 (0)20 5224466
------------------------------------------------------------- /

> Or is it possible
> to just delete this content while tomcat is offline?

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

View raw message