Re: [osgi-dev] Component being activated twice?

2016-11-23 Thread Benson Margulies
On Wed, Nov 23, 2016 at 11:35 AM, Christian Schneider wrote: > Good question. I think one issue with not installing the scr feature is that > you do not have the scr karaf commands. > Apart from that not installing the scr feature would make it easier for > bndtools

Re: [osgi-dev] OSGi factory pids and configuration admin

2016-11-21 Thread Benson Margulies
p.s. Thank you, those emails rescued me from the confused state I landed in reading the fileinstall code. On Mon, Nov 21, 2016 at 2:09 PM, Benson Margulies <bimargul...@gmail.com> wrote: > I am really only concerned with fileinstall as a model/example of what > I am trying to do. Let

[osgi-dev] OSGi factory pids and configuration admin

2016-11-21 Thread Benson Margulies
Given a factory pid of a.b.c, and a pid of q, I am a little disoriented about how to manage some properties. Felix fileinstall parses a.b.c-q as 'pid = a.b.c', factoryPid = 'q'. It calls createFactoryConfiguration for 'a.b.c', and ignores the q. The 'updated' method on the service is called on a

Re: [osgi-dev] Is there an enroute http service?

2016-11-18 Thread Benson Margulies
I will. On Fri, Nov 18, 2016 at 8:48 AM, Peter Kriens <peter.kri...@aqute.biz> wrote: > You filed a bug at KF? > > Kind regards, > > Peter Kriens > >> On 18 nov. 2016, at 14:43, Benson Margulies <bimargul...@gmail.com> wrote: >> >> Unf

Re: [osgi-dev] Is there an enroute http service?

2016-11-18 Thread Benson Margulies
t supported. At least not yet. > > Regards, > Christer > > -- > Christer Larsson > Makewave, http://www.makewave.com > VP EMEA OSGi Alliance, http://www.osgi.org > Knopflerfish OSGi, http://www.knopflerfish.org > >> On 2016-11-17, at 20:15, Benson Margulies <bima

Re: [osgi-dev] Is there an enroute http service?

2016-11-17 Thread Benson Margulies
rfish has one too: > http://www.knopflerfish.org/releases/6.0.0/docs/bundledoc/index.html?docpage=http/index.html > > /Per > > > On 2016-11-17 18:13, Benson Margulies wrote: >> >> On Thu, Nov 17, 2016 at 11:54 AM, Peter Kriens <peter.kri...@aqute.biz> >> wro

Re: [osgi-dev] Is there an enroute http service?

2016-11-17 Thread Benson Margulies
nd regards, > > Peter Kriens > > On 17 nov. 2016, at 17:10, Benson Margulies <bimargul...@gmail.com> wrote: > > On Thu, Nov 17, 2016 at 11:05 AM, Peter Kriens <peter.kri...@aqute.biz> > wrote: > > I think there is a simple Http server at Felix written by someo

Re: [osgi-dev] Is there an enroute http service?

2016-11-17 Thread Benson Margulies
issues I've hit. I'm in a bit of a hurry to try to finish something, and if there had been a true self-contained http service available from enroute, that might have done the trick. > > Kind regards, > > Peter Kriens > >> On 17 nov. 2016, at 16:37, Benson Margul

[osgi-dev] Is there an enroute http service?

2016-11-17 Thread Benson Margulies
We've had some problems with pax-web and felix HTTP, so I was looking around, and read: http://enroute.osgi.org/services/org.osgi.service.http.html This led me to wonder if someone has actually built yet another HTTP service (perhaps a very simple one based on the http server in the JDK), or

Re: [osgi-dev] Why is 'start' an error for fragments?

2016-11-10 Thread Benson Margulies
w and CTO of the OSGi Alliance // mobile: +1 386 848 3788 > hargr...@us.ibm.com > > > > - Original message - > From: Benson Margulies <bimargul...@gmail.com> > Sent by: osgi-dev-boun...@mail.osgi.org > To: OSGi Developer Mail List <osgi-dev@mail.osgi.org> &g

[osgi-dev] Why is 'start' an error for fragments?

2016-11-10 Thread Benson Margulies
Has there ever been consideration of making 'start' be a harmless no-op for fragment bundles? I keep having to write code to check the headers and avoid the call to start on fragments. ___ OSGi Developer Mail List osgi-dev@mail.osgi.org

Re: [osgi-dev] Getting _all_ of the framework properties

2016-11-04 Thread Benson Margulies
Thanks. > > Tom > > [1] > https://osgi.org/javadoc/r6/core/org/osgi/framework/namespace/NativeNamespace.html > [2] > https://osgi.org/javadoc/r6/core/org/osgi/framework/launch/FrameworkFactory.html#newFramework(java.util.Map) > > > > > From:Benson Marg

