Dear,

I'm trying to update the Felix resolver in my (Aries) project from version
1.4 to 1.8 but I'm running into some issues when resolving bundles.
Specifically, I keep getting the following error:

Candidate permutation failed due to a conflict between an export and
import; will try another if possible. (Uses constraint violation.
Unable to resolve resource org.ops4j.pax.web.pax-web-jetty-bundle
[/var/folders/25/w0q5j_mn4l1771mbxtg6yhhm0000gn/T/inputStreamExtract2406122046805868560.zip/pax-web-jetty-bundle-4.2.5.jar]
because it exports package 'org.eclipse.jetty.util.log' and is also exposed
to it from resource org.ops4j.pax.web.pax-web-jetty-bundle
[/var/folders/25/w0q5j_mn4l1771mbxtg6yhhm0000gn/T/inputStreamExtract2406122046805868560.zip/pax-web-jetty-bundle-4.2.5.jar]
via the following dependency chain:

  org.ops4j.pax.web.pax-web-jetty-bundle
[/var/folders/25/w0q5j_mn4l1771mbxtg6yhhm0000gn/T/inputStreamExtract2406122046805868560.zip/pax-web-jetty-bundle-4.2.5.jar]
    import:
(&(osgi.wiring.package=org.eclipse.jetty.server.handler)(&(version>=9.2.0)(!(version>=10.0.0))))
     |
    export: osgi.wiring.package: org.eclipse.jetty.server.handler;
uses:=org.eclipse.jetty.util.log
    export: osgi.wiring.package=org.eclipse.jetty.util.log
  org.ops4j.pax.web.pax-web-jetty-bundle
[/var/folders/25/w0q5j_mn4l1771mbxtg6yhhm0000gn/T/inputStreamExtract2406122046805868560.zip/pax-web-jetty-bundle-4.2.5.jar])

The error reoccurs for different package imports up until the memory limit
is exceeded.

As you can see, the end of the dependency chain which exports the package
is the same bundle that is requesting the import. The changelog of the
Felix resolver does not mention anything regarding packages that are
imported and exported by the same bundle. Are there any known bugs
regarding this situation?

I attached the manifest of the pax-web-jetty-bundle to this mail.

Best regards,
Wouter Bancken
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to