tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Isaacs <Larry.Isa...@sas.com>
Subject RE: moving from 3.2 to 3.31
Date Thu, 30 May 2002 16:56:53 GMT
The contents of the web.xml is defined by the Servlet 2.2
spec, which hasn't changed.  More detail will be needed
to tell what is going wrong.  You can set the debug level
on SimpleMapper1 in server.xml to get more clues about
why your servlet isn't being found.

Cheers,
Larry

> -----Original Message-----
> From: Maureen Barger [mailto:mf12@cornell.edu] 
> Sent: Thursday, May 30, 2002 11:22 AM
> To: tomcat-user@jakarta.apache.org
> Subject: moving from 3.2 to 3.31
> 
> 
> Hi -- I am having some trouble moving an application from 
> tomcat 3.2 to 3.31.
> In my server.xml, I have pointed the ContextXmlReader to look 
> at my custom 
> apps.xml. My context is mounts and I can access it. But in 
> the web.xml of 
> the application I have defined a servlet to map to a location 
> and it is not 
> loading -- I get a 404.
> i.e. <servlet>
>       <servlet-name>brand</servlet-name>
>       <servlet-class>JarBranderServlet</servlet-class>
> </servlet>
> 
>    <servlet-mapping>
> 	<servlet-name>brand</servlet-name>
> 	<url-pattern>/brand</url-pattern>
> 	</servlet-mapping>
> 	<servlet-mapping>
> 	<servlet-name>brand</servlet-name>
> 	<url-pattern>/brand/*</url-pattern>
>    </servlet-mapping>
> 
> Has defining servlets changed in 3.31 as well? (So much else 
> has!) The only 
> clue in the docs is the application deployment doc, which 
> warns that it is 
> outdated.
> ========================================================
> Maureen Barger, CIT/ID, Cornell University
> Ithaca, NY 14850
> mf12@cornell.edu
> http://mo.cit.cornell.edu/
> 
> Nature goes her own way and all that to us seems an exception
> is really according to order.
> --Johann Wolfgang von Goethe
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:tomcat-user-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message