cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morrison, John" <John.Morri...@uk.experian.com>
Subject RE: cvs commit: xml-cocoon/webapp/WEB-INF web.xml
Date Tue, 16 Jan 2001 13:06:04 GMT
Yep, the two descriptions have been added in the wrong place.  Check the
Servlet DTD.

> -----Original Message-----
> From: Simeon Walker [mailto:simeon@sbs.bangor.ac.uk]
> Sent: 16 January 2001 1:02 pm
> To: cocoon-dev@xml.apache.org
> Subject: 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/l
> ocal/java/jakarta-tomcat-4.0-b1/bin/servlet.jar:/usr/local/jav
> a/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/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

Mime
View raw message