Hi, Did you try to put a "depends-on" in your Blueprint service?
JP -----Message d'origine----- De : kuvalda [mailto:peha...@mail.ru] Envoyé : mardi 1 mars 2016 21:46 À : user@karaf.apache.org Objet : PAX-WEB ServletMapping service sometimes starts before ServletContextListenerMapping 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.