문제

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.

Server log contains this: ERROR: MAC did not verify!

I know that by default MyFaces generates a random secret to encode the view state, so each time the server restart, a new random secret is generated. Is Mojarra 2.2 behaving the same way?

In that case, what context parameters do I need to set? Googling for Mojarra 2.2 context parameters the best I could find was this, but there are no SECRET or MAC_SECRETS parameters like in MyFaces

Thanks in advance, Phillip

도움이 되었습니까?

해결책

Problem was this: https://java.net/jira/browse/JAVASERVERFACES-2553

Solved it by changing the state saving method to server.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top