[jboss-jira] [JBoss JIRA] Assigned: (JBAS-5615) Synchronization mutex for clustered environments

Jay Balunas (JIRA) jira-events at lists.jboss.org
Tue Jun 23 10:21:56 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBAS-5615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay Balunas reassigned JBAS-5615:
---------------------------------

    Assignee: Scott Marlow


Spoke with Scott Marlow who had some thought on the issue, and will comment.

> Synchronization mutex for clustered environments
> ------------------------------------------------
>
>                 Key: JBAS-5615
>                 URL: https://jira.jboss.org/jira/browse/JBAS-5615
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: JBossAS-4.2.2.GA
>            Reporter: Nick Belaevski
>            Assignee: Scott Marlow
>            Priority: Minor
>
> Quote from http://www.jboss.com/index.html?module=bb&op=viewtopic&t=136590 : "they'll need to be thread safe or have access to them synchronized".
> There's no object to synchronize against: SessionBasedClusteredSession doesn synchronization against itself:
>    public void writeExternal(ObjectOutput out) throws IOException
>    {
>       synchronized (this)
>       {
>          ...
>      }   
>    
>    } 
> but application developers see the wrapped one (instance of StandardSessionFacade), so synchronizing against session object does not prevent from concurrency errors

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

        



More information about the jboss-jira mailing list