You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Guo Du <mr...@gmail.com> on 2010/02/08 22:57:18 UTC

Re: [jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host

On Fri, Jan 22, 2010 at 8:16 PM, Richard S. Hall (JIRA) <ji...@apache.org> wrote:
> I have committed a patch that attempts to implement version range intersection calculation for more flexibility when merging fragments into hosts. Could someone test to see if this works. I deployed a new snapshot or you can build from trunk. Thanks.
>

The fragment seems doesn't doesn't work in 2.0.3 release candidate.

I dropped org.apache.felix.framework-2.0.3.jar coming from
https://repository.apache.org/content/repositories/orgapachefelix-001/
 to replace org.apache.felix.framework-2.0.0.jar which is working
before.

My local system is a complicated, hope can digg out more information
and post later.

-Guo

Re: [jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host

Posted by Guo Du <mr...@gmail.com>.
On Tue, Feb 9, 2010 at 1:11 AM, Richard S. Hall <he...@ungoverned.org> wrote:
> Is this something you can zip up and give me a link to it? If the bundles in
> question are not too big, then you can email it to me privately as well.
> Please tell me the steps to reproduce. Thanks.
>
Hi, richard

Thanks to follow the problem.

Due to legal concern, I cannot post the bundles to you. I will try to
reproduce the problem with simple bundle header later today and post
to the list.

-Guo

Re: [jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host

Posted by "Richard S. Hall" <he...@ungoverned.org>.
Thanks. I will look into this and get back to you.

-> richard

On 2/9/10 3:17 PM, Guo Du wrote:
> On Tue, Feb 9, 2010 at 1:11 AM, Richard S. Hall<he...@ungoverned.org>  wrote:
>    
>> Is this something you can zip up and give me a link to it? If the bundles in
>> question are not too big, then you can email it to me privately as well.
>> Please tell me the steps to reproduce. Thanks.
>>      
> Hi Richard,
>
> I reproduce the problem with two simple bundles. Attachment is the test bundles.
>
> The test case export a package org.bug.api and import by itself.
>
> Fail silently When the host Bundle-SymbolicName=org.bug.api
> Success When the host Bundle-SymbolicName=org.bug.apix
>
> It may caused the name used as key for maps.
>
>
> ====================================================================
> FAILURE
> ====================================================================
> ->  install file:/tmp/fail/bug.bundle.fragment-0.0.1-SNAPSHOT.jar
> Bundle ID: 3
> ->  install file:/tmp/fail/bug.bundle.host-0.0.1-SNAPSHOT.jar
> Bundle ID: 4
> ->  start 4
> ->  ps
> [   3] [Installed  ] [    1] Unnamed -
> org.bug:bug.bundle.fragment:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)
> [   4] [Active     ] [    1] Unnamed -
> org.bug:bug.bundle.host:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)
>
>
>
>
> ====================================================================
> EXPECTED
> ====================================================================
> ->  install file:/tmp/success/bug.bundle.fragment-0.0.1-SNAPSHOT.jar
> Bundle ID: 3
> ->  install file:/tmp/success/bug.bundle.host-0.0.1-SNAPSHOT.jar
> Bundle ID: 4
> ->  start 4
> DEBUG: WIRE: 4.0 ->  org.osgi.framework ->  0
> DEBUG: FRAGMENT WIRE: 3.0 ->  hosted by ->  4.0
> ->  ps
> [   3] [Resolved   ] [    1] Unnamed -
> org.bug:bug.bundle.fragment:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)
> [   4] [Active     ] [    1] Unnamed -
> org.bug:bug.bundle.host:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)
>
>
> Thanks
>
> -Guo
>    

