You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gabrielle Crawford (JIRA)" <de...@myfaces.apache.org> on 2011/08/17 23:43:27 UTC

[jira] [Created] (TRINIDAD-2131) Make it easier to debug viewExpiredExceptions

Make it easier to debug viewExpiredExceptions
---------------------------------------------

                 Key: TRINIDAD-2131
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2131
             Project: MyFaces Trinidad
          Issue Type: Improvement
    Affects Versions: 2.0.0
            Reporter: Gabrielle Crawford
            Assignee: Gabrielle Crawford
            Priority: Trivial


ViewExpiredExceptions are fairly common, and the token cache is used for page state tokens, but the tokens aren't really human readable. In order to make it easier to understand what is in the cache we've added a system property for debugging purposes. When enabled we store a map of token -> viewId on the session which we use to log something more human readable.

In order to use this the tester would set the system property to:
-Dorg.apache.myfaces.trinidadinternal.DEBUG_TOKEN_CACHE=true

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (TRINIDAD-2131) Make it easier to debug viewExpiredExceptions

Posted by "Gabrielle Crawford (Resolved) (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-2131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabrielle Crawford resolved TRINIDAD-2131.
------------------------------------------

    Resolution: Fixed
    
> Make it easier to debug viewExpiredExceptions
> ---------------------------------------------
>
>                 Key: TRINIDAD-2131
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2131
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-core
>            Reporter: Gabrielle Crawford
>            Assignee: Gabrielle Crawford
>            Priority: Trivial
>
> ViewExpiredExceptions are fairly common, and the token cache is used for page state tokens, but the tokens aren't really human readable. In order to make it easier to understand what is in the cache we've added a system property for debugging purposes. When enabled we store a map of token -> viewId on the session which we use to log something more human readable.
> In order to use this the tester would set the system property to:
> -Dorg.apache.myfaces.trinidadinternal.DEBUG_TOKEN_CACHE=true

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TRINIDAD-2131) Make it easier to debug viewExpiredExceptions

Posted by "Gabrielle Crawford (Commented) (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151445#comment-13151445 ] 

Gabrielle Crawford commented on TRINIDAD-2131:
----------------------------------------------

added request info in     TRINIDAD-2166 improve viewexpiredexception debugging 
                
> Make it easier to debug viewExpiredExceptions
> ---------------------------------------------
>
>                 Key: TRINIDAD-2131
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2131
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-core
>            Reporter: Gabrielle Crawford
>            Assignee: Gabrielle Crawford
>            Priority: Trivial
>
> ViewExpiredExceptions are fairly common, and the token cache is used for page state tokens, but the tokens aren't really human readable. In order to make it easier to understand what is in the cache we've added a system property for debugging purposes. When enabled we store a map of token -> viewId on the session which we use to log something more human readable.
> In order to use this the tester would set the system property to:
> -Dorg.apache.myfaces.trinidadinternal.DEBUG_TOKEN_CACHE=true

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira