Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B46CE2004C8 for ; Mon, 9 May 2016 16:40:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B34EE1609A8; Mon, 9 May 2016 14:40:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AFC5E16099C for ; Mon, 9 May 2016 16:40:26 +0200 (CEST) Received: (qmail 61844 invoked by uid 500); 9 May 2016 14:40:25 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 61834 invoked by uid 99); 9 May 2016 14:40:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2016 14:40:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 69CA9C0D35 for ; Mon, 9 May 2016 14:40:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id obxPj2KJ0Gvi for ; Mon, 9 May 2016 14:40:23 +0000 (UTC) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id A91EA5F3DA for ; Mon, 9 May 2016 14:40:22 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id y84so203125930lfc.0 for ; Mon, 09 May 2016 07:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=eq238/szleOk6kl58AmkUZW2m2aV7W++jQwLnLGMVR8=; b=hfGtZyltd0EcPcXBY+0EnDnP/SKkE4sKlIRcmO7I8ksytUw2Js+xeoHvBsoGH2ddI+ WjzRBsqv6//5tknwFm1WgfQ9gWRI3FkauFYBIoxmeVRaoS6Od4vPhOx5beDXvRTCgqkv OKghE96jMPD40o2rg+BdfhYo+ZqT1HI+r2DqSNnY/Tq4fnBcWFvWxPWbBBITe7m+XeQa uPqZKZvPMislKZOOdeB2OwEIxHd5dVTKlsmTDQD+WVT0PVypqz3oEiqnzhaxWoKJreKK u/1N9Sfhzj0pn9wExSWmNz6uo5gR4Ukh7L2ixqg876+CJYC1a1tMgZSRAXsXUfuzQhmg pTHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=eq238/szleOk6kl58AmkUZW2m2aV7W++jQwLnLGMVR8=; b=j90mA1vGzEAqLGro2BjFMgUiJTV1jcng7px+Eb5PAmY+iST6ir0QZHUSm1s4ibFXJT rezrdRtZKvIm76171AiTL8tkGneYxEBFV0bvCgpXc7TqLCPCTksGNB1z19JKGeTAkCSu OtJFtJu4TB3Qi3BhhYJNrHKPEpVZd+N80nOOpJcNgTQc1KCfGE6BakFQAv3VWu8RuBHO GgyFflC3B7tbCqrLifZsscLxsacKXul7HbFDV4XkP+ypnLOIWVrTyYlqKfD5vgqO3D5I g+BJ88yIDN6Igo4ZdTg1/HAujb7dNn64vsUexH1drtducrWsr9MWd93yBr6AJIh0EiOW MJuA== X-Gm-Message-State: AOPr4FWAVShs3LHNC5qByRUL7+u2zv3eAwRSINEU0lpYOKVga+yg1zgbq8eIL83RYx9Zn9l+xY5A+axpo3Zu/g== X-Received: by 10.25.169.69 with SMTP id s66mr5423799lfe.150.1462804822149; Mon, 09 May 2016 07:40:22 -0700 (PDT) MIME-Version: 1.0 References: <5730A0A4.1060201@gmail.com> In-Reply-To: <5730A0A4.1060201@gmail.com> From: Arnaud Deprez Date: Mon, 09 May 2016 14:40:12 +0000 Message-ID: Subject: Re: Karaf 4.0.5 cannot resolve some OSGi services To: user@karaf.apache.org Content-Type: multipart/alternative; boundary=001a113f1ff2ccd1c2053269c9fd archived-at: Mon, 09 May 2016 14:40:27 -0000 --001a113f1ff2ccd1c2053269c9fd Content-Type: text/plain; charset=UTF-8 Yep, I'm aware of this :-) On Mon, May 9, 2016 at 4:37 PM Morgan Hautman wrote: > There was indeed a breaking change in Aries blueprint core for this > release during the vote but it was normally fixed by JB and he made a new > release vote including the fix... Let's wait till he checks his mails. :) > > > On 2016-05-09 15:29, Arnaud Deprez wrote: > > Nope, as you could see in my previous mail, I can see the service when I > execute the command: service:list org.apache.camel.Component. > Moreover, when I install the exact same features in karaf 4.0.4, it just > works. > > It also happens with other OSGi services, so the problem isn't related to > hazelcast. > According to me, it smells a breaking change in aries blueprint but I'm > not sure right now. > > Rgds, > > On Mon, May 9, 2016 at 3:12 PM Morgan Hautman > wrote: > >> Hi Arnaud, >> >> Didn't you forgot to install camel-hazelcast feature? >> >> Regards, >> Morgan >> >> 2016-05-09 14:53 GMT+02:00 Arnaud Deprez : >> >>> Hi folks, >>> >>> Just tried the new karaf release and I met this issue when I install my >>> bundles that are using blueprint as DI engine: >>> Error executing command: Unable to resolve root: missing requirement >>> [root] osgi.identity; osgi.identity=enterprise-contract; >>> type=karaf.feature; version="[1.4.0.SNAPSHOT,1.4.0.SNAPSHOT]"; >>> filter:="(&(osgi.identity=enterprise-contract)(type=karaf.feature)(version>=1.4.0.SNAPSHOT)(version<=1.4.0.SNAPSHOT))" >>> [caused by: Unable to resolve enterprise-contract/1.4.0.SNAPSHOT: missing >>> requirement [enterprise-contract/1.4.0.SNAPSHOT] osgi.identity; >>> osgi.identity=enterprise-customer; type=karaf.feature [caused by: Unable to >>> resolve enterprise-customer/1.4.0.SNAPSHOT: missing requirement >>> [enterprise-customer/1.4.0.SNAPSHOT] osgi.identity; >>> osgi.identity=be.lampiris.api.customer-rest; type=osgi.bundle; >>> version="[1.4.0.SNAPSHOT,1.4.0.SNAPSHOT]"; resolution:=mandatory [caused >>> by: Unable to resolve be.lampiris.api.customer-rest/1.4.0.SNAPSHOT: missing >>> requirement [be.lampiris.api.customer-rest/1.4.0.SNAPSHOT] osgi.service; >>> effective:=active; >>> filter:="(objectClass=be.lampiris.api.customer.CustomerQueryService)" >>> [caused by: Unable to resolve be.lampiris.api.customer-impl/1.4.0.SNAPSHOT: >>> missing requirement [be.lampiris.api.customer-impl/1.4.0.SNAPSHOT] >>> osgi.service; effective:=active; >>> filter:="(&(objectClass=org.apache.camel.Component)(type=hazelcast))"]]]] >>> >>> However I can see my service with the following command: >>> karaf@root(feature)> service:list org.apache.camel.Component >>> [org.apache.camel.Component] >>> ---------------------------- >>> osgi.service.blueprint.compname = hazelcastComponent >>> service.bundleid = 290 >>> service.id = 292 >>> service.scope = bundle >>> type = hazelcast >>> Provided by : >>> Bundle 290 >>> >>> My blueprint configuration is : >>> >> filter="(type=hazelcast)"/> >>> >>> My features works in 4.0.4 so I don't know what is broken here. >>> Any help is welcome. >>> >>> Regards, >>> -- >>> Arnaud Deprez >>> Software Engineer >>> Phone: +32 497 23 30 44 <%2B32%20497%2023%2030%2044> >>> Linked'In: https://www.linkedin.com/in/deprezarnaud >>> Github: https://github.com/arnaud-deprez >>> >> >> -- > Arnaud Deprez > Software Engineer > Phone: +32 497 23 30 44 > Linked'In: https://www.linkedin.com/in/deprezarnaud > Github: https://github.com/arnaud-deprez > > > -- Arnaud Deprez Software Engineer Phone: +32 497 23 30 44 Linked'In: https://www.linkedin.com/in/deprezarnaud Github: https://github.com/arnaud-deprez --001a113f1ff2ccd1c2053269c9fd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yep, I'm aware of this :-)

