[weld-issues] [JBoss JIRA] Created: (WELD-886) AbstractContext creationLock deadlock

MIchail Nikolaev (JIRA) jira-events at lists.jboss.org
Thu Apr 14 13:15:33 EDT 2011


AbstractContext creationLock deadlock
-------------------------------------

                 Key: WELD-886
                 URL: https://issues.jboss.org/browse/WELD-886
             Project: Weld
          Issue Type: Bug
    Affects Versions: 1.1.1.Final
         Environment: glassfish
            Reporter: MIchail Nikolaev


AbstractContext.creationLock same for all applications on same server.

I have portlet and webservice deployed on same glassfish server.
On start of portlet the call to managed bean (@ApplicationScoped) is occured (FolderService.getRootFolder). It causes to lock creationLock in AbstractContext, create instance for bean, then call getRootFolder as default postconstruct method.

After getRootFolder calls webservice deployed on the same server. Webservice method access another @ApplicationScoped bean. It causes to lock creationLock again (in another thread) and produces deadlock.

Thanks.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the weld-issues mailing list