How can I define a global servlet filter for all WEB applications deployed in EAP 6/7?

Solution Verified - Updated -


  • We created several servlet filters using the @WebFilter annotation and made it available in a global module in EAP 6, however, it's not getting invoked when accessing the mapped context.
  • We added a global filter to deployers/jbossweb.deployer/web.xml in EAP 5. How to add a global filter to EAP 6 ?


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
    • 7.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