Date: Fri, 16 Mar 2001 12:03:59 +0900 (JST) From: Daichi GOTO <daichi@ongs.gr.jp> To: freebsd-java@FreeBSD.ORG Subject: Re: Cocoon 1.8.2 on Tomcat 3.2.1 Message-ID: <84737354.984711839577.JavaMail.daichi@localhost> In-Reply-To: <84730698.984706298782.JavaMail.daichi@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
> 5. Cocoon 1.8.2 install > # fetch http://xml.apache.org/cocoon/dist/Cocoon-1.8.2.tar.gz > # tar xzf Cocoon-1.8.2.tar.gz > > # mkdir /usr/local/cocoon > # cp -R ./cocoon-1.8.2/* /usr/local/cocoon/ > > # cp /usr/local/cocoon/bin/cocoon.jar /usr/local/tomcat/lib/ > # cp /usr/local/cocoon/lib/*.jar /usr/local/tomcat/lib/ > > # cd /usr/local/tomcat/webapps/ > # mkdir cocoon > # chmod 755 cocoon > > # cd /usr/local/tomcat/conf/ > # vi server.xml (addition follow description) > <Context path="/cocoon" > docBase="webapps/cocoon" > debug="0" > reloadable="true"> > </Context> > > # cd /usr/local/tomcat/webapps/cocoon/ > # cp -R /usr/local/cocoon/samples ./servlets > # mkdir WEB-INF > # cd /usr/local/tomcat/webapps/cocoon/WEB-INF/ > # cp -R /usr/local/cocoon/src/WEB-INF/* ./ > # cp /usr/local/cocoon/conf/cocoon.properties ./ > > # vi cocoon.properties (change repository setting) > processor.xsp.repository = /usr/local/cocoon/repository > > # mkdir /usr/local/cocoon/repository > > # vi web.xml (change param-value element value) > <servlet> > <servlet-name>org.apache.cocoon.Cocoon</servlet-name> > <servlet-class>org.apache.cocoon.Cocoon</servlet-class> > <init-param> > <param-name>properties</param-name> > <param-value>/WEB-INF/cocoon.properties</param-value> > </init-param> > </servlet> > > # vi /usr/local/etc/apache/httpd.conf (addition allow line) > JkMount /cocoon/*.xml ajp12 > > # sh /usr/local/etc/rc.d/tomcat.sh start (this script starts up tomcat and apache correctly) Michael pointed out the problem (Thank you Michael!!). This problem depends on JAXP Xerces problem. Tomcat 3.2.1 has JAXP1.0 that is older than current version. And Cocoon 3.2.1 has Xerces 1.2. So the duplex XML Parsering code cause a problem. Simple solution method is follow: # cd /usr/local/tomcat/lib/ # mv jaxp.jar parser.jar ../ Daichi T.GOTO(ONGS) http://www.ongs.net/daichi, daichi@ongs.gr.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84737354.984711839577.JavaMail.daichi>