That's strange, because it exists in the tag of 2.1.4:
http://svn.apache.org/viewvc/cocoon/tags/cocoon-2.1/RELEASE_2_1_4/src/java/org/apache/cocoon/acting/ClearCacheAction.java?view=log
 
AFAICS it exists since the very first Release of Cocoon 2.1.

Jasha Joachimsthal

Hippo
Oosteinde 11
1017 WT Amsterdam
The Netherlands
+31 (0)20 5224466 

www.hippo.nl

> -----Original Message-----
> From: Daniel Brüßler [mailto:[EMAIL PROTECTED] 
> Sent: dinsdag 3 juli 2007 23:28
> To: [email protected]
> Subject: Re: How can I delete the cache in Cocoon 2.1.4?
> 
> 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]
> 
> 

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

Reply via email to