Next Previous Contents

6. How to Setup Cocoon

6.1 Cocoon

[ TODO ]

Go to http://xml.apache.org/cocoon/dist/ and download cocoon. Version 2.04 is the latest version at this writing. You will have to select a distribution for eiher Java 1.3/1.2 or Java 1.4. I downloaded cocoon-2.0.4-vm14-bin.tar.gz. The download location is not imporatant, as you will just need to move a .war file to Tomcat. I use /usr/local/src.

# cd /usr/local/src
# tar zxvf cocoon-2.0.4-vm14-bin.tar.gz
# cd cocoon-2.0.4
# cp cocoon.war /usr/local/jakarta-tomcat-4.1.18/webapps/
# /etc/rc.d/init.d/tomcat stop
# /etc/rc.d/init.d/tomcat start
Point your browser to: localhost:8080/cocoon. It will take a while to compile. Read the INSTALL file if you need to know why.
Next Previous Contents