Bug 778840 (SOA-1286)

Summary: Deadlock when RuleAgent thread refreshes rules while another thread creates a statefulSession
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Tihomir Surdilovic <tsurdilo>
Component: JBoss RulesAssignee: Julian Coleman <jcoleman>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3 CP01   
Target Milestone: ---   
Target Release: 4.3 CP02   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1286
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-10 18:22:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 778945    

Description Tihomir Surdilovic 2009-04-13 20:57:17 UTC
Affects: Release Notes
Date of First Response: 2009-06-02 14:52:32
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/?module=issues&action=view&tid=276534&gid=1177
project_key: SOA

This is in reference of JIRA JBRULES-1876. Mark P. is to provide a patch for this to be applied against supported JBoss Rules tag https://svn.jboss.org/repos/labs/labs/jbossrules/soa_tags/4.3.0.GA_IR1/.

Comment 1 trev 2009-04-14 09:23:17 UTC
Link: Added: This issue depends JBRULES-1876


Comment 2 Edson Tirelli 2009-06-02 18:52:32 UTC
Trevor,

The related issue was fixed in Drools 5. 
Which Drools version is used in the SOA 4.3 IR1 release?

[]s
Edson

Comment 5 Edson Tirelli 2009-06-09 00:41:26 UTC
I backported JBRULES-1876 into the SOA branch bellow:

https://svn.jboss.org/repos/labs/labs/jbossrules/branches/Branch_4_0_2_SOA_4_2

Please advise if you have any problems.

Comment 6 Julian Coleman 2009-06-09 09:20:59 UTC
We will release the new JBoss Rules version with SOA 4.3.0 CP02.
I will merge the Drools 4 changes into new SOA tags for SOA 4.3 (and SOA 4.2).


Comment 7 Julian Coleman 2009-06-09 09:20:59 UTC
Affects: Added: [Release Notes]


Comment 8 Julian Coleman 2009-06-19 11:46:29 UTC
Fixes pulled across to new Drools SOA branch (soa_branches/SOA_JDK6) in revision
27024 of:
  drools-compiler/src/test/java/org/drools/rule/builder/dialect/mvel/MVELSalienceBuilderTest.java
  drools-core/src/main/java/org/drools/common/AbstractRuleBase.java
  drools-core/src/main/java/org/drools/reteoo/ReteooRuleBase.java

Commit message:
  Pull across revision 26876 from branches/Branch_4_0_2_SOA_4_2.
  JBRULES-1876:
  SOA-1286:
  Deadlock when RuleAgent thread refreshes rules while another thread creates a statefulSession

Drools tag (soa_tags/4.3.0.CP02) created in revision 27025.


Comment 9 Julian Coleman 2009-06-19 11:50:52 UTC
Link: Added: This issue is a dependency of SOA-1379


Comment 10 Dana Mison 2009-07-29 03:00:47 UTC
added to 4.3.CP02 release notes as resolved:

JBRULES-1876 - The RuleAgent can now safely refresh its associated RuleBase whilst a new stateful session is being created on the RuleBase by another thread. Previously this could result in a deadlock.

Comment 11 Tihomir Surdilovic 2009-09-10 18:22:29 UTC
closing issue as fixed.