Hi David,

I did some more tests on the pi and came up with the attached results.

Paul



On 9/09/2015 9:04 AM, Paul F Fraser wrote:
Hi David,

In my case, playing with the start order on the pi is a bit messy and time 
consuming.
A check of start order of just the Aries subsystems bundles on my windows desktop indicates no problem with start order, even when including my own bundles.

I will create an issue if and when I can establish a cause of this problem.

Paul

On 8/09/2015 6:09 PM, David Bosschaert wrote:
Hi Paul,

Start order within a single start level is undefined. If you really
need a specific start order then you can use OSGi start levels to
achieve this, but it is generally better to avoid that if possible.

The Aries Subsystem bundles should not require a particular starting
order. Could you maybe create an Aries issue [1] for this? I guess
it's easy to reproduce by just installing the subsystem bundles and
then starting them in the 'wrong' order?

Thanks,

David

[1] https://issues.apache.org/jira/browse/ARIES

On 8 September 2015 at 07:27, Holly Cummins
<[email protected]> wrote:
Interesting, thanks for sharing the solution!

On 8 Sep 2015, at 05:53, Paul F Fraser <[email protected]> wrote:

Hi,

Seems that bundle start order is  important. Raspi scrambled the start order
of bundles.

Forcing start order to be the same as other devices caused raspi to create
the synthesized bundle.

Paul


On 7/09/2015 8:07 PM, Paul F Fraser wrote:

Hi,

Using subsystems on osx, linux and windows (laptops),the synthesized bundle
is created.

org.osgi.service.subsystem.region.context.0 (1.0.0)

On a raspberry pi (armhf) this is not created.

Can someone point me to the code I should be checking to see where the
problem could be.

Or is there any known reason why this might be so?

Regards

Paul Fraser





Felix Remote Shell Console:
============================

-> ps
START LEVEL 1
   ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (5.0.1)
[   1] [Active     ] [    1] Apache Felix Configuration Admin Service (1.8.6)
[   2] [Active     ] [    1] Apache Felix Shell Service (1.4.3)
[   3] [Active     ] [    1] Apache Felix Coordinator Service (1.0.0)
[   4] [Active     ] [    1] osgi.cmpn (5.0.0.201305092017)
[   5] [Resolved   ] [    1] slf4j-simple (1.7.12)
[   6] [Active     ] [    1] Region Digraph (1.1.0.v20120522-1841)
[   7] [Active     ] [    1] Apache Aries Subsystem Core (2.0.2)
[   8] [Active     ] [    1] slf4j-api (1.7.12)
[   9] [Active     ] [    1] Apache Felix Remote Shell (1.1.2)
[  10] [Active     ] [    1] Apache Aries Util (1.1.0)
[  11] [Active     ] [    1] Apache Aries Subsystem API (2.0.2)
-> exit
Good Bye!
Felix Remote Shell Console:
============================

-> ps
START LEVEL 1
   ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (5.0.1)
[   1] [Active     ] [    1] Apache Aries Subsystem API (2.0.2)
[   2] [Active     ] [    1] Apache Aries Subsystem Core (2.0.2)
[   3] [Active     ] [    1] Apache Aries Util (1.1.0)
[   4] [Active     ] [    1] Apache Felix Configuration Admin Service (1.8.6)
[   5] [Active     ] [    1] Apache Felix Coordinator Service (1.0.0)
[   6] [Active     ] [    1] Apache Felix Remote Shell (1.1.2)
[   7] [Active     ] [    1] Apache Felix Shell Service (1.4.3)
[   8] [Active     ] [    1] Region Digraph (1.1.0.v20120522-1841)
[   9] [Active     ] [    1] osgi.cmpn (5.0.0.201305092017)
[  10] [Active     ] [    1] slf4j-api (1.7.12)
[  11] [Resolved   ] [    1] slf4j-simple (1.7.12)
[  12] [Active     ] [    1] org.osgi.service.subsystem.region.context.0 (1.0.0)
-> exit
Good Bye!

Reply via email to