[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1887) Session timeout results in javax.faces.application.ViewExpiredException

Christian Bauer (JIRA) jira-events at lists.jboss.org
Mon Jan 28 03:43:21 EST 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-1887?page=all ]

Christian Bauer updated JBSEAM-1887:
------------------------------------

    Fix Version/s:     (was: 2.0.2.GA)
         Priority: Critical  (was: Major)

Raising priority of this, I can not produce a ViewExpiredException. Add this to the wiki example as test.xhtml:

<html xmlns="http://www.w3.org/1999/xhtml"
            xmlns:s="http://jboss.com/products/seam/taglib"
            xmlns:ui="http://java.sun.com/jsf/facelets"
            xmlns:f="http://java.sun.com/jsf/core"
            xmlns:h="http://java.sun.com/jsf/html"
            xmlns:wiki="http://jboss.com/products/seam/wiki">
<head>
    <title>Test</title>
</head>
<body>
<h:form>
    <h:commandButton action="#{wikiSearch.search}" value="Go"/>
</h:form>
</body>
</html>

Now load /test.seam and let the session time out. Form still works but on invalid state, log:

09:35:36,169 DEBUG [Lifecycle] End of session, destroying contexts
09:35:36,170 DEBUG [Lifecycle] destroying conversation contexts: []
09:35:36,170 DEBUG [Lifecycle] destroying session context

(Click on Go)

09:37:17,278 DEBUG [FacesLifecycle] >>> Begin JSF request for /wiki/test.seam
09:37:17,278 DEBUG [Lifecycle] Session started
09:37:17,278 INFO  [Contexts] starting up: org.jboss.seam.web.session
09:37:17,279 DEBUG [SeamPhaseListener] beginning transaction prior to phase: RESTORE_VIEW 1
09:37:17,279 DEBUG [UTTransaction] beginning JTA transaction
09:37:17,286 DEBUG [Manager] No stored conversation, or concurrent call to the stored conversation
09:37:17,287 DEBUG [SeamPhaseListener] committing transaction after phase: RESTORE_VIEW 1
09:37:17,287 DEBUG [UTTransaction] committing JTA transaction
09:37:17,287 DEBUG [SeamPhaseListener] beginning transaction prior to phase: RENDER_RESPONSE 6
09:37:17,288 DEBUG [UTTransaction] beginning JTA transaction
09:37:17,289 DEBUG [SeamPhaseListener] committing transaction after phase: RENDER_RESPONSE 6
09:37:17,290 DEBUG [UTTransaction] committing JTA transaction
09:37:17,290 DEBUG [Manager] Discarding conversation state: 2
09:37:17,290 DEBUG [FacesLifecycle] After render response, destroying contexts
09:37:17,290 DEBUG [FacesLifecycle] <<< End JSF request for /wiki/test.seam




> Session timeout results in javax.faces.application.ViewExpiredException
> -----------------------------------------------------------------------
>
>                 Key: JBSEAM-1887
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1887
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0.CR2
>            Reporter: Jacob Orshalick
>            Priority: Critical
>         Attachments: mp3search.zip, mp3search.zip
>
>
> If the session times out, JSF throws a ViewExpiredException during the RESTORE_VIEW phase.  The issue is described in more detail at the JBoss Form Reference.  An example can be provided if required.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list