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

Bug 345395

Summary: Session restart may result in stale session singletons
Product: [RT] RAP Reporter: Rüdiger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.5 M1   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 345232, 345702    

Description Rüdiger Herrmann CLA 2011-05-11 06:58:10 EDT
If a session is restarted (usually by sending a request that contains a startup=xxx parameter), the current implementation of LifeCycleServiceHandler#clearSessionStore() does only remove all session attributes.
Attributes from the ServiceStore remain untouched. With the current implementation of SessionSingletonBase that buffers instances in the SessionStore, this may lead to instances from the old session still being returned in the new session.
Comment 1 Rüdiger Herrmann CLA 2011-05-18 08:33:03 EDT
This issue is solved with committing the changes for bug 345702. The new session singleton implementation does not buffer instances in the ServiceStore any more.