I\'m porting my applications from PrimeFaces 3.5.18 + Mojarra 2.1.26 to PrimeFaces 4.0.2 + Mojarra 2.2.4.
When I restart the server I get a ViewExpiredException.
Problem was this: https://java.net/jira/browse/JAVASERVERFACES-2553
Solved it by changing the state saving method to server.