Re: No saved view state could be found in tomcat cluster

2016-01-27 Thread Jalal Almutawa
Thanks Mr. Romain, >From what I understood, I have added: openejb.session-context = http tomee.session-context.wrapper = http to the system.properties file, and changed the backing bean from JSF managed to CDI managed. Now the session replication works without the need for the

Re: No saved view state could be found in tomcat cluster

2016-01-27 Thread Romain Manni-Bucau
Can you debug the session during the request? Wonder if you hit a serialize instance replaced by just an id instead of the actual value. Client state saving would probably work then. Le 28 janv. 2016 07:03, "Jalal Almutawa" a écrit : > Thanks Mr. Romain, > > From what

Re: No saved view state could be found in tomcat cluster

2016-01-27 Thread Jalal Almutawa
Hello, I could only find stateless failover in the TomEE documentation site. Appreciate your guidance for the stateful part. Thanks, Jalal On Wed, Jan 27, 2016 at 6:06 PM, Jalal Almutawa wrote: > Hi, > > Because i just got to know about it from you now :) we were

Re: No saved view state could be found in tomcat cluster

2016-01-27 Thread Romain Manni-Bucau
Hi Quickly from the phone: http://tomee-openejb.979440.n4.nabble.com/TomEE-cluster-and-cdibeans-td4664576.html has the needed config/system properties. Le 27 janv. 2016 18:05, "Jalal Almutawa" a écrit : > Hello, > > I could only find stateless failover in the TomEE

Re: No saved view state could be found in tomcat cluster

2016-01-27 Thread Romain Manni-Bucau
Hi TomEE has a built in cluster support, why didnt you use that? Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn | Tomitriber

Re: No saved view state could be found in tomcat cluster

2016-01-27 Thread Thomas Andraschko
You probably need to set some myfaces params to serialize the state in the session. If you enabled encryption, you also need to set the encryption keys cause otherwhise they are generated randomly on startup on each node. Am Mittwoch, 27. Januar 2016 schrieb Romain Manni-Bucau : > Hi > > TomEE

No saved view state could be found in tomcat cluster

2016-01-27 Thread Jalal Almutawa
Hello, 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

Re: No saved view state could be found in tomcat cluster

2016-01-27 Thread Jalal Almutawa
Hi, Because i just got to know about it from you now :) we were planning to go for plain Tomcat but then switched to TomEE but kept most of the previous setup. I will check TomEE's clustering now. Many thanks, Jalal On Jan 27, 2016 5:08 PM, "Romain Manni-Bucau" wrote: >