You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Simeon Walker <si...@sbs.bangor.ac.uk> on 2001/01/16 14:02:28 UTC

Re: cvs commit: xml-cocoon/webapp/WEB-INF web.xml

prussell@apache.org wrote:
> 
> prussell    01/01/13 15:12:19
> 
>   Modified:    webapp/WEB-INF Tag: xml-cocoon2 web.xml
>   Log:
>   Added display names and descriptions to cocoon demo application.
> 
For some reason this change broke my installation, I'm using
jakarta-tomcat-4.0-b1 (RedHat 6, Sun JDK 1.2.2) and this is the 
error message it gives:

sim@vogon:/usr/local/java/jakarta-tomcat-4.0-b1>./bin/catalina.sh run
Using CLASSPATH:
/usr/local/java/jakarta-tomcat-4.0-b1/bin/bootstrap.jar:/usr/local/java/jakarta-tomcat-4.0-b1/bin/servlet.jar:/usr/local/java/jakarta-tomcat-4.0-b1/bin/naming.jar:/usr/local/java/jdk1.2.2/lib/tools.jar
Using CATALINA_HOME: /usr/local/java/jakarta-tomcat-4.0-b1
Starting service Tomcat-Standalone
Apache Tomcat/4.0-b1
PARSE error at line 61 column 12
org.xml.sax.SAXParseException: The content of element type "servlet"
must match
"(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),init-param*,load-on-startup?,security-role-ref*)".
Starting service Tomcat-Apache
Apache Tomcat/4.0-b1

When those 4 lines are removed then the cocoon servlet will start.
It's strange since the error message implies that the tags are ok.

Has anyone else seen this?

Sim

-- 
Simeon Walker,                      email: simeon@sbs.bangor.ac.uk
School of Biological Sciences,      phone: +44 (0)1248 383702
University of Wales, Bangor,        fax: +44 (0)1248 382569
Gwynedd, LL57 2UW, UK.              www: http://biology.bangor.ac.uk/

Re: cvs commit: xml-cocoon/webapp/WEB-INF web.xml

Posted by Paul Russell <pa...@luminas.co.uk>.
* Simeon Walker (simeon@sbs.bangor.ac.uk) wrote :
> prussell@apache.org wrote:
> > 
> > prussell    01/01/13 15:12:19
> > 
> >   Modified:    webapp/WEB-INF Tag: xml-cocoon2 web.xml
> >   Log:
> >   Added display names and descriptions to cocoon demo application.
> > 
> For some reason this change broke my installation, I'm using
> jakarta-tomcat-4.0-b1 (RedHat 6, Sun JDK 1.2.2) and this is the 
> error message it gives:

> When those 4 lines are removed then the cocoon servlet will start.
> It's strange since the error message implies that the tags are ok.

Argh. it needs them in the right order, sorry.


Paul.

-- 
Paul Russell                                 Email:   paul@luminas.co.uk
Technical Director                             Tel:  +44 (0)20 8553 6622
Luminas Internet Applications                  Fax:  +44 (0)870 28 47489
This is not an official statement or order.    Web:    www.luminas.co.uk