[ https://issues.apache.org/jira/browse/FELIX-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703694#action_12703694 ]
Guillaume Nodet commented on FELIX-1074: ---------------------------------------- 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: FELIX-1074 > URL: https://issues.apache.org/jira/browse/FELIX-1074 > Project: Felix > Issue Type: Bug > Components: Karaf > Reporter: 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.