[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2096) AbstractRuleBase.removeRule(String, String) does not release the lock when failing removing rule from the package
Steinar Haugen (JIRA)
jira-events at lists.jboss.org
Thu May 21 14:03:56 EDT 2009
[ https://jira.jboss.org/jira/browse/JBRULES-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steinar Haugen updated JBRULES-2096:
------------------------------------
Workaround Description: Perform lock / unlock manually (encapsulated in a try / finally block) when running RuleBase.removeRule(..). (was: Perform lock / unlock manually when running RuleBase.removeRule(..))
Description:
This issue is copy of
https://jira.jboss.org:8443/jira/browse/JBRULES-603
Original text:
AbstractRuleBase.removeRule(String, String) locks the working memories before removing the rule from the package. However the actual operation of removing rules can fail with an exception which leaves the unlock operation bypassed. This will lock up all the working memories from that point on.
The original issue has status "Resolved", but the fix has apparantly been rolled back. At least it is present in Drools version 4.0.7 (i.e. not encapsulated in try / finally).
was:
This issue is copy of
https://jira.jboss.org:8443/jira/browse/JBRULES-603
Original text:
AbstractRuleBase.removeRule(String, String) locks the working memories before removing the rule from the package. However the actual operation of removing rules can fail with an exception which leaves the unlock operation bypassed. This will lock up all the working memories from that point on.
The original issue has status "Resolved", but the fix has apparantly been rolled back. At least it is present in Drools version 4.0.7.
> AbstractRuleBase.removeRule(String, String) does not release the lock when failing removing rule from the package
> -----------------------------------------------------------------------------------------------------------------
>
> Key: JBRULES-2096
> URL: https://jira.jboss.org/jira/browse/JBRULES-2096
> Project: JBoss Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-core
> Affects Versions: 4.0.7
> Environment: N/A
> Reporter: Steinar Haugen
> Assignee: Mark Proctor
>
> This issue is copy of
> https://jira.jboss.org:8443/jira/browse/JBRULES-603
> Original text:
> AbstractRuleBase.removeRule(String, String) locks the working memories before removing the rule from the package. However the actual operation of removing rules can fail with an exception which leaves the unlock operation bypassed. This will lock up all the working memories from that point on.
> The original issue has status "Resolved", but the fix has apparantly been rolled back. At least it is present in Drools version 4.0.7 (i.e. not encapsulated in try / finally).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list