I removed all the configs disabling the filters! It seems that has the wrong
effect in actually disabling the CustomServlet from being processed in
servletMappingIsUnderRestPath.

Now I have this code running in servletMappingIsUnderRestPath:

            if (accept == null) {
            accept = false;
            for (final String mapping : wrapper.findMappings()) {
                    if (!mapping.isEmpty() && !"/*".equals(mapping) &&
!"/".equals(mapping) && !mapping.startsWith("*")
                            && mapping.startsWith(this.mapping)) {
                        accept = true;
                        break;
                    }
                }

But it doesn't set accept true because the filter happens to be *.abc and
there is that condition !mapping.startsWith("*").

So it still returns false and the chain is not continued.  So looks like a
2nd issue with the filter, possibly a 3rd with the filter.active config.



--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Dev-f982480.html

Reply via email to