Community
Participate
Working Groups
The SessionStoreImpl is help in a session-attribute and thus must implement java.io.Serializable and comply with the requirements for serializable objects to allow RWT sessions to be clustered. Particularly nasty is the fact that SessionStoreImpl hold a reference to the HttpSession (which naturally cannot be migrated between cluster nodes). Therefore we need to find a way to re-attach a SessionStoreImpl to the HttpSession after it was deserialized but before it is made available on the new cluster node..
Created attachment 196092 [details] Patch This patch marks SessionStoreImpl as serializable. Except for httpSession and shutdownAdapter all fields are serialized. As it doesn't make sense to serialize the httpSession, a new method attachHttpSession() was introduced to re-attach a session store to a http session. The shutdownAdapter is only used in conjunction with the UI thread where sessions cannot be serialized anyway.
Applied patch to CVS HEAD.