Re: [osgi-dev] Strange issue with enRoute and Aries SPI Fly.

2016-12-10 Thread Elliot Huntington
-- Original Message > From: Christian Schneider > Sent: Thursday, December 8, 2016 09:20 PM > To: OSGi Developer Mail List > Subject: Re: [osgi-dev] Strange issue with enRoute and Aries SPI Fly. > > I think the really problematic thing in Aries-spi is the client side.

Re: [osgi-dev] Strange issue with enRoute and Aries SPI Fly.

2016-12-09 Thread Peter Kriens
--- Original Message > From: Christian Schneider > Sent: Thursday, December 8, 2016 09:20 PM > To: OSGi Developer Mail List > Subject: Re: [osgi-dev] Strange issue with enRoute and Aries SPI Fly. > > I think the really problematic thing in Aries-spi is the client side.

Re: [osgi-dev] Strange issue with enRoute and Aries SPI Fly.

2016-12-08 Thread Daghan ACAY
chats. Original Message From: Christian Schneider Sent: Thursday, December 8, 2016 09:20 PM To: OSGi Developer Mail List Subject: Re: [osgi-dev] Strange issue with enRoute and Aries SPI Fly. I think the really problematic thing in Aries-spi is the client side. On the server side I

Re: [osgi-dev] Strange issue with enRoute and Aries SPI Fly.

2016-12-08 Thread Christian Schneider
I think the really problematic thing in Aries-spi is the client side. On the server side I think it makes sense to look into the bundles and provide the ServiceLoader services as OSGi services. On the client side it only works if Aries-spi does the weaving early enough. So I wonder if in many

Re: [osgi-dev] Strange issue with enRoute and Aries SPI Fly.

2016-12-08 Thread Peter Kriens
Runtime weaving is always one of the worst programming hacks in existence, I would avoid it like the plague at all costs. It looks so attractive but it causes so much unexpected pain. However, you probably can’t. So I guess the like problem is that your UI code gets loaded before the weaver is

Re: [osgi-dev] Strange issue with enRoute and Aries SPI Fly.

2016-12-07 Thread Elliot Huntington
Hi Peter, Yes, I also assume I am running the application without security. I have tested this two ways, one by running the enRoute application directly within Eclipse just as explained in the enRoute tutorials, and also by exporting the enRoute application as a stand alone executable jar file. In

Re: [osgi-dev] Strange issue with enRoute and Aries SPI Fly.

2016-12-06 Thread Peter Kriens
Since the system is all started up when you press play or use the gogo command this does not look like a start ordering problem. Nor is it a R/C problem because all is satisfied. The path from Gogo must therefore follow a different trajectory. The best way to find these things out is to single

Re: [osgi-dev] Strange issue with enRoute and Aries SPI Fly.

2016-12-05 Thread Elliot Huntington
@BJ Hargrave, Yes, I just tested rearranging the items listed in -runbundles to make sure the ones that should be loaded first are. The problem remains. @Raymond Auge, I'm having a hard time understanding your response. I think I generally understand what you're saying, but I don't know what to

Re: [osgi-dev] Strange issue with enRoute and Aries SPI Fly.

2016-12-05 Thread Raymond Auge
Properly configuring the SPI-Fly integration should result in a set of requirement and capabilities on the target bundles causing them to have a resolution time requirement which should force the weaving to affect them in the correct order. For instance, if you have API bundle X that requires bund

Re: [osgi-dev] Strange issue with enRoute and Aries SPI Fly.

2016-12-05 Thread BJ Hargrave
I am not aware of any support in -runbundles to set start levels for bundle. But the bnd launcher should start the bundle in the order they are specified on the -runbundles instruction. Did you try putting those bundles first that need to be started first?   --BJ HargraveSenior Technical Staff Memb