You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/03/25 16:02:43 UTC
[jira] Commented: (SMX4KNL-249) When installing features, we need
to osgi/refresh some bundles to allow optional imports to be resolved
[ https://issues.apache.org/activemq/browse/SMX4KNL-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50795#action_50795 ]
Guillaume Nodet commented on SMX4KNL-249:
-----------------------------------------
Calling refresh on all bundles for the feature installed and all its dependencies may be a bit too much.
We need to at least call refreshPackages(null), but this won't resolve optional imported packages that are available.
Unfortunately, there's no easy way around that: a possible one would be to examine all bundles and if they have optional imports that are not resolved, try to refresh those.
> When installing features, we need to osgi/refresh some bundles to allow optional imports to be resolved
> -------------------------------------------------------------------------------------------------------
>
> Key: SMX4KNL-249
> URL: https://issues.apache.org/activemq/browse/SMX4KNL-249
> Project: ServiceMix Kernel
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Attachments: SMX4KNL-249.patch
>
>
> For example, before the fix for SMX4-222, the jsp bundle was installed after the core web service, thus making jsp not working.
> When installing the jsp bundle, we should refresh the core web server, or maybe adding the core web service bundle to the web feature in addition to the web-core, and make the refresh when an already installed bundle is required by a feature (i think it would make more sense and be easier).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.