I'm trying to configure ServletContextListener for Servlet with whiteboard
extender via blueprint in my bundle, karaf version 4.0.4.
ServletMapping and ListenerMapping are used.
The problem is that ServletMapping and ListenerMapping services are
registered in random order, so when ServletMapping is registered before
ListenerMapping, Listener does not catch contextInitialized event, because
it's already happened earlier.

Any ideas, how to solve this problem?
May be, there is some way to set service registration order?



-----
Pavel
--
View this message in context: 
http://karaf.922171.n3.nabble.com/PAX-WEB-ServletMapping-service-sometimes-starts-before-ServletContextListenerMapping-tp4045660.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to