Re: More entropy on bundle startup.

2016-07-14 Thread Nick Baker
Thanks Guillaume! This will definitely help us as we find those holding onto stale service references. -Nick From: Guillaume Nodet Reply-To: "user@karaf.apache.org" Date: Thursday, July 14, 2016 at 3:11 PM To: user Subject: Re:

Re: More entropy on bundle startup.

2016-07-14 Thread Guillaume Nodet
Try the load-test command inside the karaf console. It randomly starts / stop / refresh bundles with multiple threads in loop, so such things are quickly seen usually. 2016-07-13 22:56 GMT+02:00 Benson Margulies : > Folks, > > We've had a couple of incidents of latent

Re: More entropy on bundle startup.

2016-07-14 Thread Benson Margulies
We use DS for most of our services, but we have a few down at the activator level. I appreciate that the fixes to the bugs involve service tracking. The problem is _finding_ the bugs. Yes we use featuresBoot. featuresBootAsynchronous=false On Thu, Jul 14, 2016 at 9:56 AM, James Carman

Re: More entropy on bundle startup.

2016-07-14 Thread James Carman
You are using featuresBoot? Do you have featuresBootAsynchronous=false in your org.apache.karaf.features.cfg file? On Thu, Jul 14, 2016 at 9:33 AM Benson Margulies wrote: > I don't think so, no. I do not do any dynamic installation. I use the > Maven plugin to make an

Re: More entropy on bundle startup.

2016-07-14 Thread Scott Carr
What kind of services do you create? Blueprint, Component, direct Activator? I use Component, and the Component waits for the required components to be available and then starts. I have had issues in the past with badly coded direct Activators not starting in the correct order. I then

Re: More entropy on bundle startup.

2016-07-14 Thread Benson Margulies
I don't think so, no. I do not do any dynamic installation. I use the Maven plugin to make an assembly with all the features I need. I then observe that the startup order is not deterministic from machine to machine, and it is particularly prone to change when I stop and start the container

Re: Karaf Eclipse Integration; Is EIK dead?

2016-07-14 Thread Morgan Hautman
Ok great, if you need a hand, tell me. Regards, Morgan 2016-07-14 9:39 GMT+02:00 Jean-Baptiste Onofré : > That's part of the new dev guide on which I'm working, based on the > samples: > > https://github.com/jbonofre/karaf-samples > > Regards > JB > > On 07/14/2016 09:36 AM,

Re: Karaf Eclipse Integration; Is EIK dead?

2016-07-14 Thread Jean-Baptiste Onofré
That's part of the new dev guide on which I'm working, based on the samples: https://github.com/jbonofre/karaf-samples Regards JB On 07/14/2016 09:36 AM, Morgan Hautman wrote: Well there it is separated, I was talking about a more user friendly approach. Something like : "How we develop our

Re: Karaf Eclipse Integration; Is EIK dead?

2016-07-14 Thread Morgan Hautman
Well there it is separated, I was talking about a more user friendly approach. Something like : "How we develop our bundles using Apache Karaf" and then describing the proces.. WDYT? 2016-07-14 9:26 GMT+02:00 Jean-Baptiste Onofré : > It's already there. > > For debug: > >

Re: Karaf Eclipse Integration; Is EIK dead?

2016-07-14 Thread Jean-Baptiste Onofré
It's already there. For debug: http://karaf.apache.org/manual/latest/#_troubleshooting_debugging_profiling_and_monitoring For bundle watch: http://karaf.apache.org/manual/latest/#_watch Regards JB On 07/14/2016 09:22 AM, Morgan Hautman wrote: Guys, Shouldn't we write this down into a little

Re: Karaf Eclipse Integration; Is EIK dead?

2016-07-14 Thread Achim Nierbeck
afaik it's been there already 2016-07-14 9:22 GMT+02:00 Morgan Hautman : > Guys, > > Shouldn't we write this down into a little section in the dev guide? > > Regards, > Morgan > > > 2016-07-14 9:17 GMT+02:00 Jean-Baptiste Onofré : > >> FYI, it's also

Re: Karaf Eclipse Integration; Is EIK dead?

2016-07-14 Thread Morgan Hautman
Guys, Shouldn't we write this down into a little section in the dev guide? Regards, Morgan 2016-07-14 9:17 GMT+02:00 Jean-Baptiste Onofré : > FYI, it's also possible to start karaf with debug argument (instead of > KARAF_DEBUG env variable). > > Regards > JB > > > On

Re: Karaf Eclipse Integration; Is EIK dead?

2016-07-14 Thread Jean-Baptiste Onofré
FYI, it's also possible to start karaf with debug argument (instead of KARAF_DEBUG env variable). Regards JB On 07/14/2016 08:59 AM, Christian Schneider wrote: Currently the recommended way is to use a maven or gradle build with the maven-bundle-plugin or bnd-maven-plugin. You then create a

Re: Karaf Eclipse Integration; Is EIK dead?

2016-07-14 Thread Christian Schneider
Even without bundle:watch you can simply do update . There is no need to uninstall bundles. Christian On 14.07.2016 07:55, Morgan Hautman wrote: Hi, Omg I didn't know the bundle:watch trick, I was stopping/uninstalling/re-installing/re-starting all the time. This will save me a lot of dev

Re: Karaf Eclipse Integration; Is EIK dead?

2016-07-14 Thread Christian Schneider
Currently the recommended way is to use a maven or gradle build with the maven-bundle-plugin or bnd-maven-plugin. You then create a feature or custom distro during the build. In Eclipse you can use m2e to import your projects as maven projects. To debug you do: export KARAF_DEBUG=true