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

2018-09-03 Thread Łukasz Dywicki
You can use few commands - I usually start with `la -l|grep async` which allows to list bundle locations - quite often you can find interesting part in maven coordinates. Second option is `package:exports|grep async` which will show bundles exporting packages with async fragment. Then, based on

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

2018-09-03 Thread Thiago Moreira (timba)
Exactly! Thiago Moreira +55 48 99911-6331 On Mon, Sep 3, 2018 at 12:07 PM Francois Papon wrote: > Hi, > > When I tried, the bundle "BotImpl" provided the service > 'org.osgi.service.component.ComponentFactory', I can see it in the > "services" command output. > > However it's not binded in

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

2018-09-03 Thread Jean-Baptiste Onofré
Let me finish the preparation of the Cave release and I will take a deeper look. Regards JB On 03/09/2018 15:47, Thiago Moreira (timba) wrote: > >   Hey guys, were you able to reproduce the problem? > >   Thanks > > Thiago Moreira > +55 48 99911-6331 > > > On Sun, Sep 2, 2018 at 1:10 PM

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

2018-09-03 Thread Francois Papon
Hi, When I tried, the bundle "BotImpl" provided the service 'org.osgi.service.component.ComponentFactory', I can see it in the "services" command output. However it's not binded in the BotApplication by the @Reference. regards, François Papon fpa...@apache.org Le 03/09/2018 à 19:02,

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

2018-09-03 Thread Jean-Baptiste Onofré
Hi Milen, effective means that it expects a service available in the registry. So, if ComponentFactory is preset in the registry (you can check with the ls command), it should work via the feature. I will provide a fix to Thiago. Regards JB On 03/09/2018 16:40, Milen Dyankov wrote: > This is a

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

2018-09-03 Thread Milen Dyankov
This is a shot it the dark and I'm sure JB will correct me if I'm wrong but I think it may be due to `effective:=active` directive. See, if you deploy the `scr` feature and your bundles, they are activated. But IMHO the application bundle shouldn't resolve because It has `Require-Capability: ...

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

2018-09-03 Thread Thiago Moreira (timba)
Hi all, rookie question :D I'm starting to play with Async interface/service but I'm having hard time to find the bundle that implements the service. I found that these jars

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

2018-09-03 Thread Francois Papon
Hi, I tried yesterday and I'm able to reproduce after migrate on maven-bundle-plugin, I will search more deeply for the component-factory ;) regards, François Papon fpa...@apache.org Le 03/09/2018 à 17:47, Thiago Moreira (timba) a écrit : > >   Hey guys, were you able to reproduce the problem?

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

2018-09-03 Thread Thiago Moreira (timba)
Hey guys, were you able to reproduce the problem? Thanks Thiago Moreira +55 48 99911-6331 On Sun, Sep 2, 2018 at 1:10 PM Jean-Baptiste Onofré wrote: > Some may see this as a pro, some as a cons ;) > > Anyway, maven-bundle-plugin uses bnd (library). The bnd plugin allows to > delegate the

Re: Strange behaviour when accessing console via ssh client into a dockernized Karaf

2018-09-03 Thread Thiago Moreira (timba)
Nice JB, if there is anything that I can do for help let me know. Thiago Moreira +55 48 99911-6331 On Mon, Sep 3, 2018 at 1:18 AM Jean-Baptiste Onofré wrote: > OK, I saw the response in the mail subject ;) > > Yeah, I saw that as well when using -tty in the docker. It seems the > term type