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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content