cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@hippo.nl>
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):


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

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

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

See: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=114302505608119&w=2


Regards AS



-- 

Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel  +31 (0)20 5224466
-------------------------------------------------------------
a.schrijvers@hippo.nl / http://www.hippo.nl
-------------------------------------------------------------- 

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



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


Mime
View raw message