cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject [SOLUTION] Cocoon with the Tomcat 4.0.3
Date Sat, 02 Mar 2002 18:00:29 GMT
Hi,

Here are steps to install Cocoon with the Tomcat 4.0.3. Following steps
were tried under Win2000 and Cocoon CVS version, and assume that Tomcat
is installed under C:\Apache\jakarta-tomcat-4.0.3 directory. Make
appropriate arrangements in JAR file versions for older Cocoon and
directories/slashes for Linux.

1. Download and install Tomcat 4.0.3, from
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/

2. Copy following libraries from the xml-cocoon2\lib\core directory to
the %CATALINA_HOME%\common\lib directory:
    xalan-2.3.1.jar
    xercesImpl-2.0.0.jar
    xml-apis.jar

3. Copy following library from the xml-cocoon2\lib\optional directory to
the %CATALINA_HOME%\common\lib directory:
    batik-libs-1.1.1.jar

4. Remove xt-19991105.jar from the xml-cocoon2\lib\optional directory.

5. Edit extra-classpath parameter in the
xml-cocoon2\src\webapp\WEB-INF\web.xml:
    <init-param>
      <param-name>extra-classpath</param-name>
 
<param-value>C:\Apache\jakarta-tomcat-4.0.3\common\lib\xalan-2.3.1.jar;C
:\Apache\jakarta-tomcat-4.0.3\common\lib\xercesImpl-2.0.0.jar;C:\Apache\
jakarta-tomcat-4.0.3\common\lib\xml-apis.jar;C:\Apache\jakarta-tomcat-4.
0.3\common\lib\batik-libs-1.1.1.jar</param-value>
    </init-param>

6. Clean Cocoon:
    build clean

7. Build Cocoon:
    build -Dinclude.webapp.libs=yes webapp

8. Copy xml-cocoon2\build\cocoon\cocoon.war

9. Launch Tomcat. Access http://localhost:8080/cocoon/.

Known issues: I did not put any effort into configuring JSP examples,
and they do not work out-of-the-box.

Please try these steps and get back with results.

Vadim



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message