RE: Tomcat4 to Tomcat5 web.xml problem

2004-09-28 Thread Shapira, Yoav

Hi,
Update your web.xml DTD to 2.3 or 2.4 in order to run your app on Tomcat
5.  If you REALLY want a 2.2 DTD then at least validate your web.xml.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Shaun Campbell [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, September 28, 2004 5:46 AM
>To: Tomcat Users List
>Subject: Tomcat4 to Tomcat5 web.xml problem
>
>I've got an application that runs fine in Tomcat 4.1.30.  However when
I
>place the same webapp in Tomcat 5.0.28 I get an error at startup saying
>that
>there is an error on line 11 column 21 of web.xml and the app is not
>loaded.
>Can anyone give me any pointers as to what could be wrong with the
file?
>
>Thanks
>
>Shaun
>
>PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
>"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd";>
>
>
>  
>invoker
>/servlet/*
>  
>  
>apt
>org.apache.turbine.Turbine
>
>  applicationRoot
>  webContext
>
>
>  properties
>
/WEB-INF/conf/TurbineResources.properties
>
>1
>  
>  
>
>  templates
>  /templates/*
>
>
>  logs
>  /logs/*
>
>
>  admin
>
>  
>  
>BASIC
>Templates
>  
>
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat4 to Tomcat5 web.xml problem

2004-09-28 Thread Ben Souther
Try moving the servlet-mapping node so that it appears after the servlet
node.



On Tue, 2004-09-28 at 05:45, Shaun Campbell wrote:
> I've got an application that runs fine in Tomcat 4.1.30.  However when I
> place the same webapp in Tomcat 5.0.28 I get an error at startup saying that
> there is an error on line 11 column 21 of web.xml and the app is not loaded.
> Can anyone give me any pointers as to what could be wrong with the file?
> 
> Thanks
> 
> Shaun
> 
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
> "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd";>
> 
> 
>   
> invoker
> /servlet/*
>   
>   
> apt
> org.apache.turbine.Turbine
> 
>   applicationRoot
>   webContext
> 
> 
>   properties
>   /WEB-INF/conf/TurbineResources.properties
> 
> 1
>   
>   
> 
>   templates
>   /templates/*
> 
> 
>   logs
>   /logs/*
> 
> 
>   admin
> 
>   
>   
> BASIC
> Templates
>   
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]