You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by ni...@supereva.it on 2001/09/19 10:00:33 UTC

Installation Problem Solved- C2b2 and Tomcat 4.0 Final WAS Installation Problem - Cocoon-2.0b2 and Tomcat 4.0-rc2

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


X11 low-level errors (Re: Installation Problem Solved- C2b2 and Tomcat 4.0 Final)

Posted by Jeff Turner <je...@socialchange.net.au>.
On Wed, Sep 19, 2001 at 05:08:03PM -0400, Rajkumar, Joseph wrote:
> Hi Folks
> 
>     This did it and it all works beautifully. I took the stock Tomcat-4.0
> binary distribution and Cocoon-2.0B2.tar.gz.
> 
>     The build 'cocoon' with the install option giving it the path to the
> tomcat webapps directory as given on the "install" page on cocoon2-page.
> Removed jaxp.jar and crimson.jar and copied xerces_1_4_1.jar.

It wasn't necessary for me. Straight out of CVS, I did a "./build.sh
-Dinclude.webapp.libs=yes dist", then copied the cocoon.war to my
webapps directory, restarted, and it all worked.

That was on one linux box. On another, I got some weird X errors on
catalina.out:

_X11TransSocketOpen: socket() failed for tcp
_X11TransSocketOpenCOTSClient: Unable to open socket for tcp
_X11TransOpen: transport open failed for tcp/10.10.1.136:0

The "10.10.1.136:0" is from my DISPLAY variable, and it points to a working X
server (on the box where C2 worked). Xvfb on localhost:1 gives the same error.
This is with an identical JVM to the working install (Sun 1.3.0), out-the-box
Tomcat and same cocoon.war.

I've absolutely no idea on this one. I'm just throwing it out there so that if
anyone else is searching the archives with an identical error, we can
commiserate together ;P

--Jeff

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


Re: Installation Problem Solved- C2b2 and Tomcat 4.0 Final WAS Installation Problem - Cocoon-2.0b2 and Tomcat 4.0-rc2

Posted by "Rajkumar, Joseph" <ra...@orionsci.com>.
Hi Folks

    This did it and it all works beautifully. I took the stock Tomcat-4.0
binary distribution and Cocoon-2.0B2.tar.gz.

    The build 'cocoon' with the install option giving it the path to the
tomcat webapps directory as given on the "install" page on cocoon2-page.
Removed jaxp.jar and crimson.jar and copied xerces_1_4_1.jar.

    Everything now works like a charm including the "simple SQL" using
the included hypersonicSQL database.

Thanks to all those who responded.
Regards
Joseph Rajkumar


nicolaken@supereva.it wrote:

> 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.


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


Re: Installation Problem Solved- C2b2 and Tomcat 4.0 Final WAS Installation Problem - Cocoon-2.0b2 and Tomcat 4.0-rc2

Posted by Paul Spencer <pa...@mikon.com>.
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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>