myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jalal Almutawa <>
Subject No saved view state could be found in tomcat cluster
Date Wed, 27 Jan 2016 14:04:27 GMT

I have a TomEE 1.7.1 cluster setup using DeltaManager with a
ForceReplicationValve that forces all JSF bean attributes to be replicated
between nodes. I also have a session-test JSF application with a Session
Scoped Managed Bean with a simple Integer "counter" to serve as a
replication test. A facelet with an <h:commandButton /> is used to
increment the counter just to see if the replication works.

Now replication works fine, I can see the incremented value of the counter
each type a hit the commandButton. The issue is that when we failover
between nodes, MyFaces throws a No saved view state could be found error.
It then works when we refresh the page, but it will not maintain the POST
request to increment the counter (e.g. counter=4, we click the increment
button, we get the error, we refresh the page, counter still = 4)

Code for the session-test webapp:
Code for the ForceReplicationValve:

We tried various configuration options in the web.xml (setting state saving
in the client, setting serialize state in session to false, ..) but still
same error.

Appreciate if someone could tell us what are doing wrong.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message