cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Brüßler <i...@danielbruessler.de>
Subject Re: How can I delete the cache in Cocoon 2.1.4?
Date Tue, 03 Jul 2007 21:28:06 GMT
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 
> 
> jasha@hippo.nl
> www.hippo.nl
> 
> 
>> -----Original Message-----
>> From: Daniel Brüßler [mailto:info@danielbruessler.de]
>> Sent: vrijdag 29 juni 2007 17:47
>> To: users@cocoon.apache.org
>> 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: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>


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


Mime
View raw message