You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "John Ross (JIRA)" <ji...@apache.org> on 2014/01/07 20:55:50 UTC

[jira] [Commented] (ARIES-1144) Shared dependencies are uninstalled while still referenced.

    [ https://issues.apache.org/jira/browse/ARIES-1144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864615#comment-13864615 ] 

John Ross commented on ARIES-1144:
----------------------------------

The source of the issue is in SubsystemResource.computeDependencies(SubsystemManifest). Dependencies are identified only by iterating over the resolution's key set. The resolver will not return resources as keys that were already resolved when the operation began. This means that an already resolved shared resource will not be identified as a dependency of the subsystem and, therefore, the reference count will not be incremented. In addition to the key set resources, the list of wires for each resource must also be iterated over and each wire's provider inspected.

> Shared dependencies are uninstalled while still referenced.
> -----------------------------------------------------------
>
>                 Key: ARIES-1144
>                 URL: https://issues.apache.org/jira/browse/ARIES-1144
>             Project: Aries
>          Issue Type: Bug
>          Components: Subsystem
>    Affects Versions: 1.0
>            Reporter: John Ross
>            Assignee: John Ross
>
> Resources, such as bundles, that are shared by more than one subsystem will get uninstalled when one of the subsystems is uninstalled despite still being referenced by the other subsystems.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)