Thanks for your suggestions, Reto!
Am 16.05.2012 16:15, schrieb Reto Bachmann-Gmür:
As far as I know the mechanism by which the servlet filter is registered is
supported only by the felix http service. The servlet filter is just
registered as a service and annotated with some properties. So I guess that
a different http-service being used is the reason things don't work in your
karaf setting.
You are right in so far as sling-standalone uses
org.apache.felix.http.jetty to provide
org.osgi.service.http.HttpService whereas karaf uses
org.ops4j.pax.web.pax-web-runtime.
I would support you assumption if i didnt have the case where it works
with sling 2.0.6 and
Karaf 2.2.7 (which has the pax-web httpservice)
kind regards,
Marius