We are using Karaf (currently 2.3.0) embedded in Tomcat, using the Felix Servlet Bridge to expose various functionality on web pages.
On some startups (random behaviour) our OSGi:fied web servlets are not reachable through Tomcat, and after some digging I've found that this problem goes away if I remove the spring-jms, feature because it is bringing in Pax Web: spring-jms -> spring-web -> http (= Pax Web incl Jetty) So I guess Felix and Pax Web will be competing about registering web artifacts, therefore the random behaviour. My question is how can we best resolve this problem? It seems a lot of libraries we use end up referring to the "war" or "http" features, bringing in Pax and its Jetty server, but we want to do our web traffic through Tomcat via the servlet bridge. How do we best override this behaviour? We'd like to stay on "standard Karaf" as much as possible (to make upgrades easier) so a solution with few and simple edits is desired... Thanks Mike Wilson
