You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by di...@apache.org on 2001/08/03 13:10:05 UTC

cvs commit: xml-cocoon2/webapp cocoon.xconf sitemap.xmap

dims        01/08/03 04:10:05

  Modified:    webapp   Tag: cocoon_20_branch cocoon.xconf sitemap.xmap
  Log:
  Follow Stuart's advice to add pool-max, pool-min, pool-grow to a few components to illustrate how this could be done.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.7.2.19  +4 -2      xml-cocoon2/webapp/cocoon.xconf
  
  Index: cocoon.xconf
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/cocoon.xconf,v
  retrieving revision 1.7.2.18
  retrieving revision 1.7.2.19
  diff -u -r1.7.2.18 -r1.7.2.19
  --- cocoon.xconf	2001/07/24 03:23:33	1.7.2.18
  +++ cocoon.xconf	2001/08/03 11:10:05	1.7.2.19
  @@ -217,7 +217,8 @@
          or connects a EventPipeline with a
          Serializer and let them produce the character stream.
     -->
  -  <stream-pipeline class="org.apache.cocoon.components.pipeline.CachingStreamPipeline"/>
  +  <stream-pipeline class="org.apache.cocoon.components.pipeline.CachingStreamPipeline" 
  +                   pool-max="32" pool-min="16" pool-grow="4"/>
   
     <!-- Caching of stream pipeline:
          freememory: Indicates how much memory should be left free in the
  @@ -248,7 +249,8 @@
          are: NonCachingEventPipeline.
     <event-pipeline class="org.apache.cocoon.components.pipeline.NonCachingEventPipeline"/>
     -->
  -  <event-pipeline class="org.apache.cocoon.components.pipeline.CachingEventPipeline"/>
  +  <event-pipeline class="org.apache.cocoon.components.pipeline.CachingEventPipeline"
  +                   pool-max="32" pool-min="16" pool-grow="4"/>
   
     <!-- Caching of event pipeline:
          freememory: Indicates how much memory should be left free in the
  
  
  
  1.11.2.29 +6 -3      xml-cocoon2/webapp/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/sitemap.xmap,v
  retrieving revision 1.11.2.28
  retrieving revision 1.11.2.29
  diff -u -r1.11.2.28 -r1.11.2.29
  --- sitemap.xmap	2001/07/23 02:37:31	1.11.2.28
  +++ sitemap.xmap	2001/08/03 11:10:05	1.11.2.29
  @@ -7,7 +7,8 @@
    <map:components>
   
     <map:generators default="file">
  -   <map:generator  name="file"        src="org.apache.cocoon.generation.FileGenerator" label="content"/>
  +   <map:generator  name="file"        src="org.apache.cocoon.generation.FileGenerator" label="content"
  +                   pool-max="32" pool-min="16" pool-grow="4"/>
      <map:generator  name="directory"   src="org.apache.cocoon.generation.DirectoryGenerator" label="content"/>
      <map:generator  name="imagedirectory"   src="org.apache.cocoon.generation.ImageDirectoryGenerator" label="content"/>
      <map:generator  name="serverpages" src="org.apache.cocoon.generation.ServerPagesGenerator" label="content"/>
  @@ -21,7 +22,8 @@
     </map:generators>
   
     <map:transformers default="xslt">
  -   <map:transformer     name="xslt"      src="org.apache.cocoon.transformation.TraxTransformer">
  +   <map:transformer     name="xslt"      src="org.apache.cocoon.transformation.TraxTransformer"
  +                        pool-max="32" pool-min="16" pool-grow="4">
       <use-store>true</use-store>
       <use-request-parameters>false</use-request-parameters>
       <use-browser-capabilities-db>false</use-browser-capabilities-db>
  @@ -43,7 +45,8 @@
   
     <map:serializers default="html">
      <map:serializer name="links"                               src="org.apache.cocoon.serialization.LinkSerializer"/>
  -   <map:serializer name="xml"    mime-type="text/xml"         src="org.apache.cocoon.serialization.XMLSerializer"/>
  +   <map:serializer name="xml"    mime-type="text/xml"         src="org.apache.cocoon.serialization.XMLSerializer"
  +                   pool-max="32" pool-min="16" pool-grow="4"/>
      <map:serializer name="html"   mime-type="text/html"        src="org.apache.cocoon.serialization.HTMLSerializer"/>
      <map:serializer name="vrml"   mime-type="model/vrml"       src="org.apache.cocoon.serialization.TextSerializer"/>
      <map:serializer name="wap"    mime-type="text/vnd.wap.wml" src="org.apache.cocoon.serialization.XMLSerializer">
  
  
  

----------------------------------------------------------------------
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