Hello Jasha,

thank you for this hint! Now I know what is the right way.

My problem is, that this action ClearCacheAction doesn't exist in 2.1.4
and so the clear-method of the Store cannot be called. So I have to
restart Tomcat when I want to clear the cache ;-)

kind regards
Daniel Brüßler



Jasha Joachimsthal schrieb:
> With a clear cache action you can clear (most) caches.
> 
> In the components:
> <map:actions>
>                       <map:action name="clear-cache" 
> logger="sitemap.action.clear-cache"
>                               
> src="org.apache.cocoon.acting.ClearCacheAction"/>
>               </map:actions>
> 
> <!-- ... -->
> In the pipelines:
>               <map:pipeline type="noncaching" internal-only="false">
>                       <map:match pattern="clearcache.html">
>                               <map:act type="clear-cache">
>                                       <map:generate src="status" 
> type="status"/>
>                                       <map:serialize type="xml"/>
>                               </map:act>
>                       </map:match>
>               </map:pipeline>
> 
> Jasha Joachimsthal
> 
> ---------
> 
> Hippo
> Oosteinde 11
> 1017 WT Amsterdam
> The Netherlands
> +31 (0)20 5224466 
> 
> [EMAIL PROTECTED]
> www.hippo.nl
> 
> 
>> -----Original Message-----
>> From: Daniel Brüßler [mailto:[EMAIL PROTECTED]
>> Sent: vrijdag 29 juni 2007 17:47
>> To: [email protected]
>> Subject: Re: How can I delete the cache in Cocoon 2.1.4?
>>
>>
>> sorry, I mixed up the numbers, I mean Cocoon 2.1.4
>>
>> Daniel
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to