Hello,
I'm using pax-web-extender-whiteboard and pax-web-jetty 7.2.0 to register
servletContext, Listeners, Filters and servlets. Is there any guarantee
that the ServletContextListener will be registered with jetty before the
ServletContext is created? What I observe is that the
ServletContextListener.contextInitialized() sometime never get called.
Another weird behavior is that I have a 2 servlet filters and both match to
the same URl pattern, the 2 filters has different service.ranking so they
can be executed in a controlled order according to compendium, however i
see the request pass through the first filter, but never go the 2nd ones.
The debug info from paxweb show that the request match the 2nd
filter: 14:23:51.277 [qtp654253229-81] DEBUG o.o.p.w.s.s.m.ServerModel -
Path [/zk/new] matched to
{pattern=/.*,model=FilterModel{id=org.ops4j.pax.web.service.spi.model.FilterModel-37,urlPatterns=[/*],servletNames=null,filter=
com.castortech.iris.ba.webviewer.servletfilter.HeadersFilter@2b785b4b,filterClass=null,context=ContextModel{id=org.ops4j.pax.web.service.spi.model.ContextModel-24,name=,httpContext=org.ops4j.pax.web.extender.whiteboard.internal.WebApplication$1@55acec17,contextParams={httpContext.shared=true,
webapp.context=},virtualHosts={},connectors={}}}}
Thai
--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]
---
You received this message because you are subscribed to the Google Groups
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.