You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Daniel Brüßler <in...@danielbruessler.de> on 2007/06/29 17:01:06 UTC
How can I delete the cache in Cocoon 1.2.4?
Hello,
I cannot find out how to do it. Please help me. Cocoon 1.2.4 is running.
There're many cached items what I want to delete, so that the current
versions of that files can be used.
Thanks for any help ;-)
kind regards
Daniel Brüßler
++------------
Store-Janitor
org.apache.cocoon.components.store.impl.DefaultTransientStore:
logicsheet:resource://org/apache/cocoon/components/language/markup/xsp/java/session-fw.xsl
(class: org.apache.cocoon.components.language.markup.NamedLogicsheet)
(...)
and in an other place:
org.apache.cocoon.components.store.impl.DefaultStore
(...)
++------------
There's a binary-file /WEB-INF/ev_cache.ser with
"org.apache.cocoon.caching.impl.EventRegistryDataWrapper" as content
And here some lines of /WEB-INF/cocoon.xconf:
++--------------
<transient-store logger="core.store.transient">
<parameter name="maxobjects" value="100"/>
</transient-store>
<store logger="core.store">
<parameter name="maxobjects" value="100"/>
</store>
<persistent-store logger="core.store.persistent">
<parameter name="use-cache-directory" value="true"/>
<parameter name="order" value="2701"/>
</persistent-store>
<store-janitor logger="core.store.janitor">
<!-- How much free memory shall be available in the jvm -->
<parameter value="10000000" name="freememory"/>
<!-- Indicates the limit of the jvm memory consumption. The default max
heapsize for Sun's JVM is (almost) 64Mb -->
<parameter name="heapsize" value="66600000"/>
<!-- How often shall the cleanup thread check memory -->
<parameter name="cleanupthreadinterval" value="10"/>
<!-- Experimental adaptive algorithm for cleanup interval
<parameter name="adaptivethreadinterval" value="true"/>
-->
<!-- Indicates the thread priority of the cleanup thread -->
<parameter name="threadpriority" value="5"/>
<!-- How much percent of the elements of each registered Store
shall be removed when low on memory. Default 10% -->
<parameter name="percent_to_free" value="10"/>
<!-- Invoke the garbage collector when low memory is reached -->
<parameter name="invokegc" value="false"/>
</store-janitor>
<i18n-bundles logger="core.i18n-bundles">
<catalogue-name>messages</catalogue-name>
<catalogue-location>context://samples/i18n/translations
</catalogue-location>
<cache-at-startup>true</cache-at-startup>
</i18n-bundles>
<component
class="org.apache.cocoon.transformation.helpers.DefaultIncludeCacheManager"
role="org.apache.cocoon.transformation.helpers.IncludeCacheManager">
<component class="org.apache.cocoon.caching.impl.EventAwareCacheImpl"
role="org.apache.cocoon.caching.Cache/EventAware"/>
<component
class="org.apache.cocoon.caching.impl.DefaultEventRegistryImpl"
role="org.apache.cocoon.caching.EventRegistry"/>
<component role="org.apache.lenya.ac.cache.SourceCache"
class="org.apache.lenya.ac.cache.SourceCacheImpl" logger="lenya.ac.cache"/>
++--------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How can I delete the cache in Cocoon 2.1.4?
Posted by Daniel Brüßler <in...@danielbruessler.de>.
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