Lars Preben S. Arnesen typed the following on 10:59 20/12/2002 +0100
>When I start Tomcat I get an exception (included below). I seems like
>the problem is in the web.xml, but this works just fine when the
>xml-file is included in a war-file. I removed almost all entries and
>inserted one by one and when I added a filter, the error occured.

Tomcat is much pickier than Resin about what order the elements
go in, so make sure your filter isn't out of order according to this:

>The content of element type "web-app" must match 
>"(icon?,display-name?,description?,distributable?,context-param*,filter*,fil
>ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mappin
>g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se
>curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-loca
>l-ref*)".

I'm not sure why it would work differently in a WAR file, but it's worth
checking.

Kief


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

Reply via email to