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

Bug 358344

Summary: Shared Variable Map version in new server session
Product: z_Archived Reporter: Reto Weingart <reto.weingart>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: ivan.motsch, zimmermann
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Patch that solves issue none

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