You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by David Bosschaert <da...@gmail.com> on 2009/05/28 16:30:03 UTC
felix.auto.start behaviour changed between 1.4.1 and 1.6.1
Hi,
In Felix 1.4.1 I often used felix.auto.start configuration to
automatically load my configuration. For this I would change my
conf/config.properties file like this:
org.osgi.framework.startlevel=32
felix.auto.start.2=http://www.apache.org/dist/felix/org.osgi.compendium-1.2.0.jar
felix.auto.start.3=file:/...
... loads of these ...
felix.auto.start.32=file:/...
This worked fine in 1.4.1, but for some reason it has stopped working
in 1.6.1 and 1.8.0. When I use this in 1.6.1/1.8.0 the bundles listed
get installed, as below. But none of them are started and if I try to
start any of them nothing happens. They remain in the 'resolved' or
'installed' state.
If I run the install / start commands by hand from the console it does
seem to work.
Anyone an idea? Is this a new bug? Is there another way to preload the
container with my bundles?
Thanks,
David
--- LOG:
-> ps
START LEVEL 1
ID State Level Name
[ 0] [Active ] [ 0] System Bundle (1.6.1)
[ 1] [Installed ] [ 21] Apache ServiceMix Bundles: xmlschema-1.4.3 (1.4.3.1
)
[ 2] [Installed ] [ 20] Apache ServiceMix Bundles: xmlsec-1.3.0 (1.3.0.1)
[ 3] [Installed ] [ 19] Apache ServiceMix Bundles: wsdl4j-1.6.1 (1.6.1.1)
[ 4] [Installed ] [ 18] Apache ServiceMix Bundles: jaxb-impl-2.1.6 (2.1.6.1
)
[ 5] [Installed ] [ 17] OPS4J Pax Web - Service (0.5.1)
[ 6] [Installed ] [ 16] spring-osgi-extender (1.2.0)
[ 7] [Installed ] [ 15] spring-osgi-core (1.2.0)
[ 8] [Installed ] [ 14] spring-osgi-io (1.2.0)
[ 9] [Installed ] [ 13] Spring AOP (2.5.6)
[ 10] [Installed ] [ 12] AOP Alliance API (1.0.0)
[ 11] [Installed ] [ 11] Spring Context (2.5.6)
[ 12] [Installed ] [ 10] Spring Beans (2.5.6)
[ 13] [Installed ] [ 32] CXF Distributed Software Bundle (1.1.0.SNAPSHOT)
[ 14] [Installed ] [ 31] CXF Local Discovery Service Bundle (1.1.0.SNAPSHOT)
[ 15] [Installed ] [ 30] Apache ServiceMix Specs :: JAXWS API 2.1 (1.1.1)
[ 16] [Installed ] [ 9] Spring Core (2.5.6)
[ 17] [Installed ] [ 8] JDOM DOM Processor (1.0.0)
[ 18] [Installed ] [ 7] Apache Commons Logging (1.1.1)
[ 19] [Installed ] [ 6] geronimo-ws-metadata_2.0_spec (1.1.2)
[ 20] [Installed ] [ 5] geronimo-javamail_1.4_spec (1.2)
[ 21] [Installed ] [ 4] geronimo-activation_1.1_spec (1.0.2)
[ 22] [Installed ] [ 3] geronimo-annotation_1.0_spec (1.1.1)
[ 23] [Resolved ] [ 2] OSGi R4 Compendium Bundle (4.1.0)
[ 24] [Active ] [ 1] Apache Felix Shell Service (1.2.0)
[ 25] [Active ] [ 1] Apache Felix Shell TUI (1.2.0)
[ 26] [Active ] [ 1] Apache Felix Bundle Repository (1.4.0)
[ 27] [Installed ] [ 29] Apache ServiceMix Specs :: JAXB API 2.1 (1.1.1)
[ 28] [Installed ] [ 28] Apache ServiceMix Specs :: STAX API 1.0 (1.1.1)
[ 29] [Installed ] [ 27] Apache ServiceMix Specs :: SAAJ API 1.3 (1.1.1)
[ 30] [Installed ] [ 26] Apache CXF Minimal Bundle Jar (2.2.1)
[ 31] [Installed ] [ 25] Apache ServiceMix Bundles: woodstox-3.2.7 (3.2.7.1)
[ 32] [Installed ] [ 24] Apache ServiceMix Bundles: neethi-2.0.4 (2.0.4.1)
[ 33] [Installed ] [ 23] Apache ServiceMix Bundles: xmlresolver-1.2 (1.2.0.1
)
[ 34] [Installed ] [ 22] Apache ServiceMix Bundles: asm-2.2.3 (2.2.3.1)
-> start 23
-> ps
START LEVEL 1
ID State Level Name
...
[ 23] [Resolved ] [ 2] OSGi R4 Compendium Bundle (4.1.0)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: felix.auto.start behaviour changed between 1.4.1 and 1.6.1
Posted by David Bosschaert <da...@gmail.com>.
Done: FELIX-1198
David
2009/6/3 Richard S. Hall <he...@ungoverned.org>:
> Yes, it should. Could you please open an issue for that? Thanks.
>
> -> richard
>
> On 6/3/09 2:20 AM, David Bosschaert wrote:
>>
>> Just noticed that the config.properties that ships with the 1.8.0
>> distro still refers to the old startlevel property:
>>
>> # Sets the initial start level of the framework upon startup.
>> #org.osgi.framework.startlevel=1
>>
>> I guess this should really say
>> # Sets the initial start level of the framework upon startup.
>> #org.osgi.framework.startlevel.beginning=1
>>
>> right?
>>
>> Cheers,
>>
>> David
>>
>> 2009/5/28 David Bosschaert<da...@gmail.com>:
>>
>>>
>>> Thanks Richard, that worked!
>>>
>>> David
>>>
>>> 2009/5/28 Richard S. Hall<he...@ungoverned.org>:
>>>
>>>>
>>>> The property was renamed in the R4.2 spec to:
>>>>
>>>> org.osgi.framework.startlevel.beginning
>>>>
>>>> -> richard
>>>>
>>>> On 5/28/09 10:30 AM, David Bosschaert wrote:
>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> In Felix 1.4.1 I often used felix.auto.start configuration to
>>>>> automatically load my configuration. For this I would change my
>>>>> conf/config.properties file like this:
>>>>>
>>>>> org.osgi.framework.startlevel=32
>>>>>
>>>>>
>>>>> felix.auto.start.2=http://www.apache.org/dist/felix/org.osgi.compendium-1.2.0.jar
>>>>> felix.auto.start.3=file:/...
>>>>> ... loads of these ...
>>>>> felix.auto.start.32=file:/...
>>>>>
>>>>> This worked fine in 1.4.1, but for some reason it has stopped working
>>>>> in 1.6.1 and 1.8.0. When I use this in 1.6.1/1.8.0 the bundles listed
>>>>> get installed, as below. But none of them are started and if I try to
>>>>> start any of them nothing happens. They remain in the 'resolved' or
>>>>> 'installed' state.
>>>>>
>>>>> If I run the install / start commands by hand from the console it does
>>>>> seem to work.
>>>>>
>>>>> Anyone an idea? Is this a new bug? Is there another way to preload the
>>>>> container with my bundles?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> David
>>>>>
>>>>> --- LOG:
>>>>> -> ps
>>>>> START LEVEL 1
>>>>> ID State Level Name
>>>>> [ 0] [Active ] [ 0] System Bundle (1.6.1)
>>>>> [ 1] [Installed ] [ 21] Apache ServiceMix Bundles: xmlschema-1.4.3
>>>>> (1.4.3.1
>>>>> )
>>>>> [ 2] [Installed ] [ 20] Apache ServiceMix Bundles: xmlsec-1.3.0
>>>>> (1.3.0.1)
>>>>> [ 3] [Installed ] [ 19] Apache ServiceMix Bundles: wsdl4j-1.6.1
>>>>> (1.6.1.1)
>>>>> [ 4] [Installed ] [ 18] Apache ServiceMix Bundles: jaxb-impl-2.1.6
>>>>> (2.1.6.1
>>>>> )
>>>>> [ 5] [Installed ] [ 17] OPS4J Pax Web - Service (0.5.1)
>>>>> [ 6] [Installed ] [ 16] spring-osgi-extender (1.2.0)
>>>>> [ 7] [Installed ] [ 15] spring-osgi-core (1.2.0)
>>>>> [ 8] [Installed ] [ 14] spring-osgi-io (1.2.0)
>>>>> [ 9] [Installed ] [ 13] Spring AOP (2.5.6)
>>>>> [ 10] [Installed ] [ 12] AOP Alliance API (1.0.0)
>>>>> [ 11] [Installed ] [ 11] Spring Context (2.5.6)
>>>>> [ 12] [Installed ] [ 10] Spring Beans (2.5.6)
>>>>> [ 13] [Installed ] [ 32] CXF Distributed Software Bundle
>>>>> (1.1.0.SNAPSHOT)
>>>>> [ 14] [Installed ] [ 31] CXF Local Discovery Service Bundle
>>>>> (1.1.0.SNAPSHOT)
>>>>>
>>>>> [ 15] [Installed ] [ 30] Apache ServiceMix Specs :: JAXWS API 2.1
>>>>> (1.1.1)
>>>>> [ 16] [Installed ] [ 9] Spring Core (2.5.6)
>>>>> [ 17] [Installed ] [ 8] JDOM DOM Processor (1.0.0)
>>>>> [ 18] [Installed ] [ 7] Apache Commons Logging (1.1.1)
>>>>> [ 19] [Installed ] [ 6] geronimo-ws-metadata_2.0_spec (1.1.2)
>>>>> [ 20] [Installed ] [ 5] geronimo-javamail_1.4_spec (1.2)
>>>>> [ 21] [Installed ] [ 4] geronimo-activation_1.1_spec (1.0.2)
>>>>> [ 22] [Installed ] [ 3] geronimo-annotation_1.0_spec (1.1.1)
>>>>> [ 23] [Resolved ] [ 2] OSGi R4 Compendium Bundle (4.1.0)
>>>>> [ 24] [Active ] [ 1] Apache Felix Shell Service (1.2.0)
>>>>> [ 25] [Active ] [ 1] Apache Felix Shell TUI (1.2.0)
>>>>> [ 26] [Active ] [ 1] Apache Felix Bundle Repository (1.4.0)
>>>>> [ 27] [Installed ] [ 29] Apache ServiceMix Specs :: JAXB API 2.1
>>>>> (1.1.1)
>>>>> [ 28] [Installed ] [ 28] Apache ServiceMix Specs :: STAX API 1.0
>>>>> (1.1.1)
>>>>> [ 29] [Installed ] [ 27] Apache ServiceMix Specs :: SAAJ API 1.3
>>>>> (1.1.1)
>>>>> [ 30] [Installed ] [ 26] Apache CXF Minimal Bundle Jar (2.2.1)
>>>>> [ 31] [Installed ] [ 25] Apache ServiceMix Bundles: woodstox-3.2.7
>>>>> (3.2.7.1)
>>>>>
>>>>> [ 32] [Installed ] [ 24] Apache ServiceMix Bundles: neethi-2.0.4
>>>>> (2.0.4.1)
>>>>> [ 33] [Installed ] [ 23] Apache ServiceMix Bundles: xmlresolver-1.2
>>>>> (1.2.0.1
>>>>> )
>>>>> [ 34] [Installed ] [ 22] Apache ServiceMix Bundles: asm-2.2.3
>>>>> (2.2.3.1)
>>>>>
>>>>> -> start 23
>>>>> -> ps
>>>>> START LEVEL 1
>>>>> ID State Level Name
>>>>> ...
>>>>> [ 23] [Resolved ] [ 2] OSGi R4 Compendium Bundle (4.1.0)
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>>
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: felix.auto.start behaviour changed between 1.4.1 and 1.6.1
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Yes, it should. Could you please open an issue for that? Thanks.
-> richard
On 6/3/09 2:20 AM, David Bosschaert wrote:
> Just noticed that the config.properties that ships with the 1.8.0
> distro still refers to the old startlevel property:
>
> # Sets the initial start level of the framework upon startup.
> #org.osgi.framework.startlevel=1
>
> I guess this should really say
> # Sets the initial start level of the framework upon startup.
> #org.osgi.framework.startlevel.beginning=1
>
> right?
>
> Cheers,
>
> David
>
> 2009/5/28 David Bosschaert<da...@gmail.com>:
>
>> Thanks Richard, that worked!
>>
>> David
>>
>> 2009/5/28 Richard S. Hall<he...@ungoverned.org>:
>>
>>> The property was renamed in the R4.2 spec to:
>>>
>>> org.osgi.framework.startlevel.beginning
>>>
>>> -> richard
>>>
>>> On 5/28/09 10:30 AM, David Bosschaert wrote:
>>>
>>>> Hi,
>>>>
>>>> In Felix 1.4.1 I often used felix.auto.start configuration to
>>>> automatically load my configuration. For this I would change my
>>>> conf/config.properties file like this:
>>>>
>>>> org.osgi.framework.startlevel=32
>>>>
>>>> felix.auto.start.2=http://www.apache.org/dist/felix/org.osgi.compendium-1.2.0.jar
>>>> felix.auto.start.3=file:/...
>>>> ... loads of these ...
>>>> felix.auto.start.32=file:/...
>>>>
>>>> This worked fine in 1.4.1, but for some reason it has stopped working
>>>> in 1.6.1 and 1.8.0. When I use this in 1.6.1/1.8.0 the bundles listed
>>>> get installed, as below. But none of them are started and if I try to
>>>> start any of them nothing happens. They remain in the 'resolved' or
>>>> 'installed' state.
>>>>
>>>> If I run the install / start commands by hand from the console it does
>>>> seem to work.
>>>>
>>>> Anyone an idea? Is this a new bug? Is there another way to preload the
>>>> container with my bundles?
>>>>
>>>> Thanks,
>>>>
>>>> David
>>>>
>>>> --- LOG:
>>>> -> ps
>>>> START LEVEL 1
>>>> ID State Level Name
>>>> [ 0] [Active ] [ 0] System Bundle (1.6.1)
>>>> [ 1] [Installed ] [ 21] Apache ServiceMix Bundles: xmlschema-1.4.3
>>>> (1.4.3.1
>>>> )
>>>> [ 2] [Installed ] [ 20] Apache ServiceMix Bundles: xmlsec-1.3.0
>>>> (1.3.0.1)
>>>> [ 3] [Installed ] [ 19] Apache ServiceMix Bundles: wsdl4j-1.6.1
>>>> (1.6.1.1)
>>>> [ 4] [Installed ] [ 18] Apache ServiceMix Bundles: jaxb-impl-2.1.6
>>>> (2.1.6.1
>>>> )
>>>> [ 5] [Installed ] [ 17] OPS4J Pax Web - Service (0.5.1)
>>>> [ 6] [Installed ] [ 16] spring-osgi-extender (1.2.0)
>>>> [ 7] [Installed ] [ 15] spring-osgi-core (1.2.0)
>>>> [ 8] [Installed ] [ 14] spring-osgi-io (1.2.0)
>>>> [ 9] [Installed ] [ 13] Spring AOP (2.5.6)
>>>> [ 10] [Installed ] [ 12] AOP Alliance API (1.0.0)
>>>> [ 11] [Installed ] [ 11] Spring Context (2.5.6)
>>>> [ 12] [Installed ] [ 10] Spring Beans (2.5.6)
>>>> [ 13] [Installed ] [ 32] CXF Distributed Software Bundle
>>>> (1.1.0.SNAPSHOT)
>>>> [ 14] [Installed ] [ 31] CXF Local Discovery Service Bundle
>>>> (1.1.0.SNAPSHOT)
>>>>
>>>> [ 15] [Installed ] [ 30] Apache ServiceMix Specs :: JAXWS API 2.1
>>>> (1.1.1)
>>>> [ 16] [Installed ] [ 9] Spring Core (2.5.6)
>>>> [ 17] [Installed ] [ 8] JDOM DOM Processor (1.0.0)
>>>> [ 18] [Installed ] [ 7] Apache Commons Logging (1.1.1)
>>>> [ 19] [Installed ] [ 6] geronimo-ws-metadata_2.0_spec (1.1.2)
>>>> [ 20] [Installed ] [ 5] geronimo-javamail_1.4_spec (1.2)
>>>> [ 21] [Installed ] [ 4] geronimo-activation_1.1_spec (1.0.2)
>>>> [ 22] [Installed ] [ 3] geronimo-annotation_1.0_spec (1.1.1)
>>>> [ 23] [Resolved ] [ 2] OSGi R4 Compendium Bundle (4.1.0)
>>>> [ 24] [Active ] [ 1] Apache Felix Shell Service (1.2.0)
>>>> [ 25] [Active ] [ 1] Apache Felix Shell TUI (1.2.0)
>>>> [ 26] [Active ] [ 1] Apache Felix Bundle Repository (1.4.0)
>>>> [ 27] [Installed ] [ 29] Apache ServiceMix Specs :: JAXB API 2.1
>>>> (1.1.1)
>>>> [ 28] [Installed ] [ 28] Apache ServiceMix Specs :: STAX API 1.0
>>>> (1.1.1)
>>>> [ 29] [Installed ] [ 27] Apache ServiceMix Specs :: SAAJ API 1.3
>>>> (1.1.1)
>>>> [ 30] [Installed ] [ 26] Apache CXF Minimal Bundle Jar (2.2.1)
>>>> [ 31] [Installed ] [ 25] Apache ServiceMix Bundles: woodstox-3.2.7
>>>> (3.2.7.1)
>>>>
>>>> [ 32] [Installed ] [ 24] Apache ServiceMix Bundles: neethi-2.0.4
>>>> (2.0.4.1)
>>>> [ 33] [Installed ] [ 23] Apache ServiceMix Bundles: xmlresolver-1.2
>>>> (1.2.0.1
>>>> )
>>>> [ 34] [Installed ] [ 22] Apache ServiceMix Bundles: asm-2.2.3
>>>> (2.2.3.1)
>>>>
>>>> -> start 23
>>>> -> ps
>>>> START LEVEL 1
>>>> ID State Level Name
>>>> ...
>>>> [ 23] [Resolved ] [ 2] OSGi R4 Compendium Bundle (4.1.0)
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
Re: felix.auto.start behaviour changed between 1.4.1 and 1.6.1
Posted by David Bosschaert <da...@gmail.com>.
Just noticed that the config.properties that ships with the 1.8.0
distro still refers to the old startlevel property:
# Sets the initial start level of the framework upon startup.
#org.osgi.framework.startlevel=1
I guess this should really say
# Sets the initial start level of the framework upon startup.
#org.osgi.framework.startlevel.beginning=1
right?
Cheers,
David
2009/5/28 David Bosschaert <da...@gmail.com>:
> Thanks Richard, that worked!
>
> David
>
> 2009/5/28 Richard S. Hall <he...@ungoverned.org>:
>> The property was renamed in the R4.2 spec to:
>>
>> org.osgi.framework.startlevel.beginning
>>
>> -> richard
>>
>> On 5/28/09 10:30 AM, David Bosschaert wrote:
>>>
>>> Hi,
>>>
>>> In Felix 1.4.1 I often used felix.auto.start configuration to
>>> automatically load my configuration. For this I would change my
>>> conf/config.properties file like this:
>>>
>>> org.osgi.framework.startlevel=32
>>>
>>> felix.auto.start.2=http://www.apache.org/dist/felix/org.osgi.compendium-1.2.0.jar
>>> felix.auto.start.3=file:/...
>>> ... loads of these ...
>>> felix.auto.start.32=file:/...
>>>
>>> This worked fine in 1.4.1, but for some reason it has stopped working
>>> in 1.6.1 and 1.8.0. When I use this in 1.6.1/1.8.0 the bundles listed
>>> get installed, as below. But none of them are started and if I try to
>>> start any of them nothing happens. They remain in the 'resolved' or
>>> 'installed' state.
>>>
>>> If I run the install / start commands by hand from the console it does
>>> seem to work.
>>>
>>> Anyone an idea? Is this a new bug? Is there another way to preload the
>>> container with my bundles?
>>>
>>> Thanks,
>>>
>>> David
>>>
>>> --- LOG:
>>> -> ps
>>> START LEVEL 1
>>> ID State Level Name
>>> [ 0] [Active ] [ 0] System Bundle (1.6.1)
>>> [ 1] [Installed ] [ 21] Apache ServiceMix Bundles: xmlschema-1.4.3
>>> (1.4.3.1
>>> )
>>> [ 2] [Installed ] [ 20] Apache ServiceMix Bundles: xmlsec-1.3.0
>>> (1.3.0.1)
>>> [ 3] [Installed ] [ 19] Apache ServiceMix Bundles: wsdl4j-1.6.1
>>> (1.6.1.1)
>>> [ 4] [Installed ] [ 18] Apache ServiceMix Bundles: jaxb-impl-2.1.6
>>> (2.1.6.1
>>> )
>>> [ 5] [Installed ] [ 17] OPS4J Pax Web - Service (0.5.1)
>>> [ 6] [Installed ] [ 16] spring-osgi-extender (1.2.0)
>>> [ 7] [Installed ] [ 15] spring-osgi-core (1.2.0)
>>> [ 8] [Installed ] [ 14] spring-osgi-io (1.2.0)
>>> [ 9] [Installed ] [ 13] Spring AOP (2.5.6)
>>> [ 10] [Installed ] [ 12] AOP Alliance API (1.0.0)
>>> [ 11] [Installed ] [ 11] Spring Context (2.5.6)
>>> [ 12] [Installed ] [ 10] Spring Beans (2.5.6)
>>> [ 13] [Installed ] [ 32] CXF Distributed Software Bundle
>>> (1.1.0.SNAPSHOT)
>>> [ 14] [Installed ] [ 31] CXF Local Discovery Service Bundle
>>> (1.1.0.SNAPSHOT)
>>>
>>> [ 15] [Installed ] [ 30] Apache ServiceMix Specs :: JAXWS API 2.1
>>> (1.1.1)
>>> [ 16] [Installed ] [ 9] Spring Core (2.5.6)
>>> [ 17] [Installed ] [ 8] JDOM DOM Processor (1.0.0)
>>> [ 18] [Installed ] [ 7] Apache Commons Logging (1.1.1)
>>> [ 19] [Installed ] [ 6] geronimo-ws-metadata_2.0_spec (1.1.2)
>>> [ 20] [Installed ] [ 5] geronimo-javamail_1.4_spec (1.2)
>>> [ 21] [Installed ] [ 4] geronimo-activation_1.1_spec (1.0.2)
>>> [ 22] [Installed ] [ 3] geronimo-annotation_1.0_spec (1.1.1)
>>> [ 23] [Resolved ] [ 2] OSGi R4 Compendium Bundle (4.1.0)
>>> [ 24] [Active ] [ 1] Apache Felix Shell Service (1.2.0)
>>> [ 25] [Active ] [ 1] Apache Felix Shell TUI (1.2.0)
>>> [ 26] [Active ] [ 1] Apache Felix Bundle Repository (1.4.0)
>>> [ 27] [Installed ] [ 29] Apache ServiceMix Specs :: JAXB API 2.1
>>> (1.1.1)
>>> [ 28] [Installed ] [ 28] Apache ServiceMix Specs :: STAX API 1.0
>>> (1.1.1)
>>> [ 29] [Installed ] [ 27] Apache ServiceMix Specs :: SAAJ API 1.3
>>> (1.1.1)
>>> [ 30] [Installed ] [ 26] Apache CXF Minimal Bundle Jar (2.2.1)
>>> [ 31] [Installed ] [ 25] Apache ServiceMix Bundles: woodstox-3.2.7
>>> (3.2.7.1)
>>>
>>> [ 32] [Installed ] [ 24] Apache ServiceMix Bundles: neethi-2.0.4
>>> (2.0.4.1)
>>> [ 33] [Installed ] [ 23] Apache ServiceMix Bundles: xmlresolver-1.2
>>> (1.2.0.1
>>> )
>>> [ 34] [Installed ] [ 22] Apache ServiceMix Bundles: asm-2.2.3
>>> (2.2.3.1)
>>>
>>> -> start 23
>>> -> ps
>>> START LEVEL 1
>>> ID State Level Name
>>> ...
>>> [ 23] [Resolved ] [ 2] OSGi R4 Compendium Bundle (4.1.0)
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: felix.auto.start behaviour changed between 1.4.1 and 1.6.1
Posted by David Bosschaert <da...@gmail.com>.
Thanks Richard, that worked!
David
2009/5/28 Richard S. Hall <he...@ungoverned.org>:
> The property was renamed in the R4.2 spec to:
>
> org.osgi.framework.startlevel.beginning
>
> -> richard
>
> On 5/28/09 10:30 AM, David Bosschaert wrote:
>>
>> Hi,
>>
>> In Felix 1.4.1 I often used felix.auto.start configuration to
>> automatically load my configuration. For this I would change my
>> conf/config.properties file like this:
>>
>> org.osgi.framework.startlevel=32
>>
>> felix.auto.start.2=http://www.apache.org/dist/felix/org.osgi.compendium-1.2.0.jar
>> felix.auto.start.3=file:/...
>> ... loads of these ...
>> felix.auto.start.32=file:/...
>>
>> This worked fine in 1.4.1, but for some reason it has stopped working
>> in 1.6.1 and 1.8.0. When I use this in 1.6.1/1.8.0 the bundles listed
>> get installed, as below. But none of them are started and if I try to
>> start any of them nothing happens. They remain in the 'resolved' or
>> 'installed' state.
>>
>> If I run the install / start commands by hand from the console it does
>> seem to work.
>>
>> Anyone an idea? Is this a new bug? Is there another way to preload the
>> container with my bundles?
>>
>> Thanks,
>>
>> David
>>
>> --- LOG:
>> -> ps
>> START LEVEL 1
>> ID State Level Name
>> [ 0] [Active ] [ 0] System Bundle (1.6.1)
>> [ 1] [Installed ] [ 21] Apache ServiceMix Bundles: xmlschema-1.4.3
>> (1.4.3.1
>> )
>> [ 2] [Installed ] [ 20] Apache ServiceMix Bundles: xmlsec-1.3.0
>> (1.3.0.1)
>> [ 3] [Installed ] [ 19] Apache ServiceMix Bundles: wsdl4j-1.6.1
>> (1.6.1.1)
>> [ 4] [Installed ] [ 18] Apache ServiceMix Bundles: jaxb-impl-2.1.6
>> (2.1.6.1
>> )
>> [ 5] [Installed ] [ 17] OPS4J Pax Web - Service (0.5.1)
>> [ 6] [Installed ] [ 16] spring-osgi-extender (1.2.0)
>> [ 7] [Installed ] [ 15] spring-osgi-core (1.2.0)
>> [ 8] [Installed ] [ 14] spring-osgi-io (1.2.0)
>> [ 9] [Installed ] [ 13] Spring AOP (2.5.6)
>> [ 10] [Installed ] [ 12] AOP Alliance API (1.0.0)
>> [ 11] [Installed ] [ 11] Spring Context (2.5.6)
>> [ 12] [Installed ] [ 10] Spring Beans (2.5.6)
>> [ 13] [Installed ] [ 32] CXF Distributed Software Bundle
>> (1.1.0.SNAPSHOT)
>> [ 14] [Installed ] [ 31] CXF Local Discovery Service Bundle
>> (1.1.0.SNAPSHOT)
>>
>> [ 15] [Installed ] [ 30] Apache ServiceMix Specs :: JAXWS API 2.1
>> (1.1.1)
>> [ 16] [Installed ] [ 9] Spring Core (2.5.6)
>> [ 17] [Installed ] [ 8] JDOM DOM Processor (1.0.0)
>> [ 18] [Installed ] [ 7] Apache Commons Logging (1.1.1)
>> [ 19] [Installed ] [ 6] geronimo-ws-metadata_2.0_spec (1.1.2)
>> [ 20] [Installed ] [ 5] geronimo-javamail_1.4_spec (1.2)
>> [ 21] [Installed ] [ 4] geronimo-activation_1.1_spec (1.0.2)
>> [ 22] [Installed ] [ 3] geronimo-annotation_1.0_spec (1.1.1)
>> [ 23] [Resolved ] [ 2] OSGi R4 Compendium Bundle (4.1.0)
>> [ 24] [Active ] [ 1] Apache Felix Shell Service (1.2.0)
>> [ 25] [Active ] [ 1] Apache Felix Shell TUI (1.2.0)
>> [ 26] [Active ] [ 1] Apache Felix Bundle Repository (1.4.0)
>> [ 27] [Installed ] [ 29] Apache ServiceMix Specs :: JAXB API 2.1
>> (1.1.1)
>> [ 28] [Installed ] [ 28] Apache ServiceMix Specs :: STAX API 1.0
>> (1.1.1)
>> [ 29] [Installed ] [ 27] Apache ServiceMix Specs :: SAAJ API 1.3
>> (1.1.1)
>> [ 30] [Installed ] [ 26] Apache CXF Minimal Bundle Jar (2.2.1)
>> [ 31] [Installed ] [ 25] Apache ServiceMix Bundles: woodstox-3.2.7
>> (3.2.7.1)
>>
>> [ 32] [Installed ] [ 24] Apache ServiceMix Bundles: neethi-2.0.4
>> (2.0.4.1)
>> [ 33] [Installed ] [ 23] Apache ServiceMix Bundles: xmlresolver-1.2
>> (1.2.0.1
>> )
>> [ 34] [Installed ] [ 22] Apache ServiceMix Bundles: asm-2.2.3
>> (2.2.3.1)
>>
>> -> start 23
>> -> ps
>> START LEVEL 1
>> ID State Level Name
>> ...
>> [ 23] [Resolved ] [ 2] OSGi R4 Compendium Bundle (4.1.0)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: felix.auto.start behaviour changed between 1.4.1 and 1.6.1
Posted by "Richard S. Hall" <he...@ungoverned.org>.
The property was renamed in the R4.2 spec to:
org.osgi.framework.startlevel.beginning
-> richard
On 5/28/09 10:30 AM, David Bosschaert wrote:
> Hi,
>
> In Felix 1.4.1 I often used felix.auto.start configuration to
> automatically load my configuration. For this I would change my
> conf/config.properties file like this:
>
> org.osgi.framework.startlevel=32
> felix.auto.start.2=http://www.apache.org/dist/felix/org.osgi.compendium-1.2.0.jar
> felix.auto.start.3=file:/...
> ... loads of these ...
> felix.auto.start.32=file:/...
>
> This worked fine in 1.4.1, but for some reason it has stopped working
> in 1.6.1 and 1.8.0. When I use this in 1.6.1/1.8.0 the bundles listed
> get installed, as below. But none of them are started and if I try to
> start any of them nothing happens. They remain in the 'resolved' or
> 'installed' state.
>
> If I run the install / start commands by hand from the console it does
> seem to work.
>
> Anyone an idea? Is this a new bug? Is there another way to preload the
> container with my bundles?
>
> Thanks,
>
> David
>
> --- LOG:
> -> ps
> START LEVEL 1
> ID State Level Name
> [ 0] [Active ] [ 0] System Bundle (1.6.1)
> [ 1] [Installed ] [ 21] Apache ServiceMix Bundles: xmlschema-1.4.3 (1.4.3.1
> )
> [ 2] [Installed ] [ 20] Apache ServiceMix Bundles: xmlsec-1.3.0 (1.3.0.1)
> [ 3] [Installed ] [ 19] Apache ServiceMix Bundles: wsdl4j-1.6.1 (1.6.1.1)
> [ 4] [Installed ] [ 18] Apache ServiceMix Bundles: jaxb-impl-2.1.6 (2.1.6.1
> )
> [ 5] [Installed ] [ 17] OPS4J Pax Web - Service (0.5.1)
> [ 6] [Installed ] [ 16] spring-osgi-extender (1.2.0)
> [ 7] [Installed ] [ 15] spring-osgi-core (1.2.0)
> [ 8] [Installed ] [ 14] spring-osgi-io (1.2.0)
> [ 9] [Installed ] [ 13] Spring AOP (2.5.6)
> [ 10] [Installed ] [ 12] AOP Alliance API (1.0.0)
> [ 11] [Installed ] [ 11] Spring Context (2.5.6)
> [ 12] [Installed ] [ 10] Spring Beans (2.5.6)
> [ 13] [Installed ] [ 32] CXF Distributed Software Bundle (1.1.0.SNAPSHOT)
> [ 14] [Installed ] [ 31] CXF Local Discovery Service Bundle (1.1.0.SNAPSHOT)
>
> [ 15] [Installed ] [ 30] Apache ServiceMix Specs :: JAXWS API 2.1 (1.1.1)
> [ 16] [Installed ] [ 9] Spring Core (2.5.6)
> [ 17] [Installed ] [ 8] JDOM DOM Processor (1.0.0)
> [ 18] [Installed ] [ 7] Apache Commons Logging (1.1.1)
> [ 19] [Installed ] [ 6] geronimo-ws-metadata_2.0_spec (1.1.2)
> [ 20] [Installed ] [ 5] geronimo-javamail_1.4_spec (1.2)
> [ 21] [Installed ] [ 4] geronimo-activation_1.1_spec (1.0.2)
> [ 22] [Installed ] [ 3] geronimo-annotation_1.0_spec (1.1.1)
> [ 23] [Resolved ] [ 2] OSGi R4 Compendium Bundle (4.1.0)
> [ 24] [Active ] [ 1] Apache Felix Shell Service (1.2.0)
> [ 25] [Active ] [ 1] Apache Felix Shell TUI (1.2.0)
> [ 26] [Active ] [ 1] Apache Felix Bundle Repository (1.4.0)
> [ 27] [Installed ] [ 29] Apache ServiceMix Specs :: JAXB API 2.1 (1.1.1)
> [ 28] [Installed ] [ 28] Apache ServiceMix Specs :: STAX API 1.0 (1.1.1)
> [ 29] [Installed ] [ 27] Apache ServiceMix Specs :: SAAJ API 1.3 (1.1.1)
> [ 30] [Installed ] [ 26] Apache CXF Minimal Bundle Jar (2.2.1)
> [ 31] [Installed ] [ 25] Apache ServiceMix Bundles: woodstox-3.2.7 (3.2.7.1)
>
> [ 32] [Installed ] [ 24] Apache ServiceMix Bundles: neethi-2.0.4 (2.0.4.1)
> [ 33] [Installed ] [ 23] Apache ServiceMix Bundles: xmlresolver-1.2 (1.2.0.1
> )
> [ 34] [Installed ] [ 22] Apache ServiceMix Bundles: asm-2.2.3 (2.2.3.1)
>
> -> start 23
> -> ps
> START LEVEL 1
> ID State Level Name
> ...
> [ 23] [Resolved ] [ 2] OSGi R4 Compendium Bundle (4.1.0)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org