[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2604) parsing page.xml is not thread safe

Norman Richards (JIRA) jira-events at lists.jboss.org
Tue Mar 11 18:45:57 EDT 2008


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

Norman Richards closed JBSEAM-2604.
-----------------------------------

    Resolution: Won't Fix

This is a problem, but it's really a problem with the hot deploy strategy and not so much with the pages component itself.  

> parsing page.xml is not thread safe
> -----------------------------------
>
>                 Key: JBSEAM-2604
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2604
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: JSF Integration
>            Reporter: Norman Richards
>         Assigned To: Norman Richards
>             Fix For: 2.0.2.GA, 2.1.0.GA
>
>
> When a view is accessed for the first time, the Pages.parse() is called to create a new Page object.  The object is immediately put in pagesByViewId, which makes it available (in an incomplete state) to concurrent requests.   The result can be incorrect page state (and incorrect processing) or even concurrent modification errors if the parsing is inserting values into lists in the Page object that are being iterated over on another thread.  

-- 
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