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

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Tue Jun 10 17:42:16 EDT 2008


Synchronization mutex for clustered environments
------------------------------------------------

                 Key: JBAS-5615
                 URL: http://jira.jboss.com/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
            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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list