[jboss-jira] [JBoss JIRA] (WFLY-3280) Thread locking problem when app server is going to shutdown

RH Bugzilla Integration (JIRA) issues at jboss.org
Sat Jun 28 11:30:37 EDT 2014


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

RH Bugzilla Integration commented on WFLY-3280:
-----------------------------------------------

mark yarborough <myarboro at redhat.com> changed the Status of [bug 1090147|https://bugzilla.redhat.com/show_bug.cgi?id=1090147] from VERIFIED to CLOSED

>  Thread locking problem when app server is going to shutdown
> ------------------------------------------------------------
>
>                 Key: WFLY-3280
>                 URL: https://issues.jboss.org/browse/WFLY-3280
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 8.1.0.CR1
>            Reporter: Ondřej Chaloupka
>            Assignee: David Lloyd
>             Fix For: 8.1.0.Final, 9.0.0.Alpha1
>
>         Attachments: server.dump, server.log
>
>
> I face problem that remoting thread and MSC service thread is deadlocked when server is going to shutdown.
> This happens in half of the cases when I run my integration arquillian tests again EAP 6.3.0 engineering releases.
> I deploy one testing application packaged as jar file and then jdbc driver is deployed by copying to deployments folder.
> I'm attaching server log file and thread dump at the time when threads are stuck.
> I was trying to find out where the lock occurs and from the stack trace it happens on two places. One is lock on remoting queue and other is lock on DeploymentRepository object.
> I did a quick fix which seems to work for me that I removed 'synchronized' keyword from the methods which remove listeners in DeploymentRepository.
> It means from:
> https://github.com/jbossas/jboss-eap/blob/6.x/ejb3/src/main/java/org/jboss/as/ejb3/deployment/DeploymentRepository.java#L103
> and
> https://github.com/jbossas/jboss-eap/blob/6.x/ejb3/src/main/java/org/jboss/as/ejb3/deployment/DeploymentRepository.java#L107
> I'm really not sure whether this is 'a correct' fix but I just put my observation here to have some starting point.
> This could not be trouble in remoting directly, maybe it's rather problem of MSC component. If so, please, change the jira type. Thank you.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the jboss-jira mailing list