[
https://issues.apache.org/jira/browse/ARIES-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15395714#comment-15395714
]
John Ross commented on ARIES-1443:
----------------------------------
Does the second feature actually fail to install, resolve, and start? It's not
unusual for a resolver to attempt multiple permutations before it finds one
that works, particularly for complex systems, and this appears to simply be a
debug statement.
That message is certainly confusing, and I am unable to provide a cogent
interpretation of the message text itself; however, I do understand what is
happening in general. The bundle org.apache.xbean.finder exports package
org.apache.xbean.finder and, through the "uses" directive, adds a constraint
requiring both the importer and bundle org.apache.xbean.finder to be wired to
the same exporter of package org.apache.xbean.finder.archive. With this change,
you now have at least two exporters of package org.apache.xbean.finder.archive:
bundle org.apache.xbean.finder and the containing feature. Due to the uses
constraint, only one is going to work. The real problem would be if the
resolver is unable to find the solution that works, and, as a result, the
subsystem installation fails.
I'm not sure I completely understand your final question. Previously it was
possible for the capabilities of features to be different between initial
installation and a restart of the framework. Now they should be consistent.
> After a restart the capabilities of a subsystem have changed (seem correct)
> before the restart they seem wrong
> --------------------------------------------------------------------------------------------------------------
>
> Key: ARIES-1443
> URL: https://issues.apache.org/jira/browse/ARIES-1443
> Project: Aries
> Issue Type: Bug
> Components: Subsystem
> Affects Versions: subsystem-2.0.6, subsystem-2.0.8
> Environment: karaf pax-exam
> Reporter: Bas
> Assignee: John Ross
> Labels: test-patch
> Fix For: subsystem-2.1.0
>
> Attachments: CapabilitiesDifferOnRestart.java.patch,
> pax-web-jetty-bundle-4.2.5.jar
>
>
> A feature subsystem should export all capabilities of its constituents and it
> does not do that after a fresh install. After a restart of the subsystem core
> bundle it will export all the capabilities.
> These seems to be a difference in parsing the capabilities of a persisted
> subsystem and a new subsystem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)