Bug 778840 (SOA-1286) - Deadlock when RuleAgent thread refreshes rules while another thread creates a statefulSession
Summary: Deadlock when RuleAgent thread refreshes rules while another thread creates a...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-1286
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBoss Rules
Version: 4.3 CP01
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3 CP02
Assignee: Julian Coleman
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks: SOA-1379
TreeView+ depends on / blocked
 
Reported: 2009-04-13 20:57 UTC by Tihomir Surdilovic
Modified: 2009-09-10 18:22 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-10 18:22:29 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-1286 0 None None None Never

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.


Note You need to log in before you can comment on or make changes to this bug.