cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] Cocoon2.1m2SetupLinuxredhat8.0 Installing AuthWithTomcat Wed May 21 16:00:04 2003
Date Wed, 21 May 2003 14:00:04 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=Cocoon2.1m2SetupLinuxredhat8.0 , version: 1 on
Wed May 21 13:25:13 2003 by CalebRacey

New page created:
+ !!Cocoon2.1m2 Setup Linux redhat8.0
+ 
+  
+ !How to setup Cocoon 2.1m2 + Java SDK 1.4.1_02 + Tomcat/4.1.24-LE-jdk14 + on a RedHat8.0
linux box
+ 
+ Note this is basically a copy paste the edit version of Cocoon 2.1DevSetupWin2000 I had
some problems installing Cocoon 2.1m2 on my linux server, so I made this how-to for anyone
interested.
+ 
+ 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
+ basically i ended
+ !Tomcat Setup
+ 
+ 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)
+  
+ 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.
+ 
+ -> Tomcat installed, now you need Cocoon!
+ 
+ ----
+ !Cocoon Setup
+ 
+ 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/
+ 
+ Set JAVA_HOME environmant variable to wherever Java SDK 1.4.1_02  is on you system in mycase:
+ export JAVA_HOME=/usr/local/java/current/
+ 
+ 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)
+ 
+ 
+ You need to copy 3 files: xalan-2.4.1.jar, xercesImpl-2.1.0.jar and xml-apis.jar
+ from /usr/local/cocoon/cocoon-2.1m2/lib/endorsed into directory /usr/local/tomcat/current/common/endorsed
+ 
+ Note: Before copying the 3 files, the directory "endorsed" was actually empty.
+ 
+ Run Tomcat again (run file startup.sh)
+ 
+ Direct your browser on [http://localhost:8080/cocoon] and ... it should be working.
+ 
+ Also check samples at [http://localhost:8080/cocoon/samples/]
+ 
+ 
+ 
+ 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=Installing , version: 10 on Wed May 21 13:03:06
2003 by CalebRacey

+ 
+ * __[Cocoon 2.1m2 Setup Linux (redhat8.0)]__ : Cocoon 2.1 m2 install for Dummies. Information
how to setup Cocoon 2.1m2 + Java SDK 1.4.1_02 + Tomcat/4.1.24-LE-jdk14 +  on a RedHat8.0 linux
box. - DEVELOPMENT VERSION
+ 


Page: http://wiki.cocoondev.org/Wiki.jsp?page=AuthWithTomcat , version: 5 on Wed May 21 13:53:40
2003 by 194.133.138.253




Mime
View raw message