Community
Participate
Working Groups
Since bug 329571 org.eclipse.jetty.osgi.boot does not have a lazy activation policy. This requires consumers of jetty-osgi to explicitly start the bundle. It usually happens via the RT product configuration. However it would be nice to check that the bundle is started when one of the static factory methods of org.eclipse.osgi.boot.JettyBootstrapActivator is called.
Done with commit 3024 For versions prior to 7.4.1, the workaround consists of forcing the bundle to start before the JettyBoostrapActivator static methods are called. For example: if (JettyBootstrapActivator.getInstance() == null) { Bundle jettyBoot = FrameworkUtil.getBundle(JettyBootstrapActivator.class); jettyBoot.start(); } //now we can call JettyBootstrapActivator.registerWebapp...