metadata-complete="true" is implicitly set and @WebFilter does not work when the version of web.xml is 2.3 or 2.4 in JBoss EAP 6

Solution Unverified - Updated -

Issue

I add a new library jar which contains a servlet filter using @WebFilter to our legacy web application which web.xml version is specified as 2.4. But it does not work. The servlet filter is never invoked.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.