Re: [osgi-dev] Interpreting the ServiceComponentRuntime DTOs

2016-10-18 Thread Benson Margulies
On Tue, Oct 18, 2016 at 3:18 PM, Paul F Fraser wrote: > Hi Benson, > > Instead of null > > try using configurationAdmin.getConfiguration(pid, "?"); Thanks. This seems to have improved things. Now I can't explain why the working test worked before, but you can't have

Re: [osgi-dev] SATISFIED versus ACTIVE

2016-10-18 Thread BJ Hargrave
If the activate method of a component instance has run, then the component instance is ACTIVE. A non-immediate SATISFIED component instance will generally not have been instantiated or activated given the lazy nature of DS for non-immediate components.   Also, since a component can have multiple

Re: [osgi-dev] Interpreting the ServiceComponentRuntime DTOs

2016-10-18 Thread Raymond Auge
Perhaps it might help to show the DTO you've dumped here so more eyes can look at it. Sincerely, - Ray On Tue, Oct 18, 2016 at 8:46 AM, Benson Margulies wrote: > On Tue, Oct 18, 2016 at 8:40 AM, Timothy Ward > wrote: > > How are you creating the

Re: [osgi-dev] SATISFIED versus ACTIVE

2016-10-18 Thread Raymond Auge
This is described in section 112.5.2 of the DS specification. Your component: - is enabled - your component either requires configuration and has it, or doesn't require configuration - has all it's references satisfied - is NOT immediate - no bundles have requested it Basically it's lazy and

Re: [osgi-dev] Interpreting the ServiceComponentRuntime DTOs

2016-10-18 Thread Benson Margulies
On Tue, Oct 18, 2016 at 8:40 AM, Timothy Ward wrote: > How are you creating the configuration? > > Configuration Admin uses the concept of a bundle location to restrict the > visibility of a pid to a particular bundle. This almost always trips people > up when they create

Re: [osgi-dev] Interpreting the ServiceComponentRuntime DTOs

2016-10-18 Thread Timothy Ward
How are you creating the configuration? Configuration Admin uses the concept of a bundle location to restrict the visibility of a pid to a particular bundle. This almost always trips people up when they create the configuration themselves (i.e. in code) as the “default” methods bind the

[osgi-dev] SATISFIED versus ACTIVE

2016-10-18 Thread Benson Margulies
I've got a component that I know has been activated: I've seen log messages from its activate message. Yet the DTO says state is SATISFIED, not ACTIVE. ___ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev

[osgi-dev] Interpreting the ServiceComponentRuntime DTOs

2016-10-18 Thread Benson Margulies
Here's my puzzle. I have a set of services that all have unsatisfied references to the same thing - a vanilla @Reference to the interface WorkerBusService. In each case, there is a configuration DTO with an unsatisfied reference with name BusConfigured and target null. WorkerBusService is

Re: [osgi-dev] Bndtools/Eclipse Help

2016-10-18 Thread manoj.vrajamani
Thanks Toni… Shall take a look ☺ From: osgi-dev-boun...@mail.osgi.org [mailto:osgi-dev-boun...@mail.osgi.org] On Behalf Of Toni Menzel Sent: 18 October 2016 13:06 To: OSGi Developer Mail List Subject: Re: [osgi-dev] Bndtools/Eclipse Help ** This mail has been sent from

Re: [osgi-dev] Bndtools/Eclipse Help

2016-10-18 Thread Toni Menzel
Hi Manoj, there are no dumb questions. Just lazy mailing lists. ;) We've got all your mails. No need to resend them just after 24 hours. Be patient. To be honest, i have problems to understand your problem. Do you want to integrate non-bundle java libraries (jars) in your OSGi application? Then

Re: [osgi-dev] Bndtools/Eclipse Help

2016-10-18 Thread manoj.vrajamani
Experts..please reply.. even if it is a dumb question :) We are in the learning stages.. :) From: Manoj Venkatesh Rajamani (Product Engineering Service) Sent: 18 October 2016 10:59 To: 'OSGi Developer Mail List' Subject: RE: Bndtools/Eclipse Help Did not get any reply.