aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wouter Bancken (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ARIES-1491) Fragment-host bundle is refreshed when a new fragment is installed
Date Wed, 03 Feb 2016 14:32:39 GMT

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

Wouter Bancken edited comment on ARIES-1491 at 2/3/16 2:31 PM:
---------------------------------------------------------------

We indeed tried to refresh the fragment-host bundle by itself and this did work. 

As Tom said, we think solution (3) is the best option since it solves the issues and has the
least overall impact on deployment. I can't think of any cases where that behaviour would
be undesirable. If we discover a case, we could still consider making the refresh configurable.


was (Author: wouter bancken):
We indeed tried to refresh the fragment-host bundle and this did work. 

As Tom said, we think solution (3) is the best option since it solves the issues and has the
least overall impact on deployment. I can't think of any cases where that behaviour would
be undesirable. If we discover a case, we could still consider making the refresh configurable.

> Fragment-host bundle is refreshed when a new fragment is installed
> ------------------------------------------------------------------
>
>                 Key: ARIES-1491
>                 URL: https://issues.apache.org/jira/browse/ARIES-1491
>             Project: Aries
>          Issue Type: Improvement
>          Components: Subsystem
>    Affects Versions: subsystem-2.0.8
>            Reporter: Wouter Bancken
>
> The Felix framework will not allow fragments to attach to an already resolved host. This
results in resolution errors when a new fragment bundle appears in a new subsystem while the
fragment-host is in an already started subsystem. 
> These resolution errors can be resolved by refreshing (FrameworkWiring.refreshBundles)
the resolved fragment-host bundle after installing the fragment. 
> Aries could do this automatically when it encounters a fragment-host requirement when
resolving a subsystem. 
> Related mailinglist discussion: http://mail-archives.apache.org/mod_mbox/aries-user/201602.mbox/browser



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message