Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358344 - Shared Variable Map version in new server session
Summary: Shared Variable Map version in new server session
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 02:20 EDT by Reto Weingart CLA
Modified: 2021-08-19 11:02 EDT (History)
2 users (show)

See Also:


Attachments
Patch that solves issue (1.53 KB, patch)
2011-09-21 05:07 EDT, Ivan Motsch CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Reto Weingart CLA 2011-09-21 02:20:14 EDT
After the Tomcat timeout expires a new server session is created. The server session contains the SharedVariableMap which is updated on the client on every change on the server through client notification. 
This map has a version as integer which is increased on every change. But since a new server session reinitialize this map, the version is set to 0 in a new session. Then the client still has a version of the map which is greater than 0 and therefore never updates the map within the client notification until the version on the server is equal to the client's version. 
It must be assured, that a new server session always uses a greater version for the SharedVariableMap than all former maps in another sessions.
Comment 1 Ivan Motsch CLA 2011-09-21 05:07:13 EDT
Created attachment 203738 [details]
Patch that solves issue
Comment 2 Ivan Motsch CLA 2011-09-21 05:07:29 EDT
Applied patch
Comment 3 Matthias Zimmermann CLA 2011-10-11 02:55:50 EDT
shipped with 3.7.1