Dec. 2, 2010, 8:53 a.m.
IT

JBoss Seam loses conversation state

I developed a very well oiled JBoss Seam application, which has been working great. However my client today told me they could not save anything. Curious, I investigated.

It seems like none of my conversation states are being remembered. Needless to say, in a Seam application this wreaks havoc.

By applying simple deductive reasoning, I tracked the problem down to this recent addition:

<context-param>
    <param-name>facelets.BUILD_BEFORE_RESTORE</param-name>
    <param-value>true</param-value>
</context-param>

I used that to try and work around the classic login page session expiry frustration. But this causes more harm than not.