On Mon, May 9, 2016 at 4:37 PM Morgan Hautman <= ;morgan.hautman@gmail.com&g= t; wrote:
=20 =20 =20
There was indeed a breaking change in Aries blueprint core for this release during the vote but it was normally fixed by JB and he made a new release vote including the fix... Let's wait till he checks his mails. :)


On 2016-05-09 15:29, Arnaud Deprez wrote:
Nope, as you could see in my previous mail, I can see the service when I execute the command:=C2=A0service:list org.apache.camel.Component.
Mo= reover, when I install the exact same features in karaf 4.0.4, it just works.
It also happens with other OSGi services, so the problem isn't related to hazelcast.=C2=A0
Ac= cording to me, it smells a breaking change in aries blueprint but I'm not sure right now.
Rgds,

On Mon, May 9, 2016 at 3:12 PM Morgan Hautman <morgan.hautman@gmail.com> wrote:
Hi Arnaud,

Didn't you forgot to install camel-hazelcast feature?<= /div>

Regards,
Morgan

2016-05-09 14:53 GMT+02:00 Arnaud Deprez <arnaudeprez@gmail.com>:
Hi folks,

Just tried the new karaf release and I met this issue when I install my bundles that are using blueprint as DI engine:=C2=A0
Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=3Denterprise-contract; type=3Dkaraf.feature; version=3D"[1.4.0.SNAPSHOT,1.4.0.SNAPSHOT]"; filter:=3D"(&(osgi.identity=3Denterprise-contr= act)(type=3Dkaraf.feature)(version>=3D1.4.0.SNAPSHOT)(version<=3D1.4.= 0.SNAPSHOT))" [caused by: Unable to resolve enterprise-contract/1.4.0.SNAPSHOT: missing requirement [enterprise-contract/1.4.0.SNAPSHOT] osgi.identity; osgi.identity=3Denterprise-customer; type=3Dkaraf.feature [caused by: Unable to resolve enterprise-customer/1.4.0.SNAPSHOT: missing requirement [enterprise-customer/1.4.0.SNAPSHOT] osgi.identity; osgi.identity=3Dbe.lampiris.api.customer-rest; type=3Dosgi.bundle; version=3D"[1.4.0.SNAPSHOT,1.4.0.SNAPSHOT]"; resolution:=3Dmandatory [caused by: Unable to resolve be.lampiris.api.customer-rest/1.4.0.SNAPSHOT: missing requirement [be.lampiris.api.customer-rest/1.4.0.SNAPSHOT] osgi.service; effective:=3Dactive; filter:=3D"(objectClass=3Dbe.lampiris.api.customer= .CustomerQueryService)" [caused by: Unable to resolve be.lampiris.api.customer-impl/1.4.0.SNAPSHOT: missing requirement [be.lampiris.api.customer-impl/1.4.0.SNAPSHOT] osgi.service; effective:=3Dactive; filter:=3D"(&(objectClass=3Dorg.apache.camel.Component)(type=3Dhaz= elcast))"]]]]

However I can see my service with the following command:=C2=A0
karaf@root(feature)> service:list org.apache.camel.Component
[org.apache.camel.Component]
----------------------------
=C2=A0osgi.service.blueprint.compname =3D hazelcastComponent
=C2=A0service.bundleid =3D 290
=C2=A0service.id =3D 292
=C2=A0service.scope =3D bundle
=C2=A0type =3D hazelcast
Provided by :
=C2=A0Bundle 290

My blueprint configuration is :
<reference id=3D"hazelcast" interface=3D"org.apache.camel.Component" filter=3D"(type=3Dhazelcast)"/>

My features works in 4.0.4 so I don't know what is broken here.
Any help is welcome.

Regards,
--
Arnaud Deprez

--
Arnaud Deprez
Software Engineer
Phone: +32 497 23 30 44

--
A= rnaud Deprez
Software Engineer
Phone: +32 497 23 30 44
--001a113f1ff2ccd1c2053269c9fd--