karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5435) BundleException when installing a bundle by API when the FeatureService install a feature
Date Fri, 20 Oct 2017 14:00:01 GMT

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

ASF subversion and git services commented on KARAF-5435:
--------------------------------------------------------

Commit 45fed936553e464a0575e61d94fe67128c089a31 in karaf's branch refs/heads/master from [~gnt]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=45fed93 ]

[KARAF-5435] BundleException when installing a bundle by API when the FeatureService install
a feature


> BundleException when installing a bundle by API when the FeatureService install a feature
> -----------------------------------------------------------------------------------------
>
>                 Key: KARAF-5435
>                 URL: https://issues.apache.org/jira/browse/KARAF-5435
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.1.2
>            Reporter: J. Br├ębec
>            Assignee: Guillaume Nodet
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: KARAF_5435.patch
>
>
> If a bundle install another bundle using his Bundlecontext, when the FeatureService resolve
a features, then a BundleException can be thrown by the osgi framework.
> FeaturesServiceImpl, in the method 'resolveBundles' registers a ResolverHookFactory and
unregisters this factory at this end. However, if another bundle X is resolved during the
execution of this methods (using a BundleContext), then this ResolverHookFactory will be used,
and it can be unregistered during the resolution of X. The osgi spec says that the resolution
of X should fail if a ResolverHookFactory is unregistered during the resolution.
> This can happens on a cold start when "fileinstall" install a bundle and the FeatureService
installs the boot features.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message