Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337732

Summary: Service registrations should be cleared on bundle stop (org.eclipse.equinox.http.servlet)
Product: [Eclipse Project] Equinox Reporter: Pierre Carlson <mpcarl>
Component: CompendiumAssignee: equinox.compendium-inbox <equinox.compendium-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: simon_kaegi
Version: 3.7   
Target Milestone: 3.7 M6   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed patch simon_kaegi: iplog+

Description Pierre Carlson CLA 2011-02-21 10:44:41 EST
Build Identifier: 3.7

There is a problem when trying to stop and restart the http engine.  We are stopping the engine, changing configurations, and rstarting the appropriate bundles.  The restart of the org.eclipse.equinox.http.servlet bundle is not working as expected.  In the stop method, proxy servlets are unregistered correctly.  However, the serviceRegistrations map is not cleared.  The stop method should clear this map so that restarts get the proxy servlets registered correctly.

Reproducible: Always
Comment 1 Pierre Carlson CLA 2011-02-21 10:46:17 EST
Created attachment 189418 [details]
Proposed patch
Comment 2 Simon Kaegi CLA 2011-02-22 00:16:12 EST
Thanks! Fixed in HEAD.
Comment 3 Simon Kaegi CLA 2011-02-22 00:16:22 EST
.