Conversation
|
Hello @davidef Thanks for making this PR. I really don't understand the motiviation / goal you had. Could you introduce me to the changes you made, that I understand it before I merge it, as I had no problems so far using |
|
@F0rce sorry for the delay I've missed your reply. Objects in http session are required to be serializable when you replicate http session in a clustered environment. For example our application is running on 3 tomcat instances and usually we have sticky session so clients will always hit the same tomcat server. But when we deploy an update we update the servers one-by-one to prevent any downtime of our app; session will be serialized by the server that is being updated and deserialized on a different active server. Without the class being serializable this will fail. |
All components added into a j2ee HttpSession must to be serializable.
This is also needed when using the editor in clustered environments to migrate active sessions between nodes.