CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5516
Offline
|
Hi,
we still see projects which have not done a web.xml update yet... - and we talk about the web.xml update > 2 years ago! ;-)
Take a look at your web.xml - do you see filter definitions like "ThreadinFilter", "CompressionFilter", ...? Then you web.xml was created years ago and never updated. - All filter definitions, all servlet definitions (by CaptainCasa) were moved into our runtime, which registers all these items by using the corresponding APIs.
From CaptainCasa-perspective the web.xml is a minimum one. Please check https://www.captaincasademo.com/forum/posts/list/3357.page to see this minimum content.
THE PROBLEM IF YOU DO NOT DO THIS: you suddenly run into strange error situations (e.g. some NullPointer during component processing) which never occurred before... Why? Because the servlet engine now tries to mix the web.xml definitions with the API registrations - and the result is some "gambled" sequence of filters/servlets... In many cases this works fine - until it suddenly is arranging things in the wrong order.
Thanks! ;-)
Björn
|