On Wed, 9 Oct 2002, Chuck Carson wrote:

> Date: Wed, 9 Oct 2002 08:54:52 -0700
> From: Chuck Carson <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Odd Exception at Startup
>
>
> I am getting the following exception at startup, however, the server
> starts and appears to function correctly:
>
> [INFO] Registry - -Loading registry information
> [INFO] Registry - -Creating new Registry instance
> [INFO] Registry - -Creating MBeanServer
> [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 80
> [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 443
> Starting service Tomcat-Standalone
> Apache Tomcat/4.1.12
> org.xml.sax.SAXParseException: The content of element type "web-app"
> must match
> "(icon?,display-name?,description?,distributable?,context-param*,filter*
> ,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mim
> e-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,reso
> urce-ref*,security-constraint*,login-config?,security-role*,env-entry*,e
> jb-ref*,ejb-local-ref*)".

The order of elements in a web.xml file must be in the order specified
above.  Your's is not.

Craig


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

Reply via email to