cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Spencer <p...@mikon.com>
Subject Re: Installation Problem Solved- C2b2 and Tomcat 4.0 Final WAS Installation Problem - Cocoon-2.0b2 and Tomcat 4.0-rc2
Date Thu, 20 Sep 2001 18:09:59 GMT
I have solved the problem a different way.

1) Move jaxp.jar and crimson.jar from common/lib to server/lib.
   This is because Tomcat need those jars in it's classpath, which
include server/lib and common/lib.  In previous version of Tomcat 4 the
jars where in server/lib to address compatibility problems around which
XML parsers and webapps.  Application that required them [jaxp.jar and
crimson.jar] , but did not distribute them complained and application,
like Cocoon, the could not use them worked! I do not know why Tomcat
moved them back to common/lib.

2) Copy jasper-compiler from <TOMCAT_HOME>/jasper to
webapps/cocoon/WEB-INF/lib.
   This is required for JSPs to work.  Apparently Cocoon does not use
jasper-runtime.jar

Paul Spencer

nicolaken@supereva.it wrote:
> 
> >Help Please,
> >
> >I have installed Cocoon-2.0b2 and Tomcat 4.0-rc2.
> >I have added to the cocoon web.xml file:
> ><init-param>
> ><!--  change param value to path to Catalina's servlet.jar  -->
> ><param-name>extra-classpath</param-name>
> ><param-value>C:\Program Files\Apache Tomcat
> >4.0\common\lib\servlet.jar</param-value>
> ></init-param>
> 
> AFAIK, this is not necessary now.
> 
> >
> >When I HTTP access Cocoon using http://localhost:8080/cocoon I get the following
> >error message:
> >       "Status 503 - Servlet Cocoon2 is currently unavailable"
> >
> >Any Ideas
> 
> Well,the problem is that C2 doesn't find the parser for starting to parse the cocoon.xconf.
I saw that seeing the line number in the stack-trace and looking at the sources.
> To make it work just delete (or move somewhere else) the files jaxp.jar and crimson.jar
in \jakarta-tomcat-path\common\lib and put the xerces_1_4_1.jar file instead.
> All should work now.
> 
> Nicola Ken Barozzi
> nicolaken@blyko.com
> 
> >Peter Sparkes  Data Architect
> >Derwent Information
> >14 Great Queen St      Tel. +44 (0)20 7424 2084
> >London         Fax. +44 (0) 20 7344 2815
> >WC2B 5DF               Email. peter.sparkes@derwent.co.uk
> >UK                     Website: http://www.derwent.com/
> 
> -----------------------------------------------------
> 
> messaggio inviato con Freemail by superEva
> http://www.supereva.it
> 
> -----------------------------------------------------
> 
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message