cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DAISY] Created: Cocoon Configuration FAQs
Date Wed, 21 Sep 2005 13:52:47 GMT
A new document has been created.

Document ID: 709
Branch: main
Language: default
Name: Cocoon Configuration FAQs
Document Type: Document
Created: 9/21/05 1:52:25 PM
Creator (owner): Helma van der Linden
State: publish


Mime type: text/xml
Size: 2584 bytes

<h2>How do I setup my own .roles file?</h2>

<p>In cocoon.xconf you can specify your my.roles file as follows:</p>

<p>if you are using Tomcat 4. For other versions, skip the leading slash of the

<p>And create a new file my.roles in WEB-INF directory with</p>

<h2>Where do I setup LogKit in Cocoon?</h2>

<p>1. {cocoon}/WEB-INF/logkit.xconf:</p>

<p>Please refer to the Avalon LogKit Documentation</p>

<p>2. {cocoon}/WEB-INF/web.xml:</p>

<p>Here you can change following paramters:</p>

<li>logkit-config: This parameter indicates the configuration file of the LogKit
<li>servlet-logger: This parameter indicates the category id of the logger from
the LogKit configuration used by the CocoonServlet.</li>
<li>cocoon-logger: This parameter indicates the category id of the logger from
the LogKit management configuration for the Cocoon engine. This logger is used
for all components described in the cocoon.xconf and sitemap.xmap file not
having specified a logger with the logger="..." attribute in the component
configuration file.</li>
<li>log-level: This parameter indicates the log level to use throughout startup
of the system. As soon as the logkit.xconf the setting of the logkit.xconf
configuration is used instead! Only for startup and if the logkit.xconf is not
readable/available this log level is of importance.</li>

<p>See inline comments in these files for further information!</p>

<p>Learn more about LogKit configuration by downloading the free chapter, A
User's Look at the Cocoon architecture, from Langham and Ziegeler's <em>Cocoon:
Building XML Applications</em> available at the New Riders web site.</p>

<h2>How can I change the physical location of my upload directory?</h2>

<p>Look in web.xml file located in &lt;your-webapp&gt;/WEB-INF. There you will
find the following snippet:</p>

<p>The above snippet shows the default path to the upload directory, specified
within &lt;param-value&gt;. Replace it with a different path to your upload
directory, relative to the context path of the servlet.</p>

<h2>How can I solve 'Too many open files' errors when I try to create a search
index for my site?</h2>

<p>Either reduce the number of tags in your documant, by filtering it with xslt
in your search view.</p>

<p>Or, increase the limit on the number of files your opperating system allows
you to have open simultaneously, in the shell you launch the servlet engine in.

<p>example (Linux, bash shell): ulimit 2048</p>

<p>example (MacOSX, tcsh shell): limit descriptors 2048</p>


The document belongs to the following collections: legacydocs

View raw message