You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2001/05/03 16:12:20 UTC
cvs commit: xml-cocoon/webapp/WEB-INF web.xml
cziegeler 01/05/03 07:12:20
Modified: webapp Tag: xml-cocoon2 cocoon.xconf
webapp/WEB-INF Tag: xml-cocoon2 web.xml
Log:
Fixed configuration of caching stores
Revision Changes Path
No revision
No revision
1.1.2.46 +52 -2 xml-cocoon/webapp/Attic/cocoon.xconf
Index: cocoon.xconf
===================================================================
RCS file: /home/cvs/xml-cocoon/webapp/Attic/cocoon.xconf,v
retrieving revision 1.1.2.45
retrieving revision 1.1.2.46
diff -u -r1.1.2.45 -r1.1.2.46
--- cocoon.xconf 2001/05/01 21:32:59 1.1.2.45
+++ cocoon.xconf 2001/05/03 14:12:07 1.1.2.46
@@ -3,7 +3,7 @@
<!-- ===================== General Components =========================== -->
- <!-- Caching:
+ <!-- Storing:
freememory: Indicates how much memory should be left free in the
JVM for normal operation.
heapsize: Indicates how big the heap size can grow to before the
@@ -137,14 +137,64 @@
</jdbc>
</datasources>
- <!-- these components is used as a PoolController for the sitemap component pools -->
+ <!-- this component is used as a PoolController for the sitemap component pools -->
<pool-controller class="org.apache.avalon.excalibur.component.DefaultComponentPoolController"/>
<sax-connector class="org.apache.cocoon.components.saxconnector.XIncludeSAXConnector"/>
<stream-pipeline class="org.apache.cocoon.components.pipeline.CachingStreamPipeline"/>
+ <!-- Caching of stream pipeline:
+ freememory: Indicates how much memory should be left free in the
+ JVM for normal operation.
+ heapsize: Indicates how big the heap size can grow to before the
+ cleanup thread kicks in.
+ objectlifetime: Indicates how long (seconds) a cache object will
+ be hold in memory. The object will be thrown out,
+ when the time is over.
+ interval: Indicates the interval of the cleanup thread in seconds.
+ maxobjects: Indicates how many objects will be hold in the cache.
+ When the number of maxobjects has been reached. The
+ last object in the cache will be thrown out.
+ usethread: Indicates whether we use a cleanup thread or not.
+ threadpriority: Indicates the priority of the cleanup thread.
+ -->
+ <stream-cache class="org.apache.cocoon.caching.StreamMemoryCache">
+ <parameter name="freememory" value="1000000"/>
+ <parameter name="heapsize" value="60000000"/>
+ <parameter name="objectlifetime" value="300"/>
+ <parameter name="interval" value="10"/>
+ <parameter name="maxobjects" value="100"/>
+ <parameter name="usethread" value="false"/>
+ <parameter name="threadpriority" value="5"/>
+ </stream-cache>
+
<event-pipeline class="org.apache.cocoon.components.pipeline.CachingEventPipeline"/>
+
+ <!-- Caching of event pipeline:
+ freememory: Indicates how much memory should be left free in the
+ JVM for normal operation.
+ heapsize: Indicates how big the heap size can grow to before the
+ cleanup thread kicks in.
+ objectlifetime: Indicates how long (seconds) a cache object will
+ be hold in memory. The object will be thrown out,
+ when the time is over.
+ interval: Indicates the interval of the cleanup thread in seconds.
+ maxobjects: Indicates how many objects will be hold in the cache.
+ When the number of maxobjects has been reached. The
+ last object in the cache will be thrown out.
+ usethread: Indicates whether we use a cleanup thread or not.
+ threadpriority: Indicates the priority of the cleanup thread.
+ -->
+ <event-cache class="org.apache.cocoon.caching.EventMemoryCache">
+ <parameter name="freememory" value="1000000"/>
+ <parameter name="heapsize" value="60000000"/>
+ <parameter name="objectlifetime" value="300"/>
+ <parameter name="interval" value="10"/>
+ <parameter name="maxobjects" value="100"/>
+ <parameter name="usethread" value="false"/>
+ <parameter name="threadpriority" value="5"/>
+ </event-cache>
<!-- ======================== The sitemap ============================== -->
No revision
No revision
1.1.2.20 +1 -1 xml-cocoon/webapp/WEB-INF/Attic/web.xml
Index: web.xml
===================================================================
RCS file: /home/cvs/xml-cocoon/webapp/WEB-INF/Attic/web.xml,v
retrieving revision 1.1.2.19
retrieving revision 1.1.2.20
diff -u -r1.1.2.19 -r1.1.2.20
--- web.xml 2001/04/25 11:34:17 1.1.2.19
+++ web.xml 2001/05/03 14:12:15 1.1.2.20
@@ -45,7 +45,7 @@
INFO: prints all level of log messages except DEBUG ones.
WARN: prints all level of log messages except DEBUG and INFO ones.
ERROR: prints all level of log messages except DEBUG, INFO and WARN ones.
- FATAL-ERRROR: prints only log messages of this level
+ FATAL-ERROR: prints only log messages of this level
-->
<init-param>
<param-name>log-level</param-name>
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org