You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2005/09/21 16:01:49 UTC
[DAISY] Updated: Cocoon Configuration FAQs
A document has been updated:
http://cocoon.zones.apache.org/daisy/legacydocs/709.html
Document ID: 709
Branch: main
Language: default
Name: Cocoon Configuration FAQs (unchanged)
Document Type: Document (unchanged)
Updated on: 9/21/05 2:01:38 PM
Updated by: Helma van der Linden
A new version has been created, state: publish
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 3103 bytes (previous version: 2584 bytes)
Content diff:
(4 equal lines skipped)
<p>In cocoon.xconf you can specify your my.roles file as follows:</p>
+++ <pre> ...
+++ <cocoon version="2.0" user-roles="/WEB-INF/my.roles">
+++ ...
+++ </pre>
+++
<p>if you are using Tomcat 4. For other versions, skip the leading slash of the
URI.</p>
<p>And create a new file my.roles in WEB-INF directory with</p>
+++ <pre><?xml version="1.0"?>
+++ <role-list>
+++ <role name="org.apache.cocoon.components.jsp.JSPEngine"
+++ shorthand="jsp-engine"
+++ default-class="org.apache.cocoon.components.jsp.JSPEngineImplWLS"/>
+++ </role-list>
+++ </pre>
+++
<h2>Where do I setup LogKit in Cocoon?</h2>
<p>1. {cocoon}/WEB-INF/logkit.xconf:</p>
(31 equal lines skipped)
<p>Look in web.xml file located in <your-webapp>/WEB-INF. There you will
find the following snippet:</p>
+++ <pre><init-param>
+++ <param-name>upload-directory</param-name>
+++ <param-value>/WEB-INF/work/upload-dir</param-value>
+++ </init-param>
+++ </pre>
+++
<p>The above snippet shows the default path to the upload directory, specified
within <param-value>. Replace it with a different path to your upload
directory, relative to the context path of the servlet.</p>
(17 equal lines skipped)
Fields
======
no changes
Links
=====
no changes
Custom Fields
=============
no changes
Collections
===========
no changes