[jboss-jira] [JBoss JIRA] (DROOLS-890) Thread deadlock issue in class ProjectClassLoader.java

Thomas Leung (JIRA) issues at jboss.org
Sun Aug 30 23:31:05 EDT 2015


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

Thomas Leung commented on DROOLS-890:
-------------------------------------

Hi, I'm in same team as Vivek. In the log there are 2 locks, one is the ProjectClassLoader and another is an inner class object ProjectClassLoader$InternalTypesClassLoader. So seems like thread 48 waiting to lock ProjectClassLoader (which is locked by thread 31) and thread 31 waiting to lock ProjectClassLoader$InternalTypesClassLoader which is locked by thread 48.

While we are trying to test against 6.2.0.Final version, can you see if the above log bring you some idea on the cause?



> Thread deadlock issue in class ProjectClassLoader.java 
> -------------------------------------------------------
>
>                 Key: DROOLS-890
>                 URL: https://issues.jboss.org/browse/DROOLS-890
>             Project: Drools
>          Issue Type: Bug
>          Components: core engine
>    Affects Versions: 6.1.0.Final
>            Reporter: Vivek Hingorani
>            Assignee: Mario Fusco
>
> In our project , we are using drools6.1.0.Final jars and the rules are deployed in a jar. Another application when trying to use the rules jar is getting thread deadlock problem. Stack trace is 
> at org.drools.core.common.ProjectClassLoader$InternalTypesClassLoader.loadClass(ProjectClassLoader,java284)
> Two threads are in deadlock condition on this thread. I restarted the application and the error is gone but we need to fix this issue so that it is not reproduced later.The class is in drools-core jar



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list