ivelin 2002/09/22 13:20:36 Modified: src/webapp/WEB-INF cocoon.xconf Log: rolled back inadvertent check-in Revision Changes Path 1.40 +5 -217 xml-cocoon2/src/webapp/WEB-INF/cocoon.xconf Index: cocoon.xconf =================================================================== RCS file: /home/cvs/xml-cocoon2/src/webapp/WEB-INF/cocoon.xconf,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- cocoon.xconf 21 Sep 2002 22:57:18 -0000 1.39 +++ cocoon.xconf 22 Sep 2002 20:20:35 -0000 1.40 @@ -13,20 +13,8 @@ <!-- ===================== General Components =========================== --> - - <!-- HSQLDB Server for samples: - Comment this section out if you don't care about the samples. - port : number port where the server is listening - silent : true/false display all queries - trace : true/false display JDBC trace messages - --> - <hsqldb-server class="org.apache.cocoon.components.hsqldb.ServerImpl" logger="core.hsqldb-server" pool-max="1" pool-min="1"> - <parameter name="port" value="9002"/> - <parameter name="silent" value="true"/> - <parameter name="trace" value="false"/> - </hsqldb-server> - -<xml-parser class="org.apache.avalon.excalibur.xml.JaxpParser" logger="core.xml-parser" pool-grow="4" pool-max="32" pool-min="8"> + <xml-parser class="org.apache.avalon.excalibur.xml.JaxpParser" + logger="core.xml-parser" pool-grow="4" pool-max="32" pool-min="8"> <!-- Parser: The default parser used in Apache Cocoon is @@ -92,33 +80,6 @@ <parameter name="use-persistent-cache" value="true"/> </transient-store> - <!-- Persistent store for the cache. Two store implementations to choose - from: - * FilesystemStore: Simple. Dependable. Thorougly tested. - * JispFilesystemStore: Scalable. New kid on the block. Not thorougly tested. - - Common configuration parameters: - use-cache-directory: Indicates that cache directory specified in - web.xml should be used. - use-work-directory: Indicates that work directory specified in - web.xml should be used. - directory: Specifies directory to use. Absolute or relative to the - work directory. - - JispFilesystemStore configuration parameters - (in addition to common parameters): - datafile: name of the store file to use. - indexfile: name of the index file to use. - order: FIXME: put description here. - --> - <persistent-store class="org.apache.cocoon.components.store.JispFilesystemStore" logger="core.store.persistent"> - <parameter name="use-cache-directory" value="true"/> - <parameter name="datafile" value="cocoon-cache.dat"/> - <parameter name="indexfile" value="cocoon-cache.idx"/> - <parameter name="order" value="2701"/> - </persistent-store> - - <!-- Store Janitor: Be careful with the heapsize and freememory parameters. Wrong values can cause high cpu usage. Example configuration: @@ -187,15 +148,7 @@ <!-- file protocol : this is a WriteableSource --> <protocol class="org.apache.cocoon.components.source.FileSourceFactory" name="file"/> - - - <!-- xmldb pseudo protocol --> - <protocol class="org.apache.cocoon.components.source.XMLDBSourceFactory" name="xmldb"> - <!-- Xindice driver --> - <driver class="org.apache.xindice.client.xmldb.DatabaseImpl" type="xindice"/> - <!-- Add here other XML:DB compliant databases drivers --> - </protocol> -</source-handler> + </source-handler> <!-- Source Factories Each source factory adds a special uri protocol to the system. @@ -208,18 +161,7 @@ <!-- file protocol : this is a WriteableSource --> <component-instance class="org.apache.cocoon.components.source.impl.FileSourceFactory" name="file"/> - - - <!-- xmldb pseudo protocol --> - <component-instance class="org.apache.cocoon.components.source.impl.SourceFactoryWrapper" name="xmldb"> - <source-factory class="org.apache.cocoon.components.source.XMLDBSourceFactory"> - <!-- Xindice driver --> - <driver class="org.apache.xindice.client.xmldb.DatabaseImpl" type="xindice"/> - <!-- Add here other XML:DB compliant databases drivers --> - </source-factory> - </component-instance> - -</source-factories> + </source-factories> <!-- The XMLizer converts different mime-types to XML --> <xmlizer> @@ -537,158 +479,4 @@ <parameter name="verbosity" value="1"/> </entity-resolver> - - - <!-- Flow interpreter support. - - The attributes recognized by the <flow-interpreters> element are: - - default (string value): - - the default interpreted language assumed for <map:script> - elements which do not specify a "language" attribute. If not - present, the first language that's described within the - <flow-interpreters> element is assumed to be the default - language. - - reload-scripts (boolean value, default false): - - whether to check if the scripts source files are - modified. Checking for modification is an expensive - operation, so leave it disabled in a production - environment. If not present it is assumed to be "false". When - "true" *all* script files are checked for modification on - each function invocation done using <map:call - function="...">, but not more frequent than the value of - "check-time" (see below). - - check-time (long value, default 1000): - - time in miliseconds between the checks for the last - modification date of script files. - - Within <flow-interpreters> only <component-instance> elements are - recognized. The attributes recognized by this element are "name" - and "class". "name" specifies the name of a scripting language, - and "class" defines the Java class that implements it. See - org.apache.cocoon.components.flow.Interpreter for the Cocoon - interface with an scripting language interpreter. - - --> - - <flow-interpreters check-time="2000" default="JavaScript" logger="flow" reload-scripts="true"> - - <component-instance class="org.apache.cocoon.components.flow.javascript.JavaScriptInterpreter" name="JavaScript"> - <load-on-startup>resource://org/apache/cocoon/components/flow/javascript/system.js</load-on-startup> - </component-instance> - -<!-- - Temporarily disable Scheme, until full support is completed ---> - -<!-- - <component-instance name="Scheme" - class="org.apache.cocoon.components.flow.scheme.SchemeInterpreter"> - <load-on-startup>resource://org/apache/cocoon/components/flow/scheme/system.scm</load-on-startup> - <heap>/WEB-INF/sisc.heap</heap> - </component-instance> ---> - - </flow-interpreters> - - <continuations time-to-live="3600"/> - - - - <!-- Profiler: - The profiler facilitates the gathering of statistics about timings of - different steps of pipelines. Profiler consists of several components: - profiling pipeline and profiler generator - which are used to generate the profile report. You need to enable all of - these components to use profiler. - --> - <profiler results="10"/> - - <!-- =============== Sitemap In/Out/Database Modules ==================== --> - - <input-modules> - <component-instance class="org.apache.cocoon.components.modules.input.RequestParameterModule" logger="core.modules.input" name="request"/> - <component-instance class="org.apache.cocoon.components.modules.input.RequestAttributeModule" logger="core.modules.input" name="attribute"/> - <component-instance class="org.apache.cocoon.components.modules.input.RequestURIModule" logger="core.modules.input" name="URI"/> - <component-instance class="org.apache.cocoon.components.modules.input.HeaderAttributeModule" logger="core.modules.input" name="header"/> - <component-instance class="org.apache.cocoon.components.modules.input.SessionAttributeModule" logger="core.modules.input" name="session"/> - <component-instance class="org.apache.cocoon.components.modules.input.StringConstantModule" logger="core.modules.input" name="constant"/> - <component-instance class="org.apache.cocoon.components.modules.input.RandomNumberModule" logger="core.modules.input" name="random"/> - <component-instance class="org.apache.cocoon.components.modules.input.DigestMetaModule" logger="core.modules.input" name="digest"/> - <component-instance class="org.apache.cocoon.components.modules.input.DateInputModule" logger="core.modules.input" name="date"/> - <component-instance class="org.apache.cocoon.components.modules.input.NullInputModule" logger="core.modules.input" name="nullinput"/> - <component-instance class="org.apache.cocoon.components.modules.input.CollectionMetaModule" logger="core.modules.input" name="collection"/> - <component-instance class="org.apache.cocoon.components.modules.input.XMLMetaModule" logger="core.modules.input" name="xmlmeta"/> - <component-instance class="org.apache.cocoon.components.modules.input.MapMetaModule" logger="core.modules.input" name="mapmeta"/> - <component-instance class="org.apache.cocoon.components.modules.input.DefaultsMetaModule" logger="core.modules.input" name="defaults"> - <input-module name="request"/> - <values> - <skin>defaultSkin</skin> - <base-url>http://localhost:8080/cocoon</base-url> - </values> - </component-instance> - </input-modules> - - <output-modules> - <component-instance class="org.apache.cocoon.components.modules.output.RequestAttributeOutputModule" logger="core.modules.output" name="attribute"/> - <component-instance class="org.apache.cocoon.components.modules.output.SessionAttributeOutputModule" logger="core.modules.output" name="session"/> - </output-modules> - - <autoincrement-modules> - <component-instance class="org.apache.cocoon.components.modules.database.HsqlIdentityAutoIncrementModule" logger="core.modules.auto" name="auto"/> -<!-- - Choose the one suitable for your DBMS. You *can* have more than - one at a time, but they need to have different names. You then - need to specify explicitly, which one to use in your descriptor - file. - - <component-instance logger="core.modules.auto" name="auto" class="org.apache.cocoon.components.modules.database.ManualAutoIncrementModule"/> - <component-instance logger="core.modules.auto" name="auto" class="org.apache.cocoon.components.modules.database.IfxSerialAutoIncrementModule"/> - <component-instance logger="core.modules.auto" name="auto" class="org.apache.cocoon.components.modules.database.MysqlAutoIncrementModule"/> ---> - </autoincrement-modules> - - - <!-- Search: - These are the components that handle the search. - - Cocoon indexer write into an index. - Cocoon searcher reads form an index, returning matched hits. - Cocoon crawler crawls all links starting from a given base URI. - Lucene xml indexer build a lucene document from XML content. - --> - <cocoon-indexer logger="core.search.indexer"/> - <cocoon-searcher logger="core.search.searcher"/> - <cocoon-crawler logger="core.search.crawler"/> - <lucene-xml-indexer logger="core.search.lucene"/> - - - <!-- Deli support --> - <!-- Uncomment this section to enable DELI - <deli class="org.apache.cocoon.components.deli.DeliImpl"> - <parameter name="deli-config-file" value="resources/deli/config/deliConfig.xml"/> - </deli> - --> - - - <portal-manager logger="core.portal-manager" pool-grow="4" pool-max="32" pool-min="8"/> - - - - <session-manager logger="core.session-manager" pool-grow="4" pool-max="32" pool-min="8"/> - - - - <authentication-manager logger="core.authentication-manager" pool-grow="4" pool-max="32" pool-min="8"> - <mediatypes default="html"> - <media name="wap" useragent="Nokia"/> - <media name="wap" useragent="UP"/> - <media name="wap" useragent="Wapalizer"/> - </mediatypes> - </authentication-manager> -</cocoon> \ No newline at end of file +</cocoon>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]