Talking about web services, has anyone succeeded in getting a
javax.servlet.Filter to work, outside of a WAB?  According to the only
usable documentation I have found[1] the magic property is "urlPatterns",
and indeed this causes PAX Web to stop muttering that my servlet "did not
contain a valid alias or url patterns property" and to announce that it
was binding my bundle to "http service", but no joy. Even my init() method
doesn't get called, never mind doFilter(). I've tried setting urlPatterns
to a single String and to an array of Strings, using an exact path or a
wildcard ("/*") or a regexp ("/.*"), without success.

Thanks,

Chris


[1] https://ops4j1.jira.com/wiki/display/ops4j/Pax+Web+Extender+-+Whiteboard
Yes, it's from 2009; but the more recent docs are even more broken, and in
particular the links to the examples are dead.

Reply via email to