Bug 724241 (BRMS-185)

Summary: fireAllRules() blocks if called while fireUntilHalt() is running
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: nwallace <nwallace>
Component: unspecifiedAssignee: Edson Tirelli <ed.tirelli>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: unspecified   
Target Milestone: ---   
Target Release: 5.0.2   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-185
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-19 11:11:45 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:

Description nwallace 2009-07-07 15:40:54 UTC
Date of First Response: 2010-03-29 00:31:58
securitylevel_name: Public

Drools work items call fireAllRules() automatically after completion. If the engine is already running fireUntilHalt() though, it blocks.

Comment 1 nwallace 2009-07-07 15:42:41 UTC
Link: Added: This issue is related to JBRULES-2117


Comment 2 Dana Mison 2010-03-29 04:31:58 UTC
Added to the 5.0.2 release notes as resolved:

JBRULES-2117
A thread that called the method fireAllRules() would be blocked if another thread was already running fireUntilHalt().  The threading behavior of the fireAllRules() and fireUntilHalt() methods have been updated to prevent this occurring.  A thread calling fireAllRules() is no longer blocked by another thread running fireUntilHalt().

Comment 3 nwallace 2010-04-19 11:11:45 UTC
Closed as requested.