It seems your xml does not match with the DTD defined for the web.xml.
Probably the error is that some xml tags are not in the same order that
defined on the DTD.

JOse



> -----Original Message-----
> From:
> [EMAIL PROTECTED]
> rg
> [mailto:tomcat-user-return-38259-joseandres.perez=m-centric.com@;jakarta.
> apache.org]On Behalf Of Steltner, J�rn HTC/DE/ESS
> Sent: lunes, 21 de octubre de 2002 9:43
> To: '[EMAIL PROTECTED]'
> Subject: web.xml error
>
>
> Hallo,
>
> I got an error in my catalina.out msg like this:
>
> org.xml.sax.SAXParseException: The content of element type "web-app" must
> match
> "(icon?,display-name?,description?,distributable?,context-param*,f
> ilter*,fil
> ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,m
> ime-mappin
> g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resour
> ce-ref*,se
> curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref
> *,ejb-loca
> l-ref*)".
>       at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException
> (ErrorHand
> lerWrapper.java:232)
>       at
> org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapp
> er.java:17
> 3)
> ............................
>
> my web.xml:
>
> <!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>     "http://java.sun.com/dtd/web-app_2_3.dtd";>
>
> <web-app>
>   <display-name>w2k-Projektdokumentation</display-name>
>   <description>w2k-Projektdokumentation</description>
>   <context-param>
>     <param-name>J. Steltner</param-name>
>     <param-value>[EMAIL PROTECTED]</param-value>
>     <description>
>       Please send a mail.
>     </description>
>   </context-param>
>
>   <resource-ref>
>       <description>DB Connection</description>
>       <res-ref-name>jdbc/w2k</res-ref-name>
>       <res-type>javax.sql.DataSource</res-type>
>       <res-auth>Container</res-auth>
>   </resource-ref>
>
>   <session-config>
>      <session-timeout>30</session-timeout>
>   </session-config>
>
>   <welcome-file-list>
>     <welcome-file>index.html</welcome-file>
>   </welcome-file-list>
>
>   <servlet>
>     <servlet-name>dbGetInvoices</servlet-name>
>     <description>Print table with all invoices.</description>
>     <servlet-class>dbGetInvoices</servlet-class>
>   </servlet>
>
>   <servlet-mapping>
>     <servlet-name>dbGetInvoices</servlet-name>
>     <url-pattern>/dbGetInvoices</url-pattern>
>   </servlet-mapping>
>
> </web-app>
>
>
> may some can help me. I don't have any idea where the eror should be ;-(
>
> TNX!
>
> Regards
> Joern
>
> --
> 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>

  • web.xml error "Steltner, J�rn HTC/DE/ESS"
    • Jose Andr�s P�rez

Reply via email to