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>   ...
+++    &lt;cocoon version="2.0" user-roles="/WEB-INF/my.roles"&gt;
+++    ...
+++ </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>&lt;?xml version="1.0"?&gt;
+++ &lt;role-list&gt;
+++   &lt;role name="org.apache.cocoon.components.jsp.JSPEngine"
+++         shorthand="jsp-engine"
+++         default-class="org.apache.cocoon.components.jsp.JSPEngineImplWLS"/&gt;
+++ &lt;/role-list&gt;
+++ </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 &lt;your-webapp&gt;/WEB-INF. There you will
    find the following snippet:</p>
    
+++ <pre>&lt;init-param&gt;
+++    &lt;param-name&gt;upload-directory&lt;/param-name&gt;
+++    &lt;param-value&gt;/WEB-INF/work/upload-dir&lt;/param-value&gt;
+++ &lt;/init-param&gt;    
+++ </pre>
+++ 
    <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>
(17 equal lines skipped)


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
no changes