(Also on JBoss-2.4.4_Tomcat-3.2.3 (non-beta))
I have a couple of similar reports for Jetty.
The problem seems to be with ordering of elements in the web.xml.
Something has changed which makes JBoss/Jetty stricter about the order that elements must be found in.
Whether this is:
- the parser
- the DTD
I have not yet had time to verify.
Massage your web.xml a bit and you should get it to deploy in both.
If you figure out what broke it, I would be very interested to know.
I'm having similiar issues. I've tried moving stuff
around, to no avail. Any workarounds to this problem?
The parser is being strict about element ordering.
Find the DTD and order your XML in exactly the same order as they appear in the DTD.
This ensures MAXIMUM portability of your application.
Unfortunately other vendors are a little more relaxed, which leads to incompatibilities.