Why WildFly ignores filters defined in web.xml?

476 views Asked by At

I have an application running on WildFly-10.1.0.Final. I deployed it correctly, but some entries of my web.xml are ignored.

This is a part of my web.xml:

<filter>
  <filter-name>ExtProjectFilter</filter-name>
<filter-class>com.raylloy.filter.ExtProjectFilter</filter-class>
</filter>
<filter-mapping>
  <filter-name>ExtProjectFilter</filter-name>
  <url-pattern>*.jsf</url-pattern>
</filter-mapping>

When I use a jboss-5.1.0.GA this works fine, a new instance of my filter is created. But on wildfly-10.1.0.Final, my filter is ignored.

Is there a way to fix it? Is there something I need to add in standalone.xml?

Thanks in advance!

0

There are 0 answers