It's too bad that
org.apache.felix.bundlerepository.impl.FelixRequirementAdapter doesn't
override toString or we'd have more to go on. To state the obvious,
something in the co.diderot.mapdb;1.0.1 bundle requires something that is
either not available or visible. Can you identify exactly what requirement
that is and confirm something providing a matching capability is present?
Can you make it work by packaging all of the dependencies of
co.diderot.mapdb;1.0.1 in the subsystem archive rather than relying on the
repository? If you can attach a simple test case reproducing the issue to a
JIRA perhaps we can help more. Questions specifically about Felix OBR
should go to [email protected] or [email protected] [1].

[1] http://felix.apache.org/mailinglists.html

On Wed, Sep 30, 2015 at 7:32 AM, Paul F Fraser <[email protected]> wrote:

> Hi,
>
> Using very simple subsystem esa files, some of my subsystems install and
> others fail with for example:
>
> org.osgi.service.resolver.ResolutionException: Unable to resolve
> co.diderot.mapdb;1.0.1;
> osgi.bundle: missing requirement
> org.apache.felix.bundlerepository.impl.FelixRequirementAdapter@17a03c1a
>
> The problem is not related to the esa file because I can change the
> Subsystem-Content: to use a bundle that works and all is well.
>
> I have checked the index.xml file in the repository and cannot see any
> difference between bundles that work and those that do not, although I
> could be missing something there.
>
> All of my bundles, the good and the bad are generated using bndtools
> 3.0.0.REL-20150910-120816 the latest from the eclipse market place.
>
> Can anyone suggest what might be causing this problem?
>
> regards
>
> Paul Fraser
>

Reply via email to