> From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] > > 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
Forgot to mention one step: Remove xalan, xerces, batik, xml-apis libraries from the cocoon.war archive. > 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 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>