Community
Participate
Working Groups
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.
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).
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)"
Created bug 344661 and moved attachment from comment #2 to this bug.
Marking as resolved as all dependant bugs are closed.