You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/05/23 07:22:45 UTC

[jira] Created: (FELIX-1173) Concurrency Issues while containing bundle is stopping

Concurrency Issues while containing bundle is stopping
------------------------------------------------------

                 Key: FELIX-1173
                 URL: https://issues.apache.org/jira/browse/FELIX-1173
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
    Affects Versions: scr-1.0.8
            Reporter: Felix Meschberger
             Fix For: scr-1.2.0, scr-1.0.10


While a bundle is stopping, there may still be ComponentActivatorTask on the activator queue and be executed. The activator queue/ComponentActivatorTask combo should be enhance to prevent running asynchrounous tasks for components whose owning bundle is in the process of stopping, i.e. is not active.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-1173) Concurrency Issues while containing bundle is stopping

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated FELIX-1173:
-------------------------------------

    Fix Version/s:     (was: scr-1.2.0)

> Concurrency Issues while containing bundle is stopping
> ------------------------------------------------------
>
>                 Key: FELIX-1173
>                 URL: https://issues.apache.org/jira/browse/FELIX-1173
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.0.8
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: scr-1.0.10
>
>
> While a bundle is stopping, there may still be ComponentActivatorTask on the activator queue and be executed. The activator queue/ComponentActivatorTask combo should be enhance to prevent running asynchrounous tasks for components whose owning bundle is in the process of stopping, i.e. is not active.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-1173) Concurrency Issues while containing bundle is stopping

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed FELIX-1173.
------------------------------------


SCR 1.2.0 has been released. Close all issues.

> Concurrency Issues while containing bundle is stopping
> ------------------------------------------------------
>
>                 Key: FELIX-1173
>                 URL: https://issues.apache.org/jira/browse/FELIX-1173
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.0.8
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: scr-1.2.0
>
>
> While a bundle is stopping, there may still be ComponentActivatorTask on the activator queue and be executed. The activator queue/ComponentActivatorTask combo should be enhance to prevent running asynchrounous tasks for components whose owning bundle is in the process of stopping, i.e. is not active.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-1173) Concurrency Issues while containing bundle is stopping

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-1173.
--------------------------------------

    Resolution: Fixed

Extended ComponentActivatorTask class to check whether the defining bundle is still active before actually running the task.

In addition defined special sentinel object to terminate the ComponentActorThread instead of using the thread instance itself.

Both has been applied in Rev. 778518

Deployed SNAPSHOT version 1.0.9-20090525.214658-2 containing this fix.

> Concurrency Issues while containing bundle is stopping
> ------------------------------------------------------
>
>                 Key: FELIX-1173
>                 URL: https://issues.apache.org/jira/browse/FELIX-1173
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.0.8
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: scr-1.2.0, scr-1.0.10
>
>
> While a bundle is stopping, there may still be ComponentActivatorTask on the activator queue and be executed. The activator queue/ComponentActivatorTask combo should be enhance to prevent running asynchrounous tasks for components whose owning bundle is in the process of stopping, i.e. is not active.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (FELIX-1173) Concurrency Issues while containing bundle is stopping

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger reassigned FELIX-1173:
----------------------------------------

    Assignee: Felix Meschberger

> Concurrency Issues while containing bundle is stopping
> ------------------------------------------------------
>
>                 Key: FELIX-1173
>                 URL: https://issues.apache.org/jira/browse/FELIX-1173
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.0.8
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: scr-1.2.0, scr-1.0.10
>
>
> While a bundle is stopping, there may still be ComponentActivatorTask on the activator queue and be executed. The activator queue/ComponentActivatorTask combo should be enhance to prevent running asynchrounous tasks for components whose owning bundle is in the process of stopping, i.e. is not active.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-1173) Concurrency Issues while containing bundle is stopping

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated FELIX-1173:
-------------------------------------

    Fix Version/s:     (was: scr-1.0.10)
                   scr-1.2.0

Retargeting fixes for SCR 1.2.0 release. There will be no 1.0.10 release.

> Concurrency Issues while containing bundle is stopping
> ------------------------------------------------------
>
>                 Key: FELIX-1173
>                 URL: https://issues.apache.org/jira/browse/FELIX-1173
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR)
>    Affects Versions: scr-1.0.8
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: scr-1.2.0
>
>
> While a bundle is stopping, there may still be ComponentActivatorTask on the activator queue and be executed. The activator queue/ComponentActivatorTask combo should be enhance to prevent running asynchrounous tasks for components whose owning bundle is in the process of stopping, i.e. is not active.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.