From owner-freebsd-java Thu Mar 15 19: 3:46 2001 Delivered-To: freebsd-java@freebsd.org Received: from brave.vnet (IP1A0372.aic.mesh.ad.jp [211.13.107.118]) by hub.freebsd.org (Postfix) with ESMTP id 2E67337B719 for ; Thu, 15 Mar 2001 19:03:42 -0800 (PST) (envelope-from daichi@ongs.gr.jp) Received: from localhost (localhost [127.0.0.1]) by brave.vnet (8.11.1/8.11.1) with ESMTP id f2G33xH01800 for ; Fri, 16 Mar 2001 12:04:01 +0900 (JST) (envelope-from daichi@ongs.gr.jp) Date: Fri, 16 Mar 2001 12:03:59 +0900 (JST) From: Daichi GOTO To: freebsd-java@FreeBSD.ORG Subject: Re: Cocoon 1.8.2 on Tomcat 3.2.1 In-Reply-to: <84730698.984706298782.JavaMail.daichi@localhost> Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Mailer: =?iso-2022-jp?B?GyRCJGYkOhsoQiAxLjAwMA==?= Organization: ONGS Mime-Version: 1.0 Message-ID: <84737354.984711839577.JavaMail.daichi@localhost> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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) > docBase="webapps/cocoon" > debug="0" > reloadable="true"> > > > # 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) > > org.apache.cocoon.Cocoon > org.apache.cocoon.Cocoon > > properties > /WEB-INF/cocoon.properties > > > > # 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