Hi JP and Achim Thanks for your advice. Unfortunately, it didn't help. I've tried to put depends-on="listenerMapping" to ServletMapping service. Just in case, tried to put depends-on to DefaultServletMapping bean and Servlet bean.
Also I've tried to register just a Listener service itself without ListenerMapping. It didn't help too. They start in random order, so when serlvet starts before listener, contextInitialized event isn't caught. Pavel CLEMENT Jean-Philippe wrote > Hi, > > Did you try to put a "depends-on" in your Blueprint service? > > JP ----- Pavel -- View this message in context: http://karaf.922171.n3.nabble.com/PAX-WEB-ServletMapping-service-sometimes-starts-before-ServletContextListenerMapping-tp4045660p4045667.html Sent from the Karaf - User mailing list archive at Nabble.com.