[osgi-dev] Getting _all_ of the framework properties

2016-11-04 Thread Benson Margulies
Is there a service that has access to the enumeration of all the framework property keys? BundleContext.getProperty can only get the ones I know about, of course. ___ OSGi Developer Mail List osgi-dev@mail.osgi.org

[osgi-dev] How to track down a problem that appears to come through an unwanted system bundle package

2016-11-03 Thread Benson Margulies
Note: There's an obvious binary search solution to the problem here, but I wonder if anyone has a shortcut. I have a working test of some code that launches a fairly complex collection of services in Felix 5.6.1. Then, I tried to port across a more sophisticated test. I changed nothing about

Re: [osgi-dev] Using events

2016-10-19 Thread Benson Margulies
Ray, Thanks for the help. I want to clarify what sort of beast I'm dealing with here. There is no "user interface" in the exact sense that you are thinking of. What we have here is an SDK for complex NLP processing. In order to avoid classpath problems of all sorts, we've decided to embed an

Re: [osgi-dev] Using events

2016-10-19 Thread Benson Margulies
ge for the results to show up 'outside'. But, on consideration, I see how to do that not too badly. > > Kind regards, > > Peter Kriens > >> On 19 okt. 2016, at 14:11, Benson Margulies <bimargul...@gmail.com> wrote: >> >> I've found myself in situatio

[osgi-dev] Using events

2016-10-19 Thread Benson Margulies
I've found myself in situations where a (user) configuration error leads to a throw in a DS @Activate method, and the eventual result is that a component doesn't start and a service isn't found. While the activate message can certainly log, it would be better, in my view, if I could come up with a

Re: [osgi-dev] Interpreting the ServiceComponentRuntime DTOs

2016-10-18 Thread Benson Margulies
rked before, but you can't have everything. > > Paul > > > On 18/10/2016 11:46 PM, Benson Margulies wrote: >> >> On Tue, Oct 18, 2016 at 8:40 AM, Timothy Ward <tim.w...@paremus.com> >> wrote: >>> >>> How are you creating the configuration? >>

Re: [osgi-dev] Interpreting the ServiceComponentRuntime DTOs

2016-10-18 Thread Benson Margulies
olved. While I thank you for advice on diagnosing the problem, I also want to remind you that my original question is how the state is reflected in the DTOs. Solving the actual problem is probably just a matter of log comparison with the working environment. > > Regards, > > Tim &

[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

[osgi-dev] SCR: Why do unsatisfied references have target services?

2016-10-17 Thread Benson Margulies
In org.osgi.service.component.runtime.dto.UnsatisfiedReferenceDTO there are targetServices. What are they, given that the service is unsatisfied? ___ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] A middle ground between hard dependencies and purely dynamic dependencies (DS)

2016-10-12 Thread Benson Margulies
t; webmasters. >> >> Kind regards, >> >> Peter Kriens >> >>> On 11 okt. 2016, at 16:28, Benson Margulies <bimargul...@gmail.com> >>> wrote: >>> >>> It's no longer dead AFAICT, so I doubt that I can be very precise her

Re: [osgi-dev] A middle ground between hard dependencies and purely dynamic dependencies (DS)

2016-10-11 Thread Benson Margulies
wrote: > What URL went dead? > > > On Fri, Oct 7, 2016 at 11:46 PM, Benson Margulies <bimargul...@gmail.com> > wrote: >> >> On Fri, Oct 7, 2016 at 5:41 PM, Neil Bartlett <njbartl...@gmail.com> >> wrote: >> > >> > On 7 Oct 2016, at 22

Re: [osgi-dev] A middle ground between hard dependencies and purely dynamic dependencies (DS)

2016-10-07 Thread Benson Margulies
On Fri, Oct 7, 2016 at 5:41 PM, Neil Bartlett <njbartl...@gmail.com> wrote: > > On 7 Oct 2016, at 22:33, Benson Margulies <bimargul...@gmail.com> wrote: > > On Fri, Oct 7, 2016 at 4:21 PM, Neil Bartlett <njbartl...@gmail.com> wrote: > > > On 7 Oct 201

Re: [osgi-dev] A middle ground between hard dependencies and purely dynamic dependencies (DS)

2016-10-07 Thread Benson Margulies
On Fri, Oct 7, 2016 at 4:21 PM, Neil Bartlett <njbartl...@gmail.com> wrote: > > On 7 Oct 2016, at 20:56, Benson Margulies <bimargul...@gmail.com> wrote: > > On Fri, Oct 7, 2016 at 3:45 PM, Ferry Huberts <maili...@hupie.com> wrote: > > > > On 07/10/16