[jboss-jira] [JBoss JIRA] (AS7-4786) MSC controller hangs when loading an ear with multiple presistance units on a single threaded machine

Scott Marlow (JIRA) jira-events at lists.jboss.org
Tue May 29 12:48:19 EDT 2012


    [ https://issues.jboss.org/browse/AS7-4786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696883#comment-12696883 ] 

Scott Marlow edited comment on AS7-4786 at 5/29/12 12:47 PM:
-------------------------------------------------------------

I deployed a simple jar with two persistence units (after using "schedtool -a 0x1 <PID>" against the AS7 server), but could not recreate the problem yet.  I'll check to see if "schedtool" is doing what I want.

Could you show the contents of your persistence.xml(s) here.  Or even better, do you have a test ear that you can attach for recreating?
                
      was (Author: smarlow):
    I deployed a simple jar with two persistence units (after using "schedtool -a 0x1 <PID>" against the AS7 server).  I'll check to see if "schedtool" is doing what I want.

Could you show the contents of your persistence.xml(s) here.  Or even better, do you have a test ear that you can attach for recreating?
                  
> MSC controller hangs when loading an ear with multiple presistance units on a single threaded machine
> -----------------------------------------------------------------------------------------------------
>
>                 Key: AS7-4786
>                 URL: https://issues.jboss.org/browse/AS7-4786
>             Project: Application Server 7
>          Issue Type: Bug
>         Environment: Centos 6, single core lib-virt VM
>            Reporter: Wouter De Borger
>            Assignee: Scott Marlow
>              Labels: hibernate, naming, race
>
> 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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list