Bug 724241 (BRMS-185) - fireAllRules() blocks if called while fireUntilHalt() is running
Summary: fireAllRules() blocks if called while fireUntilHalt() is running
Keywords:
Status: CLOSED NEXTRELEASE
Alias: BRMS-185
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: unspecified
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: 5.0.2
Assignee: Edson Tirelli
QA Contact:
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-07 15:40 UTC by nwallace
Modified: 2010-04-19 11:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-19 11:11:45 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-185 0 Major Closed fireAllRules() blocks if called while fireUntilHalt() is running 2014-01-23 00:53:38 UTC

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.


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