felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bram de Kruijff <bdekrui...@gmail.com>
Subject Unable to resolve cause wired to two revisions of same bundle?
Date Mon, 12 Dec 2011 10:13:09 GMT
Hi list,

having a hard time understanding the problem below. Can a bundle be
wired to multiple revision of another? I'd think it would refresh all
wires. Bug or feature? Probably the latter, but I'd like to understand
:)

When stop/starting a local install I get in this situation. Bundles
are touched/updated from build in between, but nothing really changes
in terms of imports/exports. Bundles are updated from fileinstall, not
directly by the framework. I recently switched to 4.0.2 so that is
probably related. After the refresh all is fine.

{quote}
org.osgi.framework.BundleException: Uses constraint violation. Unable
to resolve bundle revision org.amdatu.web.rest.wink [21.1] because it
is exposed to package 'javax.ws.rs' from bundle revisions
org.amdatu.web.rest.jaxrs [18.1] and org.amdatu.web.rest.jaxrs [18.0]
via two dependency chains.

Chain 1:
  org.amdatu.web.rest.wink [21.1]
    import: (&(osgi.wiring.package=javax.ws.rs)(version>=1.1.0)(!(version>=2.0.0)))
     |
    export: osgi.wiring.package=javax.ws.rs
  org.amdatu.web.rest.jaxrs [18.1]

Chain 2:
  org.amdatu.web.rest.wink [21.1]
    import: (&(osgi.wiring.package=javax.ws.rs.ext)(version>=1.1.0)(!(version>=2.0.0)))
     |
    export: osgi.wiring.package=javax.ws.rs.ext; uses:=javax.ws.rs
    export: osgi.wiring.package=javax.ws.rs
  org.amdatu.web.rest.jaxrs [18.0]
-> refresh
{quote}

Thanks,
Bram

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message