On Mon, Feb 8, 2010 at 10:23 PM, Richard S. Hall <[email protected]> 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
