Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.
The following page has been changed by Marc Driftmeyer: http://wiki.apache.org/cocoon/CocoonEasyInstallation ------------------------------------------------------------------------------ '''Update''' The whole procedure has been tested with '''Cocoon-2.1.5.1''' on a Suse Linux 9.1 with j2sdk1.4.2_05 and jakarta-tomcat-5.0.27 and there are no changes so far. For using this instruction you just need to replace '''cocoon-2.1.4''' with '''cocoon-2.1.5.1'''. + + '''Update''' + The following procedure I have tested on Debian SID, using '''Cocoon-2.1.7''' with the following customizations: + + 1. Instead of '''/opt/cocoon''' I chose to reference under my user account as follows: + + '''/home/myUserName/path-to-cocoon/''' + + e.g., '''/home/mdriftmeyer/svnReanimality/reanimCocoon/''' with '''ROOT''' being named as mentioned below in the base installation instructions. + + 2. Tomcat tested is '''Tomcat 5.5.9''' [''Debian SID still only has Tomcat 4.1.31-3 in the debian repository, at the moment. Work on the Java policies is ongoing and once resolved we should see Tomcat 5.5.9 or later release available in a standard debian package'']. Edited as follows but with one reference change: + {{{ + <Host appBase="../cocoon" name="cocoon"> + <Logger className="org.apache.catalina.logger.FileLogger" + prefix="cocoon_log." suffix=".txt" timestamp="true"/> + </Host> + }}} + + with: + + {{{ + <Host appBase="/home/mdriftmeyer/svnReanimality/reanimCocoon" name="cocoon"> + <Logger className="org.apache.catalina.logger.FileLogger" + prefix="cocoon_log." suffix=".txt" timestamp="true"/> + </Host> + }}} + + 3. Java JDK built and tested is JDK 1.5: + {{{ + [EMAIL PROTECTED]:/etc$ java -version + java version "1.5.0_03" + Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07) + Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing) + [EMAIL PROTECTED]:/etc$ + }}} + + 4. Edit /etc/hosts to include a reference to cocoon which allows hostname to be resolved. + + {{{ + 127.0.0.1 localhost.localdomain localhost horus, cocoon + }}} + + - Marc J. Driftmeyer mailto:[EMAIL PROTECTED] ------ This description has been created on a SuSE Linux 9.0 system with Tomcat 5.0.19 and j2sdk1.4.2_04 installed. As a good starting point for doing virtual hosting with Cocoon, Cocoon will be the default host and will listen to [http://cocoon:8080/] instead of [http://localhost:8080/cocoon/].