Re: [jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host

Posted by Guo Du <mr...@gmail.com>.
On Thu, Feb 11, 2010 at 8:04 AM, Richard S. Hall <he...@ungoverned.org> wrote:
> p.s. Maybe you could create a new JIRA issue for it and attach the test
JIRA issue created:

Fragment bundle ignored silently when the host Bundle-SymbolicName
equals import package name
https://issues.apache.org/jira/browse/FELIX-2067

Thanks!

-Guo

Re: [jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host

Posted by "Richard S. Hall" <he...@ungoverned.org>.
p.s. Maybe you could create a new JIRA issue for it and attach the test 
case...thanks!

On 2/9/10 3:17 PM, Guo Du wrote:
> On Tue, Feb 9, 2010 at 1:11 AM, Richard S. Hall<he...@ungoverned.org>  wrote:
>    
>> Is this something you can zip up and give me a link to it? If the bundles in
>> question are not too big, then you can email it to me privately as well.
>> Please tell me the steps to reproduce. Thanks.
>>      
> Hi Richard,
>
> I reproduce the problem with two simple bundles. Attachment is the test bundles.
>
> The test case export a package org.bug.api and import by itself.
>
> Fail silently When the host Bundle-SymbolicName=org.bug.api
> Success When the host Bundle-SymbolicName=org.bug.apix
>
> It may caused the name used as key for maps.
>
>
> ====================================================================
> FAILURE
> ====================================================================
> ->  install file:/tmp/fail/bug.bundle.fragment-0.0.1-SNAPSHOT.jar
> Bundle ID: 3
> ->  install file:/tmp/fail/bug.bundle.host-0.0.1-SNAPSHOT.jar
> Bundle ID: 4
> ->  start 4
> ->  ps
> [   3] [Installed  ] [    1] Unnamed -
> org.bug:bug.bundle.fragment:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)
> [   4] [Active     ] [    1] Unnamed -
> org.bug:bug.bundle.host:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)
>
>
>
>
> ====================================================================
> EXPECTED
> ====================================================================
> ->  install file:/tmp/success/bug.bundle.fragment-0.0.1-SNAPSHOT.jar
> Bundle ID: 3
> ->  install file:/tmp/success/bug.bundle.host-0.0.1-SNAPSHOT.jar
> Bundle ID: 4
> ->  start 4
> DEBUG: WIRE: 4.0 ->  org.osgi.framework ->  0
> DEBUG: FRAGMENT WIRE: 3.0 ->  hosted by ->  4.0
> ->  ps
> [   3] [Resolved   ] [    1] Unnamed -
> org.bug:bug.bundle.fragment:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)
> [   4] [Active     ] [    1] Unnamed -
> org.bug:bug.bundle.host:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)
>
>
> Thanks
>
> -Guo
>    

Re: [jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host

Posted by Guo Du <mr...@gmail.com>.
On Tue, Feb 9, 2010 at 1:11 AM, Richard S. Hall <he...@ungoverned.org> wrote:
> Is this something you can zip up and give me a link to it? If the bundles in
> question are not too big, then you can email it to me privately as well.
> Please tell me the steps to reproduce. Thanks.

Hi Richard,

I reproduce the problem with two simple bundles. Attachment is the test bundles.

The test case export a package org.bug.api and import by itself.

Fail silently When the host Bundle-SymbolicName=org.bug.api
Success When the host Bundle-SymbolicName=org.bug.apix

It may caused the name used as key for maps.


====================================================================
FAILURE
====================================================================
-> install file:/tmp/fail/bug.bundle.fragment-0.0.1-SNAPSHOT.jar
Bundle ID: 3
-> install file:/tmp/fail/bug.bundle.host-0.0.1-SNAPSHOT.jar
Bundle ID: 4
-> start 4
-> ps
[   3] [Installed  ] [    1] Unnamed -
org.bug:bug.bundle.fragment:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)
[   4] [Active     ] [    1] Unnamed -
org.bug:bug.bundle.host:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)




====================================================================
EXPECTED
====================================================================
-> install file:/tmp/success/bug.bundle.fragment-0.0.1-SNAPSHOT.jar
Bundle ID: 3
-> install file:/tmp/success/bug.bundle.host-0.0.1-SNAPSHOT.jar
Bundle ID: 4
-> start 4
DEBUG: WIRE: 4.0 -> org.osgi.framework -> 0
DEBUG: FRAGMENT WIRE: 3.0 -> hosted by -> 4.0
-> ps
[   3] [Resolved   ] [    1] Unnamed -
org.bug:bug.bundle.fragment:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)
[   4] [Active     ] [    1] Unnamed -
org.bug:bug.bundle.host:bundle:0.0.1-SNAPSHOT (0.0.1.SNAPSHOT)


Thanks

-Guo

Re: [jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host

Posted by "Richard S. Hall" <he...@ungoverned.org>.

On 2/8/10 8:06 PM, Guo Du wrote:
> On Mon, Feb 8, 2010 at 10:23 PM, Richard S. Hall<he...@ungoverned.org>  wrote:
>    
>> Let me know what you find. I created a test case that works and others
>> verified, but it may be a different use case you've found.
>>      
> Spend some time debug the code and cannot figure out. Following are my
> bundles in question in 2.0.3 which works in 2.0.0. There is no bundle
> conflict warning message. The fragment bundle was simplly ignored and
>   leaved in installed status while host in active status.
>
> More details at the end of message.
>
> Hope it helps and thanks!
>    

Is this something you can zip up and give me a link to it? If the 
bundles in question are not too big, then you can email it to me 
privately as well. Please tell me the steps to reproduce. Thanks.

-> richard
> -Guo
>
>
> ======================================================================
> Console ps and headers command output
> ======================================================================
> ->  ps
> START LEVEL 1
>     ID   State         Level  Name
> [   0] [Active     ] [    0] System Bundle (2.0.3)
> [  19] [Active     ] [    1] spring-osgi-extender (2.0.0.M1)
> [  21] [Installed  ] [    1] MY OSGi (Extender) (0.9.0.SNAPSHOT)
> ->
> ->  headers 21
>
> MY OSGi (Extender) (21)
> ----------------------------------
> Bnd-LastModified = 1265675692346
> Build-Jdk = 1.6.0_16
> Built-By = duguo
> Bundle-Description = MY OSGi Exender for Spring OSGi
> Bundle-License = http://www.apache.org/licenses/LICENSE-2.0.txt
> Bundle-ManifestVersion = 2
> Bundle-Name = MY OSGi (Extender)
> Bundle-SymbolicName = my-osgi-extender
> Bundle-Vendor = MY
> Bundle-Version = 0.9.0.SNAPSHOT
> Created-By = Apache Maven Bundle Plugin
> Fragment-Host = org.springframework.osgi.extender
> Import-Package =
> org.osgi.framework;version="1.3",org.osgi.service.cm;version="1.3",org.slf4j;version="1.5",org.springframework.beans;version="[3.0.0,4.0)",org.springframework.beans.factory;version="[3.0.0,4.0)",org.springframework.beans.factory.config;version="[3.0.0,4.0)",org.springframework.beans.factory.support;version="[3.0.0,4.0)",org.springframework.core;version="[3.0.0,4.0)",org.springframework.osgi.context;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.context.event;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.extender;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.extender.support;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.extender.support.scanning;version="[2.0.0.M1,2.0.0.M1]"
> Manifest-Version = 1.0
> Private-Package = org.my.osgi.extender.event,org.my.osgi.extender.conf
> Tool = Bnd-0.0.311
> ->
> ->
> ->  headers 19
>
> spring-osgi-extender (19)
> -------------------------
> Build-Jdk = 1.5.0_18
> Built-By = costin
> Bundle-Activator =
> org.springframework.osgi.extender.internal.boot.ChainActivator
> Bundle-Description = Spring/OSGi extender. Listens for and bootstraps
> Spring-powered OSGi bundles.
> Bundle-DocURL = http://www.springframework.org/osgi
> Bundle-License = http://www.apache.org/licenses/LICENSE-2.0
> Bundle-ManifestVersion = 2
> Bundle-Name = spring-osgi-extender
> Bundle-SymbolicName = org.springframework.osgi.extender
> Bundle-Vendor = SpringSource
> Bundle-Version = 2.0.0.M1
> Export-Package =
> org.springframework.osgi.extender;version="2.0.0.M1";uses:="org.osgi.framework,org.springframework.beans,org.springframework.beans.factory.config,org.springframework.osgi.context",org.springframework.osgi.extender.event;version="2.0.0.M1";uses:="org.osgi.framework,org.springframework.context,org.springframework.osgi.context.event,org.springframework.osgi.service.importer.event",org.springframework.osgi.extender.support;version="2.0.0.M1";uses:="org.osgi.framework,org.springframework.beans.factory,org.springframework.osgi.context,org.springframework.osgi.extender,org.springframework.osgi.extender.support.scanning",org.springframework.osgi.extender.support.scanning;version="2.0.0.M1";uses:="org.osgi.framework"
> Implementation-Title = Spring Dynamic Modules Framework
> Implementation-Vendor = SpringSource
> Implementation-Vendor-Id = org.springframework.osgi
> Implementation-Version = 2.0.0.M1
> Import-Package =
> org.apache.commons.logging;version="[1.0,2.0)",org.osgi.framework;version="1.3",org.osgi.service.blueprint.container;version="1.0.0";resolution:="optional",org.osgi.service.blueprint.reflect;version="1.0.0";resolution:="optional",org.osgi.service.event;version="1.1";resolution:="optional",org.osgi.service.packageadmin;version="1.2",org.osgi.util.tracker;version="1.3",org.springframework.beans;version="[3.0.0,4.0)",org.springframework.beans.factory;version="[3.0.0,4.0)",org.springframework.beans.factory.config;version="[3.0.0,4.0)",org.springframework.beans.factory.parsing;version="[3.0.0,4.0)",org.springframework.beans.factory.support;version="[3.0.0,4.0)",org.springframework.beans.factory.xml;version="[3.0.0,4.0)",org.springframework.context;version="[3.0.0,4.0)",org.springframework.context.event;version="[3.0.0,4.0)",org.springframework.core;version="[3.0.0,4.0)",org.springframework.core.convert;version="[3.0.0,4.0)",org.springframework.core.io;version="[3.0.0,4.0)",org.springframework.core.io.support;version="[3.0.0,4.0)",org.springframework.core.task;version="[3.0.0,4.0)",org.springframework.osgi;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.blueprint.container;version="[2.0.0.M1,2.0.0.M1]";resolution:="optional",org.springframework.osgi.blueprint.container.support;version="[2.0.0.M1,2.0.0.M1]";resolution:="optional",org.springframework.osgi.context;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.context.event;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.context.support;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.extensions.annotation;version="[2.0.0.M1,2.0.0.M1]";resolution:="optional",org.springframework.osgi.io;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.service.exporter.support;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.service.importer;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.service.importer.event;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.service.importer.support;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.util;version="[2.0.0.M1,2.0.0.M1]",org.springframework.scheduling.timer;version="[3.0.0,4.0)",org.springframework.util;version="[3.0.0,4.0)",org.xml.sax;resolution:="optional"
> Manifest-Version = 1.0
> Spring-DM-Version = 2.0.0.M1
> Spring-Version = 3.0.0.RC1
> Tool = Bundlor 1.0.0.M6
> Unversioned-Imports = *
> ->
>
>
>
>
>
> ======================================================================
> DEBUG OUTPUT FOR HOST BUNDLE 17
> ======================================================================
> 2010-02-09 00:55:10,197 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.osgi.context ->  18.0
> 2010-02-09 00:55:10,198 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.apache.commons.logging ->  10.0
> 2010-02-09 00:55:10,198 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.osgi.io ->  20.0
> 2010-02-09 00:55:10,198 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.osgi.service.blueprint.reflect ->  18.0
> 2010-02-09 00:55:10,198 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.osgi.context.event ->  18.0
> 2010-02-09 00:55:10,198 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.beans ->  14.0
> 2010-02-09 00:55:10,199 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.osgi.blueprint.container.support ->  18.0
> 2010-02-09 00:55:10,199 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.beans.factory.config ->  14.0
> 2010-02-09 00:55:10,199 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.osgi.service.importer.support ->  18.0
> 2010-02-09 00:55:10,199 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.xml.sax ->  0
> 2010-02-09 00:55:10,199 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.beans.factory.support ->  14.0
> 2010-02-09 00:55:10,199 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.core ->  16.0
> 2010-02-09 00:55:10,199 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.osgi.util.tracker ->  0
> 2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.osgi.service.blueprint.container ->  18.0
> 2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.beans.factory ->  14.0
> 2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.osgi.service.importer.event ->  18.0
> 2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.util ->  16.0
> 2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.osgi.service.importer ->  18.0
> 2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.core.io ->  16.0
> 2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.beans.factory.xml ->  14.0
> 2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.context ->  15.0
> 2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.beans.factory.parsing ->  14.0
> 2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.core.io.support ->  16.0
> 2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.osgi.service.packageadmin ->  0
> 2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.context.event ->  15.0
> 2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.osgi.service.event ->  8.0
> 2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.osgi ->  18.0
> 2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.osgi.util ->  18.0
> 2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.osgi.service.exporter.support ->  18.0
> 2010-02-09 00:55:10,202 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.osgi.context.support ->  18.0
> 2010-02-09 00:55:10,202 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.osgi.blueprint.container ->  18.0
> 2010-02-09 00:55:10,202 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.osgi.framework ->  0
> 2010-02-09 00:55:10,202 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.scheduling.timer ->  15.0
> 2010-02-09 00:55:10,202 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.core.convert ->  16.0
> 2010-02-09 00:55:10,202 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
> org.springframework.core.task ->  16.0
>    


Re: [jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host

Posted by Guo Du <mr...@gmail.com>.
On Mon, Feb 8, 2010 at 10:23 PM, Richard S. Hall <he...@ungoverned.org> wrote:
> Let me know what you find. I created a test case that works and others
> verified, but it may be a different use case you've found.

Spend some time debug the code and cannot figure out. Following are my
bundles in question in 2.0.3 which works in 2.0.0. There is no bundle
conflict warning message. The fragment bundle was simplly ignored and
 leaved in installed status while host in active status.

More details at the end of message.

Hope it helps and thanks!

-Guo


======================================================================
Console ps and headers command output
======================================================================
-> ps
START LEVEL 1
   ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (2.0.3)
[  19] [Active     ] [    1] spring-osgi-extender (2.0.0.M1)
[  21] [Installed  ] [    1] MY OSGi (Extender) (0.9.0.SNAPSHOT)
->
-> headers 21

MY OSGi (Extender) (21)
----------------------------------
Bnd-LastModified = 1265675692346
Build-Jdk = 1.6.0_16
Built-By = duguo
Bundle-Description = MY OSGi Exender for Spring OSGi
Bundle-License = http://www.apache.org/licenses/LICENSE-2.0.txt
Bundle-ManifestVersion = 2
Bundle-Name = MY OSGi (Extender)
Bundle-SymbolicName = my-osgi-extender
Bundle-Vendor = MY
Bundle-Version = 0.9.0.SNAPSHOT
Created-By = Apache Maven Bundle Plugin
Fragment-Host = org.springframework.osgi.extender
Import-Package =
org.osgi.framework;version="1.3",org.osgi.service.cm;version="1.3",org.slf4j;version="1.5",org.springframework.beans;version="[3.0.0,4.0)",org.springframework.beans.factory;version="[3.0.0,4.0)",org.springframework.beans.factory.config;version="[3.0.0,4.0)",org.springframework.beans.factory.support;version="[3.0.0,4.0)",org.springframework.core;version="[3.0.0,4.0)",org.springframework.osgi.context;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.context.event;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.extender;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.extender.support;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.extender.support.scanning;version="[2.0.0.M1,2.0.0.M1]"
Manifest-Version = 1.0
Private-Package = org.my.osgi.extender.event,org.my.osgi.extender.conf
Tool = Bnd-0.0.311
->
->
-> headers 19

spring-osgi-extender (19)
-------------------------
Build-Jdk = 1.5.0_18
Built-By = costin
Bundle-Activator =
org.springframework.osgi.extender.internal.boot.ChainActivator
Bundle-Description = Spring/OSGi extender. Listens for and bootstraps
Spring-powered OSGi bundles.
Bundle-DocURL = http://www.springframework.org/osgi
Bundle-License = http://www.apache.org/licenses/LICENSE-2.0
Bundle-ManifestVersion = 2
Bundle-Name = spring-osgi-extender
Bundle-SymbolicName = org.springframework.osgi.extender
Bundle-Vendor = SpringSource
Bundle-Version = 2.0.0.M1
Export-Package =
org.springframework.osgi.extender;version="2.0.0.M1";uses:="org.osgi.framework,org.springframework.beans,org.springframework.beans.factory.config,org.springframework.osgi.context",org.springframework.osgi.extender.event;version="2.0.0.M1";uses:="org.osgi.framework,org.springframework.context,org.springframework.osgi.context.event,org.springframework.osgi.service.importer.event",org.springframework.osgi.extender.support;version="2.0.0.M1";uses:="org.osgi.framework,org.springframework.beans.factory,org.springframework.osgi.context,org.springframework.osgi.extender,org.springframework.osgi.extender.support.scanning",org.springframework.osgi.extender.support.scanning;version="2.0.0.M1";uses:="org.osgi.framework"
Implementation-Title = Spring Dynamic Modules Framework
Implementation-Vendor = SpringSource
Implementation-Vendor-Id = org.springframework.osgi
Implementation-Version = 2.0.0.M1
Import-Package =
org.apache.commons.logging;version="[1.0,2.0)",org.osgi.framework;version="1.3",org.osgi.service.blueprint.container;version="1.0.0";resolution:="optional",org.osgi.service.blueprint.reflect;version="1.0.0";resolution:="optional",org.osgi.service.event;version="1.1";resolution:="optional",org.osgi.service.packageadmin;version="1.2",org.osgi.util.tracker;version="1.3",org.springframework.beans;version="[3.0.0,4.0)",org.springframework.beans.factory;version="[3.0.0,4.0)",org.springframework.beans.factory.config;version="[3.0.0,4.0)",org.springframework.beans.factory.parsing;version="[3.0.0,4.0)",org.springframework.beans.factory.support;version="[3.0.0,4.0)",org.springframework.beans.factory.xml;version="[3.0.0,4.0)",org.springframework.context;version="[3.0.0,4.0)",org.springframework.context.event;version="[3.0.0,4.0)",org.springframework.core;version="[3.0.0,4.0)",org.springframework.core.convert;version="[3.0.0,4.0)",org.springframework.core.io;version="[3.0.0,4.0)",org.springframework.core.io.support;version="[3.0.0,4.0)",org.springframework.core.task;version="[3.0.0,4.0)",org.springframework.osgi;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.blueprint.container;version="[2.0.0.M1,2.0.0.M1]";resolution:="optional",org.springframework.osgi.blueprint.container.support;version="[2.0.0.M1,2.0.0.M1]";resolution:="optional",org.springframework.osgi.context;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.context.event;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.context.support;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.extensions.annotation;version="[2.0.0.M1,2.0.0.M1]";resolution:="optional",org.springframework.osgi.io;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.service.exporter.support;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.service.importer;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.service.importer.event;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.service.importer.support;version="[2.0.0.M1,2.0.0.M1]",org.springframework.osgi.util;version="[2.0.0.M1,2.0.0.M1]",org.springframework.scheduling.timer;version="[3.0.0,4.0)",org.springframework.util;version="[3.0.0,4.0)",org.xml.sax;resolution:="optional"
Manifest-Version = 1.0
Spring-DM-Version = 2.0.0.M1
Spring-Version = 3.0.0.RC1
Tool = Bundlor 1.0.0.M6
Unversioned-Imports = *
->





======================================================================
DEBUG OUTPUT FOR HOST BUNDLE 17
======================================================================
2010-02-09 00:55:10,197 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.osgi.context -> 18.0
2010-02-09 00:55:10,198 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.apache.commons.logging -> 10.0
2010-02-09 00:55:10,198 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.osgi.io -> 20.0
2010-02-09 00:55:10,198 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.osgi.service.blueprint.reflect -> 18.0
2010-02-09 00:55:10,198 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.osgi.context.event -> 18.0
2010-02-09 00:55:10,198 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.beans -> 14.0
2010-02-09 00:55:10,199 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.osgi.blueprint.container.support -> 18.0
2010-02-09 00:55:10,199 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.beans.factory.config -> 14.0
2010-02-09 00:55:10,199 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.osgi.service.importer.support -> 18.0
2010-02-09 00:55:10,199 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.xml.sax -> 0
2010-02-09 00:55:10,199 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.beans.factory.support -> 14.0
2010-02-09 00:55:10,199 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.core -> 16.0
2010-02-09 00:55:10,199 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.osgi.util.tracker -> 0
2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.osgi.service.blueprint.container -> 18.0
2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.beans.factory -> 14.0
2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.osgi.service.importer.event -> 18.0
2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.util -> 16.0
2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.osgi.service.importer -> 18.0
2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.core.io -> 16.0
2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.beans.factory.xml -> 14.0
2010-02-09 00:55:10,200 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.context -> 15.0
2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.beans.factory.parsing -> 14.0
2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.core.io.support -> 16.0
2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.osgi.service.packageadmin -> 0
2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.context.event -> 15.0
2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.osgi.service.event -> 8.0
2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.osgi -> 18.0
2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.osgi.util -> 18.0
2010-02-09 00:55:10,201 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.osgi.service.exporter.support -> 18.0
2010-02-09 00:55:10,202 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.osgi.context.support -> 18.0
2010-02-09 00:55:10,202 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.osgi.blueprint.container -> 18.0
2010-02-09 00:55:10,202 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.osgi.framework -> 0
2010-02-09 00:55:10,202 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.scheduling.timer -> 15.0
2010-02-09 00:55:10,202 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.core.convert -> 16.0
2010-02-09 00:55:10,202 STOUT -bootstrap-starter-DEBUG: WIRE: 19.0 ->
org.springframework.core.task -> 16.0

Re: [jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host

Posted by "Richard S. Hall" <he...@ungoverned.org>.
On 2/8/10 16:57, Guo Du wrote:
> On Fri, Jan 22, 2010 at 8:16 PM, Richard S. Hall (JIRA)<ji...@apache.org>  wrote:
>    
>> I have committed a patch that attempts to implement version range intersection calculation for more flexibility when merging fragments into hosts. Could someone test to see if this works. I deployed a new snapshot or you can build from trunk. Thanks.
>>
>>      
> The fragment seems doesn't doesn't work in 2.0.3 release candidate.
>
> I dropped org.apache.felix.framework-2.0.3.jar coming from
> https://repository.apache.org/content/repositories/orgapachefelix-001/
>   to replace org.apache.felix.framework-2.0.0.jar which is working
> before.
>
> My local system is a complicated, hope can digg out more information
> and post later.
>    

Let me know what you find. I created a test case that works and others 
verified, but it may be a different use case you've found.

-> richard

> -Guo
>