Cocoon Configuration
Cocoon is highly configurable. Main configuration files, assuming Cocoon deployment as a servlet in a servlet container, are ( directory locations assume Tomcat servlet container and Windows NT ):
- sitemap.xmap: the sitemap file. By default, located in %TOMCAT_HOME%\webapps\cocoon directory.
- cocoon.xconf: configuration file having logicsheet registrations. Specifies, sitemap.xmap location and other such parameters. By default, located in %TOMCAT_HOME%\webapps\cocoon directory.
- web.xml: servlet deployment descriptor. Specifies location of cocoon.xconf, log file location and other such parameters. Located in %TOMCAT_HOME%\webapps\cocoon\Web-inf directory.
- cocoon.roles: mapping file for Core Cocoon components name and implementation classes. For example, if you want to use a parser other than the default one, you need to modify this file.