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
<[email protected] <mailto:[email protected]>> wrote:
Hi Arnaud,
Didn't you forgot to install camel-hazelcast feature?
Regards,
Morgan
2016-05-09 14:53 GMT+02:00 Arnaud Deprez <[email protected]
<mailto:[email protected]>>:
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 <http://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 <tel:%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