]
Nick Belaevski commented on JBAS-5615:
--------------------------------------
Thanks, Jay!
I've posted information I have on forum.
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: