Proposal for a production build for Cocoon

''Work-in-progress...Please feel free to edit directly or add comments inline.''

When the rough edges have been sanded off, this hopefully will be included in the distribution.


Cocoon does not currently provide an example production build configuration. This is making the transition from evaluation/development to production more difficult than it needs to be.


Notes: An example production build does not need to satisfy everyone. It only needs to have reasonable defaults and be relatively secure. Cocoon's customization system is designed to pick up from here to satisfy everyone else. It is rare for server software to be run without at least some configuration/customization.


Insert a new step 2 in "INSTALL.txt" and renumber the following steps:

 2) For a full build skip to step 3

  To make a production build without the documentation, samples, scratchpad,
  or deprecated code simply copy the example ""
  file to "" before going on to step 3.
  See below if you are rebuilding or wish to further customize the build.

 3) Build Cocoon by typing "build" or "./"

 4) Run Cocoon by typing "cocoon servlet" or "./ servlet"
 5) Open http://localhost:8888/ with your browser

Create the new file "":

# ---- Webapp Exclusions ----

# ---- Build Exclusions ----

# ---- Configuration ----

# ---- Webapp Build Properties ----

Rational:[[BR]] Documentation and samples would rarely be desired for production. Scratchpad and deprecated code are excluded as they may not be secure. Uploads are left disabled by default to prevent denial-of-service attacks. The settings for uploads and the loglevel are included because they are among the most likely to be customized.

Revisions:[[BR]] Loglevel changed from INFO to WARN, because INFO is too verbose for production. Do you think WARN or ERROR would be most appropriate?

ProductionInstallProposal (last edited 2009-09-20 23:40:54 by localhost)