Yes, renaming this does solve the problem, but i can't see in servlet specs where it's stated 'default' is not a valid logical name for a servlet.
Vinu Varghese a écrit : > Just change the 'default' to something else like default.test , and > check whether the error repeats > > David Delbecq wrote: > >> Nope, downgrading to 2.3 servlet specs does not solve problem. >> >> foo shyn a écrit : >> >> >> >>> Maybe u could try the this DOCTYPE tag instead >>> >>> <!DOCTYPE web-app >>> >>> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" >>> >>> "http://java.sun.com/dtd/web-app_2_3.dtd"> >>> >>> >>> >>> hope this helps >>> >>> F.S. >>> >>> ----- Original Message ----- >>> From: "David Delbecq" <[EMAIL PROTECTED]> >>> To: "Tomcat Users List" <users@tomcat.apache.org> >>> Sent: Monday, March 13, 2006 4:48 PM >>> Subject: Re: error in tomcat >>> >>> >>> >>> >>> >>> >>>> line 43 contains >>>> </servlet> >>>> It corresponds to the following section: >>>> >>>> *<servlet>* >>>> *<servlet-name>*default*</servlet-name>* >>>> *<servlet-class>* >>>> org.apache.catalina.servlets.DefaultServlet >>>> *</servlet-class>* >>>> *<init-param>* >>>> *<param-name>*debug*</param-name>* >>>> *<param-value>*0*</param-value>* >>>> *</init-param>* >>>> *<init-param>* >>>> *<param-name>*listings*</param-name>* >>>> *<param-value>*true*</param-value>* >>>> *</init-param>* >>>> *<load-on-startup>*1*</load-on-startup>* >>>> *</servlet>* >>>> >>>> There is no other default section in the web.xml. The whole web.xml is >>>> as follow: >>>> >>>> *<web-app* xmlns="http://java.sun.com/xml/ns/j2ee" >>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>>> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee >>>> >>>> >>> >>> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >>> >>> >>> >>> >>>> version="2.4"*>* >>>> >>>> *<display-name>*Welcome to Tomcat*</display-name>* >>>> *<description>* >>>> Welcome to Tomcat >>>> *</description>* >>>> >>>> /<!-- JSPC servlet mappings start -->/ >>>> *<servlet>* >>>> *<servlet-name>*default*</servlet-name>* >>>> *<servlet-class>* >>>> org.apache.catalina.servlets.DefaultServlet >>>> *</servlet-class>* >>>> *<init-param>* >>>> *<param-name>*debug*</param-name>* >>>> *<param-value>*0*</param-value>* >>>> *</init-param>* >>>> *<init-param>* >>>> *<param-name>*listings*</param-name>* >>>> *<param-value>*true*</param-value>* >>>> *</init-param>* >>>> *<load-on-startup>*1*</load-on-startup>* >>>> *</servlet>* >>>> *<servlet>* >>>> *<servlet-name>*org.apache.jsp.index_jsp*</servlet-name>* >>>> *<servlet-class>*org.apache.jsp.index_jsp*</servlet-class>* >>>> *</servlet>* >>>> *<servlet-mapping>* >>>> *<servlet-name>*default*</servlet-name>* >>>> *<url-pattern>*/*</url-pattern>* >>>> *</servlet-mapping>* >>>> *<servlet-mapping>* >>>> *<servlet-name>*org.apache.jsp.index_jsp*</servlet-name>* >>>> *<url-pattern>*/index.jsp*</url-pattern>* >>>> *</servlet-mapping>* >>>> >>>> /<!-- JSPC servlet mappings end -->/ >>>> >>>> *</web-app>* >>>> >>>> >>>> Any idea why this webapp fail? >>>> Regards? >>>> >>>> >>>> Alan Chaney a écrit : >>>> >>>> >>>> >>>> >>>>> One place to start might be in your web.xml file. About half way down >>>>> you have a message saying >>>>> >>>>> >>>>> >>>>> >>>>>> Mar 10, 2006 2:03:42 PM org.apache.catalina.startup.ContextConfig >>>>>> applicationWebConfig >>>>>> SEVERE: Parse error in application web.xml >>>>>> java.lang.IllegalArgumentException: addChild: Child name >>>>>> 'default' is >>>>>> not unique >>>>>> at >>>>>> o >>>>>> >>>>>> >>>>>> >>>>> >>>>> And at the end you have >>>>> >>>>> >>>>> >>>>> >>>>>> at >>>>>> >>>>>> >>>>> >>> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409) >>> >>> >>> >>> >>>>>> Mar 10, 2006 2:03:42 PM org.apache.catalina.startup.ContextConfig >>>>>> applicationWebConfig >>>>>> SEVERE: Occurred at line 43 column 15 >>>>>> Mar 10, 2006 2:03:42 PM org.apache.catalina.startup.ContextConfig >>>>>> start >>>>>> SEVERE: Marking this application unavailable due to previous >>>>>> error(s) >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> Does 'line 43 column 15' refer to something relevant in web.xml? >>>>> >>>>> Regards >>>>> >>>>> Alan >>>>> >>>>> --------------------------------------------------------------------- >>>>> 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] >>>> >>>> >>>> >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> 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] >> >> >> >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]