Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337732 - Service registrations should be cleared on bundle stop (org.eclipse.equinox.http.servlet)
Summary: Service registrations should be cleared on bundle stop (org.eclipse.equinox.h...
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Compendium (show other bugs)
Version: 3.7   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.7 M6   Edit
Assignee: equinox.compendium-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-21 10:44 EST by Pierre Carlson CLA
Modified: 2011-02-22 00:16 EST (History)
1 user (show)

See Also:


Attachments
Proposed patch (846 bytes, patch)
2011-02-21 10:46 EST, Pierre Carlson CLA
simon_kaegi: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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
.