karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Deprez <arnaudep...@gmail.com>
Subject Karaf 4.0.5 cannot resolve some OSGi services
Date Mon, 09 May 2016 12:53:36 GMT
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;
[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;
[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;

However I can see my service with the following command:
karaf@root(feature)> service:list 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"

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

Arnaud Deprez
Software Engineer
Phone: +32 497 23 30 44
Linked'In: https://www.linkedin.com/in/deprezarnaud
Github: https://github.com/arnaud-deprez

View raw message