[jboss-jira] [JBoss JIRA] Commented: (JBAS-5615) Synchronization mutex for clustered environments
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Tue Jun 23 16:39:56 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-5615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12473514#action_12473514 ]
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: 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