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

Ondrej Skutka (JIRA) jira-events at lists.jboss.org
Thu Jul 1 08:13:46 EDT 2010


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

Ondrej Skutka commented on JBSEAM-4669:
---------------------------------------

I've proposed another patch for JBSEAM-2419. Could you please try it out to see whether it solves the problem?

> 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
>
>         Attachments: deadlock_td.txt, JBSEAM4669Test.java, ManagerComponentTest.java
>
>
> 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