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 2007/05/03 12:36:15 UTC
[jira] Created: (FELIX-279) Concurrency Issues when enabling
components
Concurrency Issues when enabling components
-------------------------------------------
Key: FELIX-279
URL: https://issues.apache.org/jira/browse/FELIX-279
Project: Felix
Issue Type: Bug
Components: Declarative Services
Reporter: Felix Meschberger
Fix For: 1.0.0
When bundles are started and their components registered, enabled and activated and configuration is provided to them, timing issues may occurr, such that in the end some components may not be started at all.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (FELIX-279) Concurrency Issues when enabling
components
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger reassigned FELIX-279:
---------------------------------------
Assignee: Felix Meschberger
> Concurrency Issues when enabling components
> -------------------------------------------
>
> Key: FELIX-279
> URL: https://issues.apache.org/jira/browse/FELIX-279
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services
> Reporter: Felix Meschberger
> Assigned To: Felix Meschberger
> Fix For: 1.0.0
>
>
> When bundles are started and their components registered, enabled and activated and configuration is provided to them, timing issues may occurr, such that in the end some components may not be started at all.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-279) Concurrency Issues when enabling
components
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493333 ]
Felix Meschberger commented on FELIX-279:
-----------------------------------------
I will modify the way, that components are activated from synchronous to asynchrounous. By using a task queue which is handled
in a separate thread, these tasks may be strictly serialized.
Furthermore, this queue will of course also be used for the ComponentContext.enable and ComponentContext.disable methods, which currently span their own threads up each execution.
> Concurrency Issues when enabling components
> -------------------------------------------
>
> Key: FELIX-279
> URL: https://issues.apache.org/jira/browse/FELIX-279
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services
> Reporter: Felix Meschberger
> Assigned To: Felix Meschberger
> Fix For: 1.0.0
>
>
> When bundles are started and their components registered, enabled and activated and configuration is provided to them, timing issues may occurr, such that in the end some components may not be started at all.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FELIX-279) Concurrency Issues when enabling
components
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated FELIX-279:
------------------------------------
Fix Version/s: (was: felix-1.0.0)
scr-1.0.0
> Concurrency Issues when enabling components
> -------------------------------------------
>
> Key: FELIX-279
> URL: https://issues.apache.org/jira/browse/FELIX-279
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: scr-1.0.0
>
>
> When bundles are started and their components registered, enabled and activated and configuration is provided to them, timing issues may occurr, such that in the end some components may not be started at all.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-279) Concurrency Issues when enabling
components
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved FELIX-279.
-------------------------------------
Resolution: Fixed
Fixed the concurrency issues by having a single actor thread, which is fed with tasks (Runnable). Whenever a component needs to change state
(enable, activate, deactivate, disable), the respective action is packed in a Runnable and scheduled for asynchronous operation.
The only exceptions to this rule is the creation of the ComponentManager instance and the disposal of a ComponentManager. The latter is synchronous to be sure to have the ComponentManager destroyed before the framework itself takes actions such as unregistering services and taking class loaders out of service.
Fixed in Rev 538123.
> Concurrency Issues when enabling components
> -------------------------------------------
>
> Key: FELIX-279
> URL: https://issues.apache.org/jira/browse/FELIX-279
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services
> Reporter: Felix Meschberger
> Assigned To: Felix Meschberger
> Fix For: 1.0.0
>
>
> When bundles are started and their components registered, enabled and activated and configuration is provided to them, timing issues may occurr, such that in the end some components may not be started at all.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (FELIX-279) Concurrency Issues when enabling
components
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed FELIX-279.
-----------------------------------
Closing this for now.
> Concurrency Issues when enabling components
> -------------------------------------------
>
> Key: FELIX-279
> URL: https://issues.apache.org/jira/browse/FELIX-279
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services
> Reporter: Felix Meschberger
> Assigned To: Felix Meschberger
> Fix For: 1.0.0
>
>
> When bundles are started and their components registered, enabled and activated and configuration is provided to them, timing issues may occurr, such that in the end some components may not be started at all.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.