Hi,
Sorry I havent
introduce myself, I will do so when im not so tired ;-)
Those wanting to use cocoon2 on windows with jdk1.4 do
the following:
- Download Tomcat Binary(LE) and
"install"
- Download Cocoon Binary and copy cocoon.war to
$CATALINA_HOME/webapps
- Launch Tomcat
- When the WAR has been extracted Shut Tomcat
Down
- make a directory 'endorsed' in
$JAVA_HOME/jre/lib
- copy xerces,xalan,xml-apis from
$CATALINA_HOME/webapps/cocoon/WEB-INF/libs to the endorsed
directory
- copy batik-libs,xerces,xalan,xml-apis from
$CATALINA_HOME/webapps/cocoon/WEB-INF/libs to
$CATALINA_HOME/common/libs
- remove javac from
$CATALINA_HOME/webapps/cocoon/WEB-INF/libs
- copy $JAVA_HOME/lib/tools.jar to
$CATALINA_HOME/webapps/cocoon/WEB-INF/libs
- clear out everything under
$CATALINA_HOME/work/localhost
- start tomcat
- buy me a beer
Those wanting to use
cocoon2 on *nix with jdk1.4 do the following:
- Do the same as the
windows guys are doing
- edit catalina.sh
in the $CATALINA_HOME/bin directory and add a line
CATALINA_OPTS='-Djava.awt.headless=true'
- start
tomcat
- buy me 2
beers
Can someone with
commit access to the cvs add that headless stuff
Thanks,
Matt
Oh yeah, this works
on the latest releases of cocoon and tomcat (2.0.1 and 4.0.3 atm). that
java.awt.headless=true thing is really important for *nix users, so someone
please add it to the INSTALL text.
I recommend using
the light edition of tomcat, because its less to worry about. if you use the
full version then you will need to screw around with extra
JARs