Return-Path: X-Original-To: apmail-felix-users-archive@minotaur.apache.org Delivered-To: apmail-felix-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BFE609F48 for ; Mon, 12 Dec 2011 10:41:27 +0000 (UTC) Received: (qmail 20363 invoked by uid 500); 12 Dec 2011 10:41:27 -0000 Delivered-To: apmail-felix-users-archive@felix.apache.org Received: (qmail 20328 invoked by uid 500); 12 Dec 2011 10:41:27 -0000 Mailing-List: contact users-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@felix.apache.org Delivered-To: mailing list users@felix.apache.org Received: (qmail 20320 invoked by uid 99); 12 Dec 2011 10:41:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2011 10:41:27 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of karlpauls@gmail.com designates 209.85.161.177 as permitted sender) Received: from [209.85.161.177] (HELO mail-gx0-f177.google.com) (209.85.161.177) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2011 10:41:18 +0000 Received: by ggnp4 with SMTP id p4so7500297ggn.22 for ; Mon, 12 Dec 2011 02:40:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=JHhPFO2jjrRegopsdY5N/qCFm6NLSuHmD02j4l+zuGk=; b=ZYK5Jq4NecIfzUDpI90DNSUS/NizyiS/MQ5qZmZOCd3oH/GaxBxEwoAkErhqjCA0kk xsQY6G6taWnAyxf05wNTi8Od6XYBMFo+2uE3cvrNehtGJU2YfT31BZpGYRd2awwANpFR d4aas0ttB11yYbMaeLGNMjoJ3o/HxgibF/eA0= Received: by 10.182.180.5 with SMTP id dk5mr2770622obc.7.1323686457330; Mon, 12 Dec 2011 02:40:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.44.232 with HTTP; Mon, 12 Dec 2011 02:40:36 -0800 (PST) In-Reply-To: References: From: Karl Pauls Date: Mon, 12 Dec 2011 11:40:36 +0100 Message-ID: Subject: Re: Unable to resolve cause wired to two revisions of same bundle? To: users@felix.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org yes, it can: http://felix.apache.org/site/apache-felix-osgi-faq.html#ApacheFelixOSGiFAQ-= WhenIupdatemybundle%252Cwhyaremybundle%2527soldclassesstillbeingused%253F regards, Karl On Mon, Dec 12, 2011 at 11:13 AM, Bram de Kruijff wr= ote: > 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: > =A0org.amdatu.web.rest.wink [21.1] > =A0 =A0import: (&(osgi.wiring.package=3Djavax.ws.rs)(version>=3D1.1.0)(!(= version>=3D2.0.0))) > =A0 =A0 | > =A0 =A0export: osgi.wiring.package=3Djavax.ws.rs > =A0org.amdatu.web.rest.jaxrs [18.1] > > Chain 2: > =A0org.amdatu.web.rest.wink [21.1] > =A0 =A0import: (&(osgi.wiring.package=3Djavax.ws.rs.ext)(version>=3D1.1.0= )(!(version>=3D2.0.0))) > =A0 =A0 | > =A0 =A0export: osgi.wiring.package=3Djavax.ws.rs.ext; uses:=3Djavax.ws.rs > =A0 =A0export: osgi.wiring.package=3Djavax.ws.rs > =A0org.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 > --=20 Karl Pauls karlpauls@gmail.com http://twitter.com/karlpauls http://www.linkedin.com/in/karlpauls https://profiles.google.com/karlpauls --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@felix.apache.org For additional commands, e-mail: users-help@felix.apache.org