karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Deprez <arnaudep...@gmail.com>
Subject Re: Karaf 4.0.5 cannot resolve some OSGi services
Date Mon, 09 May 2016 13:29:50 GMT
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 <morgan.hautman@gmail.com>
wrote:

> Hi Arnaud,
>
> Didn't you forgot to install camel-hazelcast feature?
>
> 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:
>> 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 :
>> <reference id="hazelcast" interface="org.apache.camel.Component"
>> 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
>> 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

Mime
View raw message