cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simeon Walker <sim...@sbs.bangor.ac.uk>
Subject Re: cvs commit: xml-cocoon/webapp/WEB-INF web.xml
Date Tue, 16 Jan 2001 13:02:28 GMT
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/

Mime
View raw message