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]

Reply via email to