logo       

[DAISY] Updated: Cocoon Configuration FAQs: msg#00218

Subject: [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/22/05 1:05: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: 3348 bytes (previous version: 3103 bytes)
Content diff:
(18 equal lines skipped)
    <role-list>
      <role name="org.apache.cocoon.components.jsp.JSPEngine"
            shorthand="jsp-engine"
---         
default-class="org.apache.cocoon.components.jsp.JSPEngineImplWLS"/>
+++         
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>
+++ <p>1. <tt>{cocoon}/WEB-INF/logkit.xconf</tt>:</p>
    
--- <p>Please refer to the Avalon LogKit Documentation</p>
+++ <p>Please refer to the
+++ <a href="http://avalon.apache.org/logkit/index.html";>Avalon LogKit
+++ Documentation</a></p>
    
--- <p>2. {cocoon}/WEB-INF/web.xml:</p>
+++ <p>2. <tt>{cocoon}/WEB-INF/web.xml</tt>:</p>
    
    <p>Here you can change following paramters:</p>
    
    <ul>
--- <li>logkit-config: This parameter indicates the configuration file of the 
LogKit
--- management</li>
--- <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>
+++ <li><tt>logkit-config</tt>: This parameter indicates the configuration file 
of
+++ the LogKit management</li>
+++ <li><tt>servlet-logger</tt>: This parameter indicates the category id of the
+++ logger from the LogKit configuration used by the CocoonServlet.</li>
+++ <li><tt>cocoon-logger</tt>: 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><tt>log-level</tt>: 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>
    </ul>
    
--- <p>See inline comments in these files for further information!</p>
+++ <p class="note">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>
+++ <p>Learn more about LogKit configuration by downloading the free chapter,
+++ <a 
href="http://www.newriders.com/books/product.asp?product_id={C3C05052-BE3B-4E06-A60A-13FB40AF58F6}";>A
+++ User's Look at the Cocoon architecture,</a> 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>
    
--- <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>    &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
(19 equal lines skipped)


Fields
======
no changes

Links
=====
no changes

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

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



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe