| Summary: | Activating the org.eclipse.jetty.osgi.boot bundle when one of the factory method is called | ||
|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Hugues Malphettes <hmalphettes> |
| Component: | osgi | Assignee: | Hugues Malphettes <hmalphettes> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | jetty-inbox |
| Version: | 7.4.0 | ||
| Target Milestone: | 7.2.x | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Hugues Malphettes
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...
|