forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From che...@apache.org
Subject cvs commit: xml-forrest/src/core/context/WEB-INF cocoon.xconf
Date Thu, 12 Feb 2004 10:38:07 GMT
cheche      2004/02/12 02:38:07

  Modified:    src/core/context/WEB-INF cocoon.xconf
  Log:
  Add store so fix the StackOverflowError with cocoon 2.1.4
  
  Revision  Changes    Path
  1.6       +16 -1     xml-forrest/src/core/context/WEB-INF/cocoon.xconf
  
  Index: cocoon.xconf
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/core/context/WEB-INF/cocoon.xconf,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- cocoon.xconf	17 Jan 2004 02:20:30 -0000	1.5
  +++ cocoon.xconf	12 Feb 2004 10:38:07 -0000	1.6
  @@ -418,6 +418,21 @@
        <parameter name="use-persistent-cache" value="false"/>
     </transient-store>
   
  +   <!--+
  +       | Store: generic store. The default implementation is an in-memory store
  +       | backed by the persistent store (see below). This forms a two-stage
  +       | cache composed of a fast in-memory MRU front-end and a persistent
  +       | back-end storing less used objects.
  +       |
  +       | Common configuration parameters:
  +       | 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.
  +       +-->
  +   <store logger="core.store">
  +      <parameter name="maxobjects" value="100"/>
  +   </store>
  +
     <!--+
         | Persistent Store: holds objects that have to survive shutdown.
         | WARNING: FilesystemStore is broken. Cocoon uses DefaultStore based
  @@ -436,7 +451,7 @@
         |  indexfile: Name of the index file to use. Defaults to cocoon.idx
         |  order: FIXME: put description here.
         +-->
  -  <persistent-store class="org.apache.cocoon.components.store.impl.DefaultStore" logger="core.store.persistent">
  +  <persistent-store logger="core.store.persistent">
       <parameter name="use-cache-directory" value="true"/>
       <parameter name="order" value="2701"/>
     </persistent-store>
  
  
  

Mime
View raw message