What does my application (JSF + Primefaces) need to have to work on a cluster?
I'm doing a test in a clustered 3 Tomcat environment (with session replication) and my test application does not work.
At first, I only included the <distributable/>
tag in web.xml.
The app is very simple, just a @ManagedBean
@SessionScope
and an xhtml with a button to increment a variable.
When the request jumps from one server to another, the session is lost.
Note:
The environment seems to be set up right and working, as there is a JSP page that works.