[jboss-jira] [JBoss JIRA] (AS7-5912) CLONE - MSC controller hangs when loading an ear with multiple persistence units on a single CPU core machine

Brad Maxwell (JIRA) jira-events at lists.jboss.org
Fri Nov 9 00:40:19 EST 2012


Brad Maxwell created AS7-5912:
---------------------------------

             Summary: CLONE - MSC controller hangs when loading an ear with multiple persistence units on a single CPU core machine
                 Key: AS7-5912
                 URL: https://issues.jboss.org/browse/AS7-5912
             Project: Application Server 7
          Issue Type: Bug
          Components: JPA / Hibernate
    Affects Versions: 7.1.1.Final
         Environment: Centos 6, single core lib-virt VM
            Reporter: Brad Maxwell
            Assignee: Scott Marlow
             Fix For: 7.1.3.Final (EAP), 7.2.0.Alpha1
         Attachments: hungas7.txt

When deploying an EAR with two persistence units on single core machines, the server hangs.
When increasing the number of cores to two, the same server just works. 

I traced the bug to the method in org.jboss.as.naming.WritableServiceBasedNamingStore.unbind 
The container attempts to register "hibernate/SessionFactory" twice.
The first time it works, the second time it hangs on the wait statement.

I suspect a race condition in the ServiceControllerImpl.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list