[seam-issues] [JBoss JIRA] Commented: (JBSEAM-4669) Major java deadlock between BijectionInterceptor and Component since the getInstanceFromFactory method is synchronized

Denis Forveille (JIRA) jira-events at lists.jboss.org
Tue Jun 22 12:34:46 EDT 2010


    [ https://jira.jboss.org/browse/JBSEAM-4669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12536691#action_12536691 ] 

Denis Forveille commented on JBSEAM-4669:
-----------------------------------------

The problem arises in a class of scope "APPLICATION" with an @Unwrap method, and the class has an @In annotation and is being injected another component...

> Major java deadlock between BijectionInterceptor and Component since the getInstanceFromFactory method  is synchronized
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-4669
>                 URL: https://jira.jboss.org/browse/JBSEAM-4669
>             Project: Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.2.1.CR2
>            Reporter: Denis Forveille
>            Assignee: Denis Forveille
>            Priority: Blocker
>             Fix For: 2.2.1.CR2
>
>
> To address JBSEAM-2419, the Component.getInstanceFromFactory(String name) is now "synchronized"
> This causes java deadlocks under stress with the call to lock.lock() in BinjectionInterceptor ...
> For us our apps freezes after 10 minutes in production,,,
> I don't know why this method has been marked as synchronized but this is the cause of the deadlock...

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

        


More information about the seam-issues mailing list