> From: snpe [mailto:[EMAIL PROTECTED]] > > Hello, > I try your solution on Linux. > I get tomcat-4.0.3 from source, compile and execute with JDK1.4
Ok, my fault. One more correction: these steps are for JDK1.3.1. Search archives, read Cocoon CVS documentation for JDK1.4 issues. <snip/> > org.apache.cocoon.ProcessingException: Error compiling sitemap: > java.lang.NoClassDefFoundError > at org.apache.cocoon.sitemap.Handler.run(Handler.java:295) > at java.lang.Thread.run(Thread.java:536) > Caused by: java.lang.NoClassDefFoundError > at org.apache.batik.dom.svg.SAXSVGDocumentFactory.(Unknown Source) > at org.apache.cocoon.xml.dom.SVGBuilder.(SVGBuilder.java:86) > at org.apache.cocoon.serialization.SVGSerializer.(SVGSerializer.java:95) <snip/> Vadim > On Saturday 02 March 2002 08:48 pm, Vadim Gritsenko wrote: > > > 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]>