Our web application is running on a JBoss AS7 Cluster. We are also using Spring Web Flow (version 2.4.0.RELEASE) for the flow control. We are then facing a few problems during session replication. They are:
- Because of session replication, objects stored on session will be serialized. However,the class
org.springframework.webflow.context.servlet.HttpServletRequestParameterMap
is not serializable.NotSerializableException
may be thrown. - Spring Web Flow uses session to store conversations data on flow. This class
org.springframework.webflow.conversation.impl.ConversationContainer
will process the conversation data putting to/retrieving from session. We found that it usesjava.util.ArrayList
orjava.util.HashMap
to store conversations data on session. Thus,ConcurrentModificationException
may be thrown while both session replication and flow control handling are processing at the same time.
Is anyone having the same or similar problems we face? And, is there any solution/alternative we can take to solve them?
Thanks