Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342407 - Prepare sessions to be serializable
Summary: Prepare sessions to be serializable
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.5 M3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 344434 345232 345594 345595 345604 345637 345699 345842 345865 345954 346053 346055 346062 346063 346443 347478 347908 348554 351175 351641 351966 352102 352926 357769
Blocks: 341761
  Show dependency tree
 
Reported: 2011-04-11 04:16 EDT by Rüdiger Herrmann CLA
Modified: 2011-10-24 04:42 EDT (History)
0 users

See Also:


Attachments
Spike implementation providing session failover for a basic swt_layout demo. (48.75 KB, patch)
2011-04-20 12:47 EDT, Florian Waibel CLA
no flags Details | Diff
cluster Testfixure for RAP/RWT (18.11 KB, application/octet-stream)
2011-05-03 10:19 EDT, Florian Waibel CLA
ruediger.herrmann: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rüdiger Herrmann CLA 2011-04-11 04:16:23 EDT
The servlet spec requires all session attributes to be serializable if the session is to be distributed. Currently, none of the session attributes maintained by RWT are serializable.
In order to enable RWT to be used with standard servlet clustering mechanisms, all session attributes have to be serializable.
Comment 1 Florian Waibel CLA 2011-04-20 12:47:41 EDT
Created attachment 193720 [details]
Spike implementation providing session failover for a basic swt_layout demo.

This patch contains a spike implementation of session failover (using SimpleLifeCycle).

* Introduced SerializableCompatibility and transient fields to make the content of the SessionStoreImpl serializable.
* Added basic failover detection in RWTDelegate
* Added transient localAttributes to SessionStoreImpl to hold attributes that should not be shared in a cluster (e.g. locks).
Comment 2 Florian Waibel CLA 2011-05-03 10:19:05 EDT
Created attachment 194585 [details]
cluster Testfixure for RAP/RWT

This patch contains three projects:
org.eclipse.rap.rwt.cluster.test (webapp and cluster tests)
org.eclipse.rap.rwt.cluster.testfixture (cluster test support)
org.eclipse.rap.rwt.cluster.testfixture.test (tests for the cluster test support :)

Additional dependencies:

Jetty 7 and H2 (Jetty with jdbc clustering)
plus
 org.apache.commons.codec,
 org.apache.commons.logging,
 org.apache.commons.httpclient;bundle-version="[3.0.1,3.1.0)"
Comment 3 Rüdiger Herrmann CLA 2011-05-04 04:05:47 EDT
Created bug 344661 and moved attachment from comment #2 to this bug.
Comment 4 Rüdiger Herrmann CLA 2011-10-24 04:42:54 EDT
Marking as resolved as all dependant bugs are closed.