[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-603) AbstractRuleBase.removeRule(String, String) does not release the lock when failing removing rule from the package

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Mon Feb 19 08:32:39 EST 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-603?page=all ]

Edson Tirelli resolved JBRULES-603.
-----------------------------------

    Fix Version/s: 3.0.6
                   3.1-m2
       Resolution: Done

Fixed in trunk in revision #9593:

------------------------------------------------------------------------
r9593 | tirelli | 2007-02-19 10:05:32 -0300 (Mon, 19 Feb 2007) | 1 line
Changed paths:
   M /labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/AbstractRuleBase.java

JBRULES-603: wrapping lock/unlock calls into a try/finally block to avoid 'eternal' locks
------------------------------------------------------------------------

And in 3.0.6 branch in revision:

------------------------------------------------------------------------
r9594 | tirelli | 2007-02-19 10:28:32 -0300 (Mon, 19 Feb 2007) | 1 line
Changed paths:
   M /labs/jbossrules/branches/3.0.x/drools-core/src/main/java/org/drools/common/AbstractRuleBase.java

JBRULES-603: wrapping lock/unlock calls into a try/finally block to avoid 'eternal' locks
------------------------------------------------------------------------


> AbstractRuleBase.removeRule(String, String) does not release the lock when failing removing rule from the package
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-603
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-603
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: All
>    Affects Versions: 3.0.4, 3.0.5
>            Reporter: Dongjun Sun
>         Assigned To: Edson Tirelli
>             Fix For: 3.0.6, 3.1-m2
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list