You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by st...@outerthought.org on 2003/05/21 17:00:02 UTC

[WIKI-UPDATE] Cocoon2.1m2SetupLinuxredhat8.0 Wed May 21 17:00:02 2003

Page: http://wiki.cocoondev.org/Wiki.jsp?page=Cocoon2.1m2SetupLinuxredhat8.0 , version: 3 on Wed May 21 14:15:18 2003 by CalebRacey

- Java setup
+ !Java setup
? +

- I'll leave most of this to you beacuase i had probelms with self extracting binareis so can't remeber what i did
?                                   - -                                                                          ^

+ I'll leave most of this to you because i had probelms with self extracting binareis so can't remeber what i ended up doing.
?                                  +                                                                          ++ ++++++++ ^^^

- Download Tomcat 4.1.24-LE-jdk14 
+ (1) Download Tomcat 4.1.24-LE-jdk14 
? ++++

- install in /usr/local/tomcat/current/ (i install versions in /usr/local/tomcat/<version_number> then symlink /usr/local/tomcat/current to this, it makes upgrading easier)
+ (2) install in /usr/local/tomcat/current/ (i install versions in /usr/local/tomcat/<version_number> then symlink /usr/local/tomcat/current to this, it makes upgrading easier)
? ++++

- Run file startup.sh located at /usr/local/tomcat/current/bin
+ (3) Run file startup.sh located at /usr/local/tomcat/current/bin
? ++++

- Enter [http://localhost:8080] or [http://your_server_name:8080] in your browser and check that Tomcat (the servlet engine) is running.
+ (4) Enter [http://localhost:8080] or [http://your_server_name:8080] in your browser and check that Tomcat (the servlet engine) is running.
? ++++

- Download cocoon source from http://cocoon.apache.org/mirror.cgi/cocoon-2.1m2-src.tar.gz 
+ (5) Download cocoon source from http://cocoon.apache.org/mirror.cgi/cocoon-2.1m2-src.tar.gz 
? ++++

- Extract it to  /usr/local/cocoon/cocoon-2.1m2/
+ (6) Extract it to  /usr/local/cocoon/cocoon-2.1m2/
? ++++

- Set JAVA_HOME environmant variable to wherever Java SDK 1.4.1_02  is on you system in mycase:
+ (7) Set JAVA_HOME environmant variable to wherever Java SDK 1.4.1_02  is on you system in mycase:
? ++++

- Compile Cocoon using shell interface and type /usr/local/cocoon/cocoon-2.1m2/build.sh webapp 
+ (8) Compile Cocoon using shell interface and type /usr/local/cocoon/cocoon-2.1m2/build.sh webapp 
? ++++

- move directory /usr/local/cocoon/cocoon-2.1m2/build/webapp to /usr/local/tomcat/current/webapps/cocoon (mv /usr/local/cocoon/cocoon-2.1m2/build/webapp /usr/local/tomcat/current/webapps/cocoon)
+ (9) move directory /usr/local/cocoon/cocoon-2.1m2/build/webapp to /usr/local/tomcat/current/webapps/cocoon (mv /usr/local/cocoon/cocoon-2.1m2/build/webapp /usr/local/tomcat/current/webapps/cocoon)
? ++++

- You need to copy 3 files: xalan-2.4.1.jar, xercesImpl-2.1.0.jar and xml-apis.jar
?                                 ^^^^^                 ^^^^^

+ (10) You need to copy 3 files: xalan-<version no>.jar, xercesImpl-<version no>.jar and xml-apis.jar
? +++++                                ^^^^^^^^^^^^                 ^^^^^^^^^^^^

- Note: Before copying the 3 files, the directory "endorsed" was actually empty.
+ Note: Before copying the 3 files, the tomcat directory "endorsed" was actually empty.
?                                      +++++++

+ ----
+ Join me next week when i will write a thrilling installment entitled  "Don't get more than 2 gig of memmory for a x86 (linux, windows) box as the jvm can only use 1960meg" ;-P 
- 
- 
-