| Summary: | org.eclipse.jetty.osgi.boot does not handle WAB stop event correctly | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Dmytro Pishchukhin <dmytro.pishchukhin> | ||||||
| Component: | osgi | Assignee: | Hugues Malphettes <hmalphettes> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P3 | CC: | hmalphettes, jetty-inbox | ||||||
| Version: | 7.2.0 | ||||||||
| Target Milestone: | 7.2.x | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows Vista | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Dmytro Pishchukhin
Created attachment 183002 [details]
Equinox with Jetty and test WAB (part 1) (unzip with 7-zip or winzip)
Created attachment 183003 [details]
Equinox with Jetty and test WAB (part 2) (unzip with 7-zip or winzip)
Dmytro added that they count on this to restart the web bundles at the end of a p2 update. We have a bit of backlog to complete the support for WAB as specified and this is one of those things we are not supporting yet. I'm shooting for this for 7.2.1 With additional discussion with Dmytro, this is not related to the package admin events. This is really a regression with 7.2.0: when the bundle that defines a webapp (aka the WAB) is stopped, the webapp it defines must be stopped and undeployed. This used to work with 7.1.x and it is broken now. For anyone curious to see a very small distribution of equinox and jetty the attached test case is exactly that: - 2.5 megs, - 7 jars including the example web application bundle - 2 config files: jetty.xml and equinox's config.ini - sh and bat start scripts Good to see that the aggregate jar is working in OSGi too and is used by the community. Fixed for 7.2.2 The OSGiAppProvider was relying on an index of the deployed App (object that wraps the ContextHandler) that was not choosing its keys well enough. I'll try to push a patched 7.2.1 in the jetty p2 repository with this fix Dmytro and will confirm on this bug. http://download.eclipse.org/jetty/updates/jetty-bundles-7.x/7.2.1.v20101111/plugins/org.eclipse.jetty.osgi.boot_7.2.1.v20101111.jar is patched. I'll upload a WebStarterKit for a patched 7.2.1 with enough time to run a signed build. |