Re: Unable to deploy a Karaf kar file containing a ComponentFactory OSGi declarative service

2018-09-04 Thread Thiago Moreira (timba)
Hey guys, thanks for your effort! I gave a shot on the maven-bundle-plugin without success. Now I'm able to deploy and activate all bundles BUT no method (BotImpl.run

Re: How to (easily) find the bundle that implements a given interface/service?

2018-09-04 Thread Thiago Moreira (timba)
Hey guys, the package:export is really helpful thanks! Is there a way to search through the features that aren't installed yet? If not does it make sense to have it? How Cave take place in this context? Thanks Thiago Moreira +55 48 99911-6331 On Tue, Sep 4, 2018 at 8:35 AM Francois Papon w

Re: Unable to deploy a Karaf kar file containing a ComponentFactory OSGi declarative service

2018-09-04 Thread Jean-Baptiste Onofré
Hi, Give me some time to complete Cave and I will take a look. The issue is not related to KAR, it's around the features resolver. I think it could be a race condition or a mistake in the requirements (as I didn't reproduce the issue, and we use the same approach in examples without problem). I k

Re: Unable to deploy a Karaf kar file containing a ComponentFactory OSGi declarative service

2018-09-04 Thread Francois Papon
Yes, I also tried to install the feature manually (JB tips) outside of the Kar but it didn't solve. May be I missed something in Felix for the registring of the component in the componentFactory. regards, François Papon fpa...@apache.org Le 04/09/2018 à 15:42, Milen Dyankov a écrit : > Oh, you

Re: Unable to deploy a Karaf kar file containing a ComponentFactory OSGi declarative service

2018-09-04 Thread Milen Dyankov
Oh, you are right. The service is indeed there. I did a quick check earlier and couldn't find it (may have used the wrong command) and then I saw "effective:=active" which rings a bell about an old discussion here about this being or not being enforced in certain Karaf versions. On Mon, Sep 3, 2018

Re: How to (easily) find the bundle that implements a given interface/service?

2018-09-04 Thread Francois Papon
Hi, You also have the "services" command wich print all the bundle and the services they provide. regards, François Papon fpa...@apache.org Le 04/09/2018 à 01:08, Łukasz Dywicki a écrit : > You can use few commands - I usually start with `la -l|grep async` which > allows to list bundle location