cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasha Joachimsthal" <j.joachimst...@hippo.nl>
Subject RE: How can I delete the cache in Cocoon 2.1.4?
Date Wed, 04 Jul 2007 06:58:11 GMT
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:info@danielbruessler.de] 
> Sent: dinsdag 3 juli 2007 23:28
> To: users@cocoon.apache.org
> 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
> > 
> > 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
> 
> 

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


Mime
View raw message