|
View:
New views
19 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (FELIX-1919) Fragment bundle cannot be linked to its hostFragment bundle cannot be linked to its host
-------------------------------------------- Key: FELIX-1919 URL: https://issues.apache.org/jira/browse/FELIX-1919 Project: Felix Issue Type: Bug Components: Framework Affects Versions: felix-2.0.1 Reporter: Charles Moulliard Priority: Critical The following fragment bundle cannot be link to its host osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate.ejb/3.4.0.GA // FRAGMENT BUNDLE osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate/3.3.2.GA // HOST Here is what the trace report {code} DEBUG: Excluding fragment com.springsource.org.hibernate.ejb from com.springsource.org.hibernate due to conflict with imported package javassist.bytec ode from com.springsource.org.hibernate DEBUG: Excluding fragment com.springsource.org.hibernate.annotations from com.springsource.org.hibernate due to conflict with imported package org.slf 4j from com.springsource.org.hibernate {code} but the import declaration for javassist.bytecode / slf4j are correct {code} karaf@root> headers 86 JBoss Hibernate Entity Manager (86) ----------------------------------- Ant-Version = Apache Ant 1.7.1 Bundle-Classpath = . Bundle-ManifestVersion = 2 Bundle-Name = JBoss Hibernate Entity Manager Bundle-SymbolicName = com.springsource.org.hibernate.ejb Bundle-Vendor = SpringSource Bundle-Version = 3.4.0.GA Created-By = 1.5.0_06-b05 (Sun Microsystems Inc.) Export-Package = org.hibernate.ejb;version="3.4.0.GA";uses:="javax.naming,javax.persistence,javax.persistence.spi,javax.sql,org.hibernate,org.hibernat e.cfg,org.hibernate.connection,org.hibernate.ejb.packaging,org.hibernate.engine,org.hibernate.event,org.hibernate.mapping,org.slf4j,org.xml.sax",org.h ibernate.ejb.connection;version="3.4.0.GA";uses:="javax.sql,org.hibernate",org.hibernate.ejb.event;version="3.4.0.GA";uses:="org.hibernate.annotations .common.reflection,org.hibernate.engine,org.hibernate.event,org.hibernate.persister.entity",org.hibernate.ejb.instrument;version="3.4.0.GA",org.hibern ate.ejb.packaging;version="3.4.0.GA";uses:="javax.persistence.spi,org.slf4j,org.w3c.dom,org.xml.sax",org.hibernate.ejb.transaction;version="3.4.0.GA"; uses:="org.hibernate,org.hibernate.jdbc,org.hibernate.transaction",org.hibernate.ejb.util;version="3.4.0.GA";uses:="javax.naming.event,javax.persisten ce,javax.persistence.spi,org.hibernate,org.hibernate.ejb,org.slf4j",org.hibernate.engine;version="3.4.0.GA";uses:="org.hibernate,org.hibernate.event,o rg.hibernate.type,org.slf4j" Fragment-Host = com.springsource.org.hibernate;bundle-version="[3.3.1.GA, 3.4.0)" Implementation-Title = Hibernate EntityManager Implementation-URL = http://entitymanager.hibernate.org Implementation-Vendor = hibernate.org Implementation-Vendor-Id = hibernate.org Implementation-Version = 3.4.0.GA Import-Package = javassist.bytecode;version="[3.3.0.ga, 4.0.0)",javassist.bytecode.annotation;version="[3.3.0.ga, 4.0.0)",javax.naming,javax.naming.ev ent,javax.naming.spi,javax.persistence;version="[1.0.0, 2.0.0)",javax.persistence.spi;version="[1.0.0, 2.0.0)",javax.sql,javax.transaction;version="[1 .0.1, 2.0.0)";resolution:=optional,javax.xml.parsers,org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1.6.1, 2.0.0)",org.hibernate.annotation s.common;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.reflection;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.util;ver sion="[3.3.0.ga, 3.4.0)",org.slf4j;version="[1.5.3, 1.6.0)",org.w3c.dom,org.xml.sax Manifest-Version = 1.0 Specification-Title = Java Persistence Specification-Vendor = jcp.org Specification-Version = 1.0 karaf@root> headers 89 JBoss Hibernate Object-Relational Mapper (89) --------------------------------------------- Archiver-Version = Plexus Archiver Bundle-ManifestVersion = 2 Bundle-Name = JBoss Hibernate Object-Relational Mapper Bundle-SymbolicName = com.springsource.org.hibernate Bundle-Vendor = SpringSource Bundle-Version = 3.3.2.GA Created-By = 1.5.0_18-b02 (Sun Microsystems Inc.) Import-Package = antlr;version="[2.7.6, 3.0.0)",antlr.collections;version="[2.7.6, 3.0.0)",antlr.collections.impl;version="[2.7.6, 3.0.0)",com.mchange .v2.c3p0;version="[0.9.1, 1.0.0)";resolution:="optional",com.opensymphony.oscache.base;version="[2.1.0, 3.0.0)";resolution:="optional",com.opensymphon y.oscache.general;version="[2.1.0, 3.0.0)";resolution:="optional",javassist;version="[3.9.0.GA, 4.0.0)",javassist.bytecode;version="[3.9.0.GA, 4.0.0)" ,javassist.util.proxy;version="[3.9.0.GA, 4.0.0)",javax.naming;version="0",javax.naming.event;version="0",javax.naming.spi;version="0",javax.security. auth;version="0",javax.security.jacc;version="0";resolution:="optional",javax.sql;version="0",javax.transaction;version="[1.0.1, 2.0.0)";resolution:=" optional",javax.transaction.xa;version="[1.0.1, 2.0.0)";resolution:="optional",net.sf.cglib.beans;version="[2.2.0, 3.0.0)",net.sf.cglib.core;version=" [2.2.0, 3.0.0)",net.sf.cglib.proxy;version="[2.2.0, 3.0.0)",net.sf.cglib.reflect;version="[2.2.0, 3.0.0)",net.sf.cglib.transform;version="[2.2.0, 3.0. 0)",net.sf.cglib.transform.impl;version="[2.2.0, 3.0.0)",net.sf.ehcache;version="[1.2.3, 2.0.0)";resolution:="optional",net.sf.ehcache.util;version="[ 1.2.3, 2.0.0)";resolution:="optional",net.sf.swarmcache;version="[1.0.0.RC2, 2.0.0)";resolution:="optional",org.apache.commons.collections.map;version ="[3.1.0, 4.0.0)",org.apache.tools.ant;version="[1.7.0, 2.0.0)";resolution:="optional",org.apache.tools.ant.taskdefs;version="[1.7.0, 2.0.0)";resoluti on:="optional",org.apache.tools.ant.types;version="[1.7.0, 2.0.0)";resolution:="optional",org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1. 6.1, 2.0.0)",org.jboss.cache;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.config;version="[1.2.2, 4.0.0)";resolution:="optional",or g.jboss.cache.lock;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.notifications.annotation;version="[1.2.2, 4.0.0)";resolution:="opti onal",org.jboss.cache.notifications.event;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.optimistic;version="[1.2.2, 4.0.0)";resoluti on:="optional",org.jgroups;version="[2.2.7, 3.0.0)",org.logicalcobwebs.proxool;version="[0.8.3, 1.0.0)";resolution:="optional",org.logicalcobwebs.prox ool.configuration;version="[0.8.3, 1.0.0)";resolution:="optional",org.objectweb.asm;version="[1.5.3, 2.0.0)",org.slf4j;version="[1.5.6, 2.0.0)",org.w3 c.dom;version="0",org.xml.sax;version="0" {code} Remark : the two bundles can be linked using Equinox 3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host[ https://issues.apache.org/jira/browse/FELIX-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785955#action_12785955 ] Richard S. Hall commented on FELIX-1919: ---------------------------------------- We are not very lenient when it comes to conflict detection, we check for exact matches, which is acceptable for the spec. In this case, the version ranges are not exact matches. We could possibly try to special case version attributes and calculate the intersection of the host import and the fragment import and use that instead... > Fragment bundle cannot be linked to its host > -------------------------------------------- > > Key: FELIX-1919 > URL: https://issues.apache.org/jira/browse/FELIX-1919 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-2.0.1 > Reporter: Charles Moulliard > Priority: Critical > > The following fragment bundle cannot be link to its host > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate.ejb/3.4.0.GA // FRAGMENT BUNDLE > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate/3.3.2.GA // HOST > Here is what the trace report > {code} > DEBUG: Excluding fragment com.springsource.org.hibernate.ejb from com.springsource.org.hibernate due to conflict with imported package javassist.bytec > ode from com.springsource.org.hibernate > DEBUG: Excluding fragment com.springsource.org.hibernate.annotations from com.springsource.org.hibernate due to conflict with imported package org.slf > 4j from com.springsource.org.hibernate > {code} > but the import declaration for javassist.bytecode / slf4j are correct > {code} > karaf@root> headers 86 > JBoss Hibernate Entity Manager (86) > ----------------------------------- > Ant-Version = Apache Ant 1.7.1 > Bundle-Classpath = . > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Entity Manager > Bundle-SymbolicName = com.springsource.org.hibernate.ejb > Bundle-Vendor = SpringSource > Bundle-Version = 3.4.0.GA > Created-By = 1.5.0_06-b05 (Sun Microsystems Inc.) > Export-Package = org.hibernate.ejb;version="3.4.0.GA";uses:="javax.naming,javax.persistence,javax.persistence.spi,javax.sql,org.hibernate,org.hibernat > e.cfg,org.hibernate.connection,org.hibernate.ejb.packaging,org.hibernate.engine,org.hibernate.event,org.hibernate.mapping,org.slf4j,org.xml.sax",org.h > ibernate.ejb.connection;version="3.4.0.GA";uses:="javax.sql,org.hibernate",org.hibernate.ejb.event;version="3.4.0.GA";uses:="org.hibernate.annotations > .common.reflection,org.hibernate.engine,org.hibernate.event,org.hibernate.persister.entity",org.hibernate.ejb.instrument;version="3.4.0.GA",org.hibern > ate.ejb.packaging;version="3.4.0.GA";uses:="javax.persistence.spi,org.slf4j,org.w3c.dom,org.xml.sax",org.hibernate.ejb.transaction;version="3.4.0.GA"; > uses:="org.hibernate,org.hibernate.jdbc,org.hibernate.transaction",org.hibernate.ejb.util;version="3.4.0.GA";uses:="javax.naming.event,javax.persisten > ce,javax.persistence.spi,org.hibernate,org.hibernate.ejb,org.slf4j",org.hibernate.engine;version="3.4.0.GA";uses:="org.hibernate,org.hibernate.event,o > rg.hibernate.type,org.slf4j" > Fragment-Host = com.springsource.org.hibernate;bundle-version="[3.3.1.GA, 3.4.0)" > Implementation-Title = Hibernate EntityManager > Implementation-URL = http://entitymanager.hibernate.org > Implementation-Vendor = hibernate.org > Implementation-Vendor-Id = hibernate.org > Implementation-Version = 3.4.0.GA > Import-Package = javassist.bytecode;version="[3.3.0.ga, 4.0.0)",javassist.bytecode.annotation;version="[3.3.0.ga, 4.0.0)",javax.naming,javax.naming.ev > ent,javax.naming.spi,javax.persistence;version="[1.0.0, 2.0.0)",javax.persistence.spi;version="[1.0.0, 2.0.0)",javax.sql,javax.transaction;version="[1 > .0.1, 2.0.0)";resolution:=optional,javax.xml.parsers,org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1.6.1, 2.0.0)",org.hibernate.annotation > s.common;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.reflection;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.util;ver > sion="[3.3.0.ga, 3.4.0)",org.slf4j;version="[1.5.3, 1.6.0)",org.w3c.dom,org.xml.sax > Manifest-Version = 1.0 > Specification-Title = Java Persistence > Specification-Vendor = jcp.org > Specification-Version = 1.0 > karaf@root> headers 89 > JBoss Hibernate Object-Relational Mapper (89) > --------------------------------------------- > Archiver-Version = Plexus Archiver > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Object-Relational Mapper > Bundle-SymbolicName = com.springsource.org.hibernate > Bundle-Vendor = SpringSource > Bundle-Version = 3.3.2.GA > Created-By = 1.5.0_18-b02 (Sun Microsystems Inc.) > Import-Package = antlr;version="[2.7.6, 3.0.0)",antlr.collections;version="[2.7.6, 3.0.0)",antlr.collections.impl;version="[2.7.6, 3.0.0)",com.mchange > .v2.c3p0;version="[0.9.1, 1.0.0)";resolution:="optional",com.opensymphony.oscache.base;version="[2.1.0, 3.0.0)";resolution:="optional",com.opensymphon > y.oscache.general;version="[2.1.0, 3.0.0)";resolution:="optional",javassist;version="[3.9.0.GA, 4.0.0)",javassist.bytecode;version="[3.9.0.GA, 4.0.0)" > ,javassist.util.proxy;version="[3.9.0.GA, 4.0.0)",javax.naming;version="0",javax.naming.event;version="0",javax.naming.spi;version="0",javax.security. > auth;version="0",javax.security.jacc;version="0";resolution:="optional",javax.sql;version="0",javax.transaction;version="[1.0.1, 2.0.0)";resolution:=" > optional",javax.transaction.xa;version="[1.0.1, 2.0.0)";resolution:="optional",net.sf.cglib.beans;version="[2.2.0, 3.0.0)",net.sf.cglib.core;version=" > [2.2.0, 3.0.0)",net.sf.cglib.proxy;version="[2.2.0, 3.0.0)",net.sf.cglib.reflect;version="[2.2.0, 3.0.0)",net.sf.cglib.transform;version="[2.2.0, 3.0. > 0)",net.sf.cglib.transform.impl;version="[2.2.0, 3.0.0)",net.sf.ehcache;version="[1.2.3, 2.0.0)";resolution:="optional",net.sf.ehcache.util;version="[ > 1.2.3, 2.0.0)";resolution:="optional",net.sf.swarmcache;version="[1.0.0.RC2, 2.0.0)";resolution:="optional",org.apache.commons.collections.map;version > ="[3.1.0, 4.0.0)",org.apache.tools.ant;version="[1.7.0, 2.0.0)";resolution:="optional",org.apache.tools.ant.taskdefs;version="[1.7.0, 2.0.0)";resoluti > on:="optional",org.apache.tools.ant.types;version="[1.7.0, 2.0.0)";resolution:="optional",org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1. > 6.1, 2.0.0)",org.jboss.cache;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.config;version="[1.2.2, 4.0.0)";resolution:="optional",or > g.jboss.cache.lock;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.notifications.annotation;version="[1.2.2, 4.0.0)";resolution:="opti > onal",org.jboss.cache.notifications.event;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.optimistic;version="[1.2.2, 4.0.0)";resoluti > on:="optional",org.jgroups;version="[2.2.7, 3.0.0)",org.logicalcobwebs.proxool;version="[0.8.3, 1.0.0)";resolution:="optional",org.logicalcobwebs.prox > ool.configuration;version="[0.8.3, 1.0.0)";resolution:="optional",org.objectweb.asm;version="[1.5.3, 2.0.0)",org.slf4j;version="[1.5.6, 2.0.0)",org.w3 > c.dom;version="0",org.xml.sax;version="0" > {code} > Remark : the two bundles can be linked using Equinox 3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host[ https://issues.apache.org/jira/browse/FELIX-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788271#action_12788271 ] Richard S. Hall commented on FELIX-1919: ---------------------------------------- So, is this issue actually critical? If so, I will put some thought into a patch. > Fragment bundle cannot be linked to its host > -------------------------------------------- > > Key: FELIX-1919 > URL: https://issues.apache.org/jira/browse/FELIX-1919 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-2.0.1 > Reporter: Charles Moulliard > Priority: Critical > > The following fragment bundle cannot be link to its host > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate.ejb/3.4.0.GA // FRAGMENT BUNDLE > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate/3.3.2.GA // HOST > Here is what the trace report > {code} > DEBUG: Excluding fragment com.springsource.org.hibernate.ejb from com.springsource.org.hibernate due to conflict with imported package javassist.bytec > ode from com.springsource.org.hibernate > DEBUG: Excluding fragment com.springsource.org.hibernate.annotations from com.springsource.org.hibernate due to conflict with imported package org.slf > 4j from com.springsource.org.hibernate > {code} > but the import declaration for javassist.bytecode / slf4j are correct > {code} > karaf@root> headers 86 > JBoss Hibernate Entity Manager (86) > ----------------------------------- > Ant-Version = Apache Ant 1.7.1 > Bundle-Classpath = . > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Entity Manager > Bundle-SymbolicName = com.springsource.org.hibernate.ejb > Bundle-Vendor = SpringSource > Bundle-Version = 3.4.0.GA > Created-By = 1.5.0_06-b05 (Sun Microsystems Inc.) > Export-Package = org.hibernate.ejb;version="3.4.0.GA";uses:="javax.naming,javax.persistence,javax.persistence.spi,javax.sql,org.hibernate,org.hibernat > e.cfg,org.hibernate.connection,org.hibernate.ejb.packaging,org.hibernate.engine,org.hibernate.event,org.hibernate.mapping,org.slf4j,org.xml.sax",org.h > ibernate.ejb.connection;version="3.4.0.GA";uses:="javax.sql,org.hibernate",org.hibernate.ejb.event;version="3.4.0.GA";uses:="org.hibernate.annotations > .common.reflection,org.hibernate.engine,org.hibernate.event,org.hibernate.persister.entity",org.hibernate.ejb.instrument;version="3.4.0.GA",org.hibern > ate.ejb.packaging;version="3.4.0.GA";uses:="javax.persistence.spi,org.slf4j,org.w3c.dom,org.xml.sax",org.hibernate.ejb.transaction;version="3.4.0.GA"; > uses:="org.hibernate,org.hibernate.jdbc,org.hibernate.transaction",org.hibernate.ejb.util;version="3.4.0.GA";uses:="javax.naming.event,javax.persisten > ce,javax.persistence.spi,org.hibernate,org.hibernate.ejb,org.slf4j",org.hibernate.engine;version="3.4.0.GA";uses:="org.hibernate,org.hibernate.event,o > rg.hibernate.type,org.slf4j" > Fragment-Host = com.springsource.org.hibernate;bundle-version="[3.3.1.GA, 3.4.0)" > Implementation-Title = Hibernate EntityManager > Implementation-URL = http://entitymanager.hibernate.org > Implementation-Vendor = hibernate.org > Implementation-Vendor-Id = hibernate.org > Implementation-Version = 3.4.0.GA > Import-Package = javassist.bytecode;version="[3.3.0.ga, 4.0.0)",javassist.bytecode.annotation;version="[3.3.0.ga, 4.0.0)",javax.naming,javax.naming.ev > ent,javax.naming.spi,javax.persistence;version="[1.0.0, 2.0.0)",javax.persistence.spi;version="[1.0.0, 2.0.0)",javax.sql,javax.transaction;version="[1 > .0.1, 2.0.0)";resolution:=optional,javax.xml.parsers,org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1.6.1, 2.0.0)",org.hibernate.annotation > s.common;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.reflection;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.util;ver > sion="[3.3.0.ga, 3.4.0)",org.slf4j;version="[1.5.3, 1.6.0)",org.w3c.dom,org.xml.sax > Manifest-Version = 1.0 > Specification-Title = Java Persistence > Specification-Vendor = jcp.org > Specification-Version = 1.0 > karaf@root> headers 89 > JBoss Hibernate Object-Relational Mapper (89) > --------------------------------------------- > Archiver-Version = Plexus Archiver > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Object-Relational Mapper > Bundle-SymbolicName = com.springsource.org.hibernate > Bundle-Vendor = SpringSource > Bundle-Version = 3.3.2.GA > Created-By = 1.5.0_18-b02 (Sun Microsystems Inc.) > Import-Package = antlr;version="[2.7.6, 3.0.0)",antlr.collections;version="[2.7.6, 3.0.0)",antlr.collections.impl;version="[2.7.6, 3.0.0)",com.mchange > .v2.c3p0;version="[0.9.1, 1.0.0)";resolution:="optional",com.opensymphony.oscache.base;version="[2.1.0, 3.0.0)";resolution:="optional",com.opensymphon > y.oscache.general;version="[2.1.0, 3.0.0)";resolution:="optional",javassist;version="[3.9.0.GA, 4.0.0)",javassist.bytecode;version="[3.9.0.GA, 4.0.0)" > ,javassist.util.proxy;version="[3.9.0.GA, 4.0.0)",javax.naming;version="0",javax.naming.event;version="0",javax.naming.spi;version="0",javax.security. > auth;version="0",javax.security.jacc;version="0";resolution:="optional",javax.sql;version="0",javax.transaction;version="[1.0.1, 2.0.0)";resolution:=" > optional",javax.transaction.xa;version="[1.0.1, 2.0.0)";resolution:="optional",net.sf.cglib.beans;version="[2.2.0, 3.0.0)",net.sf.cglib.core;version=" > [2.2.0, 3.0.0)",net.sf.cglib.proxy;version="[2.2.0, 3.0.0)",net.sf.cglib.reflect;version="[2.2.0, 3.0.0)",net.sf.cglib.transform;version="[2.2.0, 3.0. > 0)",net.sf.cglib.transform.impl;version="[2.2.0, 3.0.0)",net.sf.ehcache;version="[1.2.3, 2.0.0)";resolution:="optional",net.sf.ehcache.util;version="[ > 1.2.3, 2.0.0)";resolution:="optional",net.sf.swarmcache;version="[1.0.0.RC2, 2.0.0)";resolution:="optional",org.apache.commons.collections.map;version > ="[3.1.0, 4.0.0)",org.apache.tools.ant;version="[1.7.0, 2.0.0)";resolution:="optional",org.apache.tools.ant.taskdefs;version="[1.7.0, 2.0.0)";resoluti > on:="optional",org.apache.tools.ant.types;version="[1.7.0, 2.0.0)";resolution:="optional",org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1. > 6.1, 2.0.0)",org.jboss.cache;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.config;version="[1.2.2, 4.0.0)";resolution:="optional",or > g.jboss.cache.lock;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.notifications.annotation;version="[1.2.2, 4.0.0)";resolution:="opti > onal",org.jboss.cache.notifications.event;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.optimistic;version="[1.2.2, 4.0.0)";resoluti > on:="optional",org.jgroups;version="[2.2.7, 3.0.0)",org.logicalcobwebs.proxool;version="[0.8.3, 1.0.0)";resolution:="optional",org.logicalcobwebs.prox > ool.configuration;version="[0.8.3, 1.0.0)";resolution:="optional",org.objectweb.asm;version="[1.5.3, 2.0.0)",org.slf4j;version="[1.5.6, 2.0.0)",org.w3 > c.dom;version="0",org.xml.sax;version="0" > {code} > Remark : the two bundles can be linked using Equinox 3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host[ https://issues.apache.org/jira/browse/FELIX-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788629#action_12788629 ] Willem Jiang commented on FELIX-1919: ------------------------------------- Hi, Richard, This issue has been found during our integration tests of camel with different JPA implementation on Karaf. As Karaf supports both Felix and Equinox OSGI frameworks, some tests work fine with Equinox (like those using Hibernate/Hibernate Entity Manager) but other no. So it could be great to resolve this issue in Felix, in this way , we could announce that Camel can be run on Karaf Felix and Karaf Equniox at same time. Thanks, Willem > Fragment bundle cannot be linked to its host > -------------------------------------------- > > Key: FELIX-1919 > URL: https://issues.apache.org/jira/browse/FELIX-1919 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-2.0.1 > Reporter: Charles Moulliard > Priority: Critical > > The following fragment bundle cannot be link to its host > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate.ejb/3.4.0.GA // FRAGMENT BUNDLE > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate/3.3.2.GA // HOST > Here is what the trace report > {code} > DEBUG: Excluding fragment com.springsource.org.hibernate.ejb from com.springsource.org.hibernate due to conflict with imported package javassist.bytec > ode from com.springsource.org.hibernate > DEBUG: Excluding fragment com.springsource.org.hibernate.annotations from com.springsource.org.hibernate due to conflict with imported package org.slf > 4j from com.springsource.org.hibernate > {code} > but the import declaration for javassist.bytecode / slf4j are correct > {code} > karaf@root> headers 86 > JBoss Hibernate Entity Manager (86) > ----------------------------------- > Ant-Version = Apache Ant 1.7.1 > Bundle-Classpath = . > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Entity Manager > Bundle-SymbolicName = com.springsource.org.hibernate.ejb > Bundle-Vendor = SpringSource > Bundle-Version = 3.4.0.GA > Created-By = 1.5.0_06-b05 (Sun Microsystems Inc.) > Export-Package = org.hibernate.ejb;version="3.4.0.GA";uses:="javax.naming,javax.persistence,javax.persistence.spi,javax.sql,org.hibernate,org.hibernat > e.cfg,org.hibernate.connection,org.hibernate.ejb.packaging,org.hibernate.engine,org.hibernate.event,org.hibernate.mapping,org.slf4j,org.xml.sax",org.h > ibernate.ejb.connection;version="3.4.0.GA";uses:="javax.sql,org.hibernate",org.hibernate.ejb.event;version="3.4.0.GA";uses:="org.hibernate.annotations > .common.reflection,org.hibernate.engine,org.hibernate.event,org.hibernate.persister.entity",org.hibernate.ejb.instrument;version="3.4.0.GA",org.hibern > ate.ejb.packaging;version="3.4.0.GA";uses:="javax.persistence.spi,org.slf4j,org.w3c.dom,org.xml.sax",org.hibernate.ejb.transaction;version="3.4.0.GA"; > uses:="org.hibernate,org.hibernate.jdbc,org.hibernate.transaction",org.hibernate.ejb.util;version="3.4.0.GA";uses:="javax.naming.event,javax.persisten > ce,javax.persistence.spi,org.hibernate,org.hibernate.ejb,org.slf4j",org.hibernate.engine;version="3.4.0.GA";uses:="org.hibernate,org.hibernate.event,o > rg.hibernate.type,org.slf4j" > Fragment-Host = com.springsource.org.hibernate;bundle-version="[3.3.1.GA, 3.4.0)" > Implementation-Title = Hibernate EntityManager > Implementation-URL = http://entitymanager.hibernate.org > Implementation-Vendor = hibernate.org > Implementation-Vendor-Id = hibernate.org > Implementation-Version = 3.4.0.GA > Import-Package = javassist.bytecode;version="[3.3.0.ga, 4.0.0)",javassist.bytecode.annotation;version="[3.3.0.ga, 4.0.0)",javax.naming,javax.naming.ev > ent,javax.naming.spi,javax.persistence;version="[1.0.0, 2.0.0)",javax.persistence.spi;version="[1.0.0, 2.0.0)",javax.sql,javax.transaction;version="[1 > .0.1, 2.0.0)";resolution:=optional,javax.xml.parsers,org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1.6.1, 2.0.0)",org.hibernate.annotation > s.common;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.reflection;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.util;ver > sion="[3.3.0.ga, 3.4.0)",org.slf4j;version="[1.5.3, 1.6.0)",org.w3c.dom,org.xml.sax > Manifest-Version = 1.0 > Specification-Title = Java Persistence > Specification-Vendor = jcp.org > Specification-Version = 1.0 > karaf@root> headers 89 > JBoss Hibernate Object-Relational Mapper (89) > --------------------------------------------- > Archiver-Version = Plexus Archiver > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Object-Relational Mapper > Bundle-SymbolicName = com.springsource.org.hibernate > Bundle-Vendor = SpringSource > Bundle-Version = 3.3.2.GA > Created-By = 1.5.0_18-b02 (Sun Microsystems Inc.) > Import-Package = antlr;version="[2.7.6, 3.0.0)",antlr.collections;version="[2.7.6, 3.0.0)",antlr.collections.impl;version="[2.7.6, 3.0.0)",com.mchange > .v2.c3p0;version="[0.9.1, 1.0.0)";resolution:="optional",com.opensymphony.oscache.base;version="[2.1.0, 3.0.0)";resolution:="optional",com.opensymphon > y.oscache.general;version="[2.1.0, 3.0.0)";resolution:="optional",javassist;version="[3.9.0.GA, 4.0.0)",javassist.bytecode;version="[3.9.0.GA, 4.0.0)" > ,javassist.util.proxy;version="[3.9.0.GA, 4.0.0)",javax.naming;version="0",javax.naming.event;version="0",javax.naming.spi;version="0",javax.security. > auth;version="0",javax.security.jacc;version="0";resolution:="optional",javax.sql;version="0",javax.transaction;version="[1.0.1, 2.0.0)";resolution:=" > optional",javax.transaction.xa;version="[1.0.1, 2.0.0)";resolution:="optional",net.sf.cglib.beans;version="[2.2.0, 3.0.0)",net.sf.cglib.core;version=" > [2.2.0, 3.0.0)",net.sf.cglib.proxy;version="[2.2.0, 3.0.0)",net.sf.cglib.reflect;version="[2.2.0, 3.0.0)",net.sf.cglib.transform;version="[2.2.0, 3.0. > 0)",net.sf.cglib.transform.impl;version="[2.2.0, 3.0.0)",net.sf.ehcache;version="[1.2.3, 2.0.0)";resolution:="optional",net.sf.ehcache.util;version="[ > 1.2.3, 2.0.0)";resolution:="optional",net.sf.swarmcache;version="[1.0.0.RC2, 2.0.0)";resolution:="optional",org.apache.commons.collections.map;version > ="[3.1.0, 4.0.0)",org.apache.tools.ant;version="[1.7.0, 2.0.0)";resolution:="optional",org.apache.tools.ant.taskdefs;version="[1.7.0, 2.0.0)";resoluti > on:="optional",org.apache.tools.ant.types;version="[1.7.0, 2.0.0)";resolution:="optional",org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1. > 6.1, 2.0.0)",org.jboss.cache;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.config;version="[1.2.2, 4.0.0)";resolution:="optional",or > g.jboss.cache.lock;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.notifications.annotation;version="[1.2.2, 4.0.0)";resolution:="opti > onal",org.jboss.cache.notifications.event;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.optimistic;version="[1.2.2, 4.0.0)";resoluti > on:="optional",org.jgroups;version="[2.2.7, 3.0.0)",org.logicalcobwebs.proxool;version="[0.8.3, 1.0.0)";resolution:="optional",org.logicalcobwebs.prox > ool.configuration;version="[0.8.3, 1.0.0)";resolution:="optional",org.objectweb.asm;version="[1.5.3, 2.0.0)",org.slf4j;version="[1.5.6, 2.0.0)",org.w3 > c.dom;version="0",org.xml.sax;version="0" > {code} > Remark : the two bundles can be linked using Equinox 3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host[ https://issues.apache.org/jira/browse/FELIX-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788787#action_12788787 ] Pavol Juhos commented on FELIX-1919: ------------------------------------ I've encountered the same problem when trying to set up JPA / Hibernate on Felix 2.0.2. > Fragment bundle cannot be linked to its host > -------------------------------------------- > > Key: FELIX-1919 > URL: https://issues.apache.org/jira/browse/FELIX-1919 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-2.0.1 > Reporter: Charles Moulliard > Priority: Critical > > The following fragment bundle cannot be link to its host > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate.ejb/3.4.0.GA // FRAGMENT BUNDLE > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate/3.3.2.GA // HOST > Here is what the trace report > {code} > DEBUG: Excluding fragment com.springsource.org.hibernate.ejb from com.springsource.org.hibernate due to conflict with imported package javassist.bytec > ode from com.springsource.org.hibernate > DEBUG: Excluding fragment com.springsource.org.hibernate.annotations from com.springsource.org.hibernate due to conflict with imported package org.slf > 4j from com.springsource.org.hibernate > {code} > but the import declaration for javassist.bytecode / slf4j are correct > {code} > karaf@root> headers 86 > JBoss Hibernate Entity Manager (86) > ----------------------------------- > Ant-Version = Apache Ant 1.7.1 > Bundle-Classpath = . > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Entity Manager > Bundle-SymbolicName = com.springsource.org.hibernate.ejb > Bundle-Vendor = SpringSource > Bundle-Version = 3.4.0.GA > Created-By = 1.5.0_06-b05 (Sun Microsystems Inc.) > Export-Package = org.hibernate.ejb;version="3.4.0.GA";uses:="javax.naming,javax.persistence,javax.persistence.spi,javax.sql,org.hibernate,org.hibernat > e.cfg,org.hibernate.connection,org.hibernate.ejb.packaging,org.hibernate.engine,org.hibernate.event,org.hibernate.mapping,org.slf4j,org.xml.sax",org.h > ibernate.ejb.connection;version="3.4.0.GA";uses:="javax.sql,org.hibernate",org.hibernate.ejb.event;version="3.4.0.GA";uses:="org.hibernate.annotations > .common.reflection,org.hibernate.engine,org.hibernate.event,org.hibernate.persister.entity",org.hibernate.ejb.instrument;version="3.4.0.GA",org.hibern > ate.ejb.packaging;version="3.4.0.GA";uses:="javax.persistence.spi,org.slf4j,org.w3c.dom,org.xml.sax",org.hibernate.ejb.transaction;version="3.4.0.GA"; > uses:="org.hibernate,org.hibernate.jdbc,org.hibernate.transaction",org.hibernate.ejb.util;version="3.4.0.GA";uses:="javax.naming.event,javax.persisten > ce,javax.persistence.spi,org.hibernate,org.hibernate.ejb,org.slf4j",org.hibernate.engine;version="3.4.0.GA";uses:="org.hibernate,org.hibernate.event,o > rg.hibernate.type,org.slf4j" > Fragment-Host = com.springsource.org.hibernate;bundle-version="[3.3.1.GA, 3.4.0)" > Implementation-Title = Hibernate EntityManager > Implementation-URL = http://entitymanager.hibernate.org > Implementation-Vendor = hibernate.org > Implementation-Vendor-Id = hibernate.org > Implementation-Version = 3.4.0.GA > Import-Package = javassist.bytecode;version="[3.3.0.ga, 4.0.0)",javassist.bytecode.annotation;version="[3.3.0.ga, 4.0.0)",javax.naming,javax.naming.ev > ent,javax.naming.spi,javax.persistence;version="[1.0.0, 2.0.0)",javax.persistence.spi;version="[1.0.0, 2.0.0)",javax.sql,javax.transaction;version="[1 > .0.1, 2.0.0)";resolution:=optional,javax.xml.parsers,org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1.6.1, 2.0.0)",org.hibernate.annotation > s.common;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.reflection;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.util;ver > sion="[3.3.0.ga, 3.4.0)",org.slf4j;version="[1.5.3, 1.6.0)",org.w3c.dom,org.xml.sax > Manifest-Version = 1.0 > Specification-Title = Java Persistence > Specification-Vendor = jcp.org > Specification-Version = 1.0 > karaf@root> headers 89 > JBoss Hibernate Object-Relational Mapper (89) > --------------------------------------------- > Archiver-Version = Plexus Archiver > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Object-Relational Mapper > Bundle-SymbolicName = com.springsource.org.hibernate > Bundle-Vendor = SpringSource > Bundle-Version = 3.3.2.GA > Created-By = 1.5.0_18-b02 (Sun Microsystems Inc.) > Import-Package = antlr;version="[2.7.6, 3.0.0)",antlr.collections;version="[2.7.6, 3.0.0)",antlr.collections.impl;version="[2.7.6, 3.0.0)",com.mchange > .v2.c3p0;version="[0.9.1, 1.0.0)";resolution:="optional",com.opensymphony.oscache.base;version="[2.1.0, 3.0.0)";resolution:="optional",com.opensymphon > y.oscache.general;version="[2.1.0, 3.0.0)";resolution:="optional",javassist;version="[3.9.0.GA, 4.0.0)",javassist.bytecode;version="[3.9.0.GA, 4.0.0)" > ,javassist.util.proxy;version="[3.9.0.GA, 4.0.0)",javax.naming;version="0",javax.naming.event;version="0",javax.naming.spi;version="0",javax.security. > auth;version="0",javax.security.jacc;version="0";resolution:="optional",javax.sql;version="0",javax.transaction;version="[1.0.1, 2.0.0)";resolution:=" > optional",javax.transaction.xa;version="[1.0.1, 2.0.0)";resolution:="optional",net.sf.cglib.beans;version="[2.2.0, 3.0.0)",net.sf.cglib.core;version=" > [2.2.0, 3.0.0)",net.sf.cglib.proxy;version="[2.2.0, 3.0.0)",net.sf.cglib.reflect;version="[2.2.0, 3.0.0)",net.sf.cglib.transform;version="[2.2.0, 3.0. > 0)",net.sf.cglib.transform.impl;version="[2.2.0, 3.0.0)",net.sf.ehcache;version="[1.2.3, 2.0.0)";resolution:="optional",net.sf.ehcache.util;version="[ > 1.2.3, 2.0.0)";resolution:="optional",net.sf.swarmcache;version="[1.0.0.RC2, 2.0.0)";resolution:="optional",org.apache.commons.collections.map;version > ="[3.1.0, 4.0.0)",org.apache.tools.ant;version="[1.7.0, 2.0.0)";resolution:="optional",org.apache.tools.ant.taskdefs;version="[1.7.0, 2.0.0)";resoluti > on:="optional",org.apache.tools.ant.types;version="[1.7.0, 2.0.0)";resolution:="optional",org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1. > 6.1, 2.0.0)",org.jboss.cache;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.config;version="[1.2.2, 4.0.0)";resolution:="optional",or > g.jboss.cache.lock;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.notifications.annotation;version="[1.2.2, 4.0.0)";resolution:="opti > onal",org.jboss.cache.notifications.event;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.optimistic;version="[1.2.2, 4.0.0)";resoluti > on:="optional",org.jgroups;version="[2.2.7, 3.0.0)",org.logicalcobwebs.proxool;version="[0.8.3, 1.0.0)";resolution:="optional",org.logicalcobwebs.prox > ool.configuration;version="[0.8.3, 1.0.0)";resolution:="optional",org.objectweb.asm;version="[1.5.3, 2.0.0)",org.slf4j;version="[1.5.6, 2.0.0)",org.w3 > c.dom;version="0",org.xml.sax;version="0" > {code} > Remark : the two bundles can be linked using Equinox 3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host[ https://issues.apache.org/jira/browse/FELIX-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788791#action_12788791 ] Richard S. Hall commented on FELIX-1919: ---------------------------------------- Ok, I will try to look into this soon. > Fragment bundle cannot be linked to its host > -------------------------------------------- > > Key: FELIX-1919 > URL: https://issues.apache.org/jira/browse/FELIX-1919 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-2.0.1 > Reporter: Charles Moulliard > Priority: Critical > > The following fragment bundle cannot be link to its host > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate.ejb/3.4.0.GA // FRAGMENT BUNDLE > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate/3.3.2.GA // HOST > Here is what the trace report > {code} > DEBUG: Excluding fragment com.springsource.org.hibernate.ejb from com.springsource.org.hibernate due to conflict with imported package javassist.bytec > ode from com.springsource.org.hibernate > DEBUG: Excluding fragment com.springsource.org.hibernate.annotations from com.springsource.org.hibernate due to conflict with imported package org.slf > 4j from com.springsource.org.hibernate > {code} > but the import declaration for javassist.bytecode / slf4j are correct > {code} > karaf@root> headers 86 > JBoss Hibernate Entity Manager (86) > ----------------------------------- > Ant-Version = Apache Ant 1.7.1 > Bundle-Classpath = . > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Entity Manager > Bundle-SymbolicName = com.springsource.org.hibernate.ejb > Bundle-Vendor = SpringSource > Bundle-Version = 3.4.0.GA > Created-By = 1.5.0_06-b05 (Sun Microsystems Inc.) > Export-Package = org.hibernate.ejb;version="3.4.0.GA";uses:="javax.naming,javax.persistence,javax.persistence.spi,javax.sql,org.hibernate,org.hibernat > e.cfg,org.hibernate.connection,org.hibernate.ejb.packaging,org.hibernate.engine,org.hibernate.event,org.hibernate.mapping,org.slf4j,org.xml.sax",org.h > ibernate.ejb.connection;version="3.4.0.GA";uses:="javax.sql,org.hibernate",org.hibernate.ejb.event;version="3.4.0.GA";uses:="org.hibernate.annotations > .common.reflection,org.hibernate.engine,org.hibernate.event,org.hibernate.persister.entity",org.hibernate.ejb.instrument;version="3.4.0.GA",org.hibern > ate.ejb.packaging;version="3.4.0.GA";uses:="javax.persistence.spi,org.slf4j,org.w3c.dom,org.xml.sax",org.hibernate.ejb.transaction;version="3.4.0.GA"; > uses:="org.hibernate,org.hibernate.jdbc,org.hibernate.transaction",org.hibernate.ejb.util;version="3.4.0.GA";uses:="javax.naming.event,javax.persisten > ce,javax.persistence.spi,org.hibernate,org.hibernate.ejb,org.slf4j",org.hibernate.engine;version="3.4.0.GA";uses:="org.hibernate,org.hibernate.event,o > rg.hibernate.type,org.slf4j" > Fragment-Host = com.springsource.org.hibernate;bundle-version="[3.3.1.GA, 3.4.0)" > Implementation-Title = Hibernate EntityManager > Implementation-URL = http://entitymanager.hibernate.org > Implementation-Vendor = hibernate.org > Implementation-Vendor-Id = hibernate.org > Implementation-Version = 3.4.0.GA > Import-Package = javassist.bytecode;version="[3.3.0.ga, 4.0.0)",javassist.bytecode.annotation;version="[3.3.0.ga, 4.0.0)",javax.naming,javax.naming.ev > ent,javax.naming.spi,javax.persistence;version="[1.0.0, 2.0.0)",javax.persistence.spi;version="[1.0.0, 2.0.0)",javax.sql,javax.transaction;version="[1 > .0.1, 2.0.0)";resolution:=optional,javax.xml.parsers,org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1.6.1, 2.0.0)",org.hibernate.annotation > s.common;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.reflection;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.util;ver > sion="[3.3.0.ga, 3.4.0)",org.slf4j;version="[1.5.3, 1.6.0)",org.w3c.dom,org.xml.sax > Manifest-Version = 1.0 > Specification-Title = Java Persistence > Specification-Vendor = jcp.org > Specification-Version = 1.0 > karaf@root> headers 89 > JBoss Hibernate Object-Relational Mapper (89) > --------------------------------------------- > Archiver-Version = Plexus Archiver > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Object-Relational Mapper > Bundle-SymbolicName = com.springsource.org.hibernate > Bundle-Vendor = SpringSource > Bundle-Version = 3.3.2.GA > Created-By = 1.5.0_18-b02 (Sun Microsystems Inc.) > Import-Package = antlr;version="[2.7.6, 3.0.0)",antlr.collections;version="[2.7.6, 3.0.0)",antlr.collections.impl;version="[2.7.6, 3.0.0)",com.mchange > .v2.c3p0;version="[0.9.1, 1.0.0)";resolution:="optional",com.opensymphony.oscache.base;version="[2.1.0, 3.0.0)";resolution:="optional",com.opensymphon > y.oscache.general;version="[2.1.0, 3.0.0)";resolution:="optional",javassist;version="[3.9.0.GA, 4.0.0)",javassist.bytecode;version="[3.9.0.GA, 4.0.0)" > ,javassist.util.proxy;version="[3.9.0.GA, 4.0.0)",javax.naming;version="0",javax.naming.event;version="0",javax.naming.spi;version="0",javax.security. > auth;version="0",javax.security.jacc;version="0";resolution:="optional",javax.sql;version="0",javax.transaction;version="[1.0.1, 2.0.0)";resolution:=" > optional",javax.transaction.xa;version="[1.0.1, 2.0.0)";resolution:="optional",net.sf.cglib.beans;version="[2.2.0, 3.0.0)",net.sf.cglib.core;version=" > [2.2.0, 3.0.0)",net.sf.cglib.proxy;version="[2.2.0, 3.0.0)",net.sf.cglib.reflect;version="[2.2.0, 3.0.0)",net.sf.cglib.transform;version="[2.2.0, 3.0. > 0)",net.sf.cglib.transform.impl;version="[2.2.0, 3.0.0)",net.sf.ehcache;version="[1.2.3, 2.0.0)";resolution:="optional",net.sf.ehcache.util;version="[ > 1.2.3, 2.0.0)";resolution:="optional",net.sf.swarmcache;version="[1.0.0.RC2, 2.0.0)";resolution:="optional",org.apache.commons.collections.map;version > ="[3.1.0, 4.0.0)",org.apache.tools.ant;version="[1.7.0, 2.0.0)";resolution:="optional",org.apache.tools.ant.taskdefs;version="[1.7.0, 2.0.0)";resoluti > on:="optional",org.apache.tools.ant.types;version="[1.7.0, 2.0.0)";resolution:="optional",org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1. > 6.1, 2.0.0)",org.jboss.cache;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.config;version="[1.2.2, 4.0.0)";resolution:="optional",or > g.jboss.cache.lock;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.notifications.annotation;version="[1.2.2, 4.0.0)";resolution:="opti > onal",org.jboss.cache.notifications.event;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.optimistic;version="[1.2.2, 4.0.0)";resoluti > on:="optional",org.jgroups;version="[2.2.7, 3.0.0)",org.logicalcobwebs.proxool;version="[0.8.3, 1.0.0)";resolution:="optional",org.logicalcobwebs.prox > ool.configuration;version="[0.8.3, 1.0.0)";resolution:="optional",org.objectweb.asm;version="[1.5.3, 2.0.0)",org.slf4j;version="[1.5.6, 2.0.0)",org.w3 > c.dom;version="0",org.xml.sax;version="0" > {code} > Remark : the two bundles can be linked using Equinox 3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host[ https://issues.apache.org/jira/browse/FELIX-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797590#action_12797590 ] hatse butz commented on FELIX-1919: ----------------------------------- the same is true for hibernate and hibernate-annotations of Hibernate 3.4.0.GA (http://www.springsource.com/repository/app/library/version/detail?name=org.hibernate.ejb&version=3.4.0.GA) - the Fragment-Bundle hibernate-annotations is not attached to hibernate. I switched to knoplerfish, it works fine there. > Fragment bundle cannot be linked to its host > -------------------------------------------- > > Key: FELIX-1919 > URL: https://issues.apache.org/jira/browse/FELIX-1919 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-2.0.1 > Reporter: Charles Moulliard > Priority: Critical > > The following fragment bundle cannot be link to its host > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate.ejb/3.4.0.GA // FRAGMENT BUNDLE > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate/3.3.2.GA // HOST > Here is what the trace report > {code} > DEBUG: Excluding fragment com.springsource.org.hibernate.ejb from com.springsource.org.hibernate due to conflict with imported package javassist.bytec > ode from com.springsource.org.hibernate > DEBUG: Excluding fragment com.springsource.org.hibernate.annotations from com.springsource.org.hibernate due to conflict with imported package org.slf > 4j from com.springsource.org.hibernate > {code} > but the import declaration for javassist.bytecode / slf4j are correct > {code} > karaf@root> headers 86 > JBoss Hibernate Entity Manager (86) > ----------------------------------- > Ant-Version = Apache Ant 1.7.1 > Bundle-Classpath = . > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Entity Manager > Bundle-SymbolicName = com.springsource.org.hibernate.ejb > Bundle-Vendor = SpringSource > Bundle-Version = 3.4.0.GA > Created-By = 1.5.0_06-b05 (Sun Microsystems Inc.) > Export-Package = org.hibernate.ejb;version="3.4.0.GA";uses:="javax.naming,javax.persistence,javax.persistence.spi,javax.sql,org.hibernate,org.hibernat > e.cfg,org.hibernate.connection,org.hibernate.ejb.packaging,org.hibernate.engine,org.hibernate.event,org.hibernate.mapping,org.slf4j,org.xml.sax",org.h > ibernate.ejb.connection;version="3.4.0.GA";uses:="javax.sql,org.hibernate",org.hibernate.ejb.event;version="3.4.0.GA";uses:="org.hibernate.annotations > .common.reflection,org.hibernate.engine,org.hibernate.event,org.hibernate.persister.entity",org.hibernate.ejb.instrument;version="3.4.0.GA",org.hibern > ate.ejb.packaging;version="3.4.0.GA";uses:="javax.persistence.spi,org.slf4j,org.w3c.dom,org.xml.sax",org.hibernate.ejb.transaction;version="3.4.0.GA"; > uses:="org.hibernate,org.hibernate.jdbc,org.hibernate.transaction",org.hibernate.ejb.util;version="3.4.0.GA";uses:="javax.naming.event,javax.persisten > ce,javax.persistence.spi,org.hibernate,org.hibernate.ejb,org.slf4j",org.hibernate.engine;version="3.4.0.GA";uses:="org.hibernate,org.hibernate.event,o > rg.hibernate.type,org.slf4j" > Fragment-Host = com.springsource.org.hibernate;bundle-version="[3.3.1.GA, 3.4.0)" > Implementation-Title = Hibernate EntityManager > Implementation-URL = http://entitymanager.hibernate.org > Implementation-Vendor = hibernate.org > Implementation-Vendor-Id = hibernate.org > Implementation-Version = 3.4.0.GA > Import-Package = javassist.bytecode;version="[3.3.0.ga, 4.0.0)",javassist.bytecode.annotation;version="[3.3.0.ga, 4.0.0)",javax.naming,javax.naming.ev > ent,javax.naming.spi,javax.persistence;version="[1.0.0, 2.0.0)",javax.persistence.spi;version="[1.0.0, 2.0.0)",javax.sql,javax.transaction;version="[1 > .0.1, 2.0.0)";resolution:=optional,javax.xml.parsers,org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1.6.1, 2.0.0)",org.hibernate.annotation > s.common;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.reflection;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.util;ver > sion="[3.3.0.ga, 3.4.0)",org.slf4j;version="[1.5.3, 1.6.0)",org.w3c.dom,org.xml.sax > Manifest-Version = 1.0 > Specification-Title = Java Persistence > Specification-Vendor = jcp.org > Specification-Version = 1.0 > karaf@root> headers 89 > JBoss Hibernate Object-Relational Mapper (89) > --------------------------------------------- > Archiver-Version = Plexus Archiver > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Object-Relational Mapper > Bundle-SymbolicName = com.springsource.org.hibernate > Bundle-Vendor = SpringSource > Bundle-Version = 3.3.2.GA > Created-By = 1.5.0_18-b02 (Sun Microsystems Inc.) > Import-Package = antlr;version="[2.7.6, 3.0.0)",antlr.collections;version="[2.7.6, 3.0.0)",antlr.collections.impl;version="[2.7.6, 3.0.0)",com.mchange > .v2.c3p0;version="[0.9.1, 1.0.0)";resolution:="optional",com.opensymphony.oscache.base;version="[2.1.0, 3.0.0)";resolution:="optional",com.opensymphon > y.oscache.general;version="[2.1.0, 3.0.0)";resolution:="optional",javassist;version="[3.9.0.GA, 4.0.0)",javassist.bytecode;version="[3.9.0.GA, 4.0.0)" > ,javassist.util.proxy;version="[3.9.0.GA, 4.0.0)",javax.naming;version="0",javax.naming.event;version="0",javax.naming.spi;version="0",javax.security. > auth;version="0",javax.security.jacc;version="0";resolution:="optional",javax.sql;version="0",javax.transaction;version="[1.0.1, 2.0.0)";resolution:=" > optional",javax.transaction.xa;version="[1.0.1, 2.0.0)";resolution:="optional",net.sf.cglib.beans;version="[2.2.0, 3.0.0)",net.sf.cglib.core;version=" > [2.2.0, 3.0.0)",net.sf.cglib.proxy;version="[2.2.0, 3.0.0)",net.sf.cglib.reflect;version="[2.2.0, 3.0.0)",net.sf.cglib.transform;version="[2.2.0, 3.0. > 0)",net.sf.cglib.transform.impl;version="[2.2.0, 3.0.0)",net.sf.ehcache;version="[1.2.3, 2.0.0)";resolution:="optional",net.sf.ehcache.util;version="[ > 1.2.3, 2.0.0)";resolution:="optional",net.sf.swarmcache;version="[1.0.0.RC2, 2.0.0)";resolution:="optional",org.apache.commons.collections.map;version > ="[3.1.0, 4.0.0)",org.apache.tools.ant;version="[1.7.0, 2.0.0)";resolution:="optional",org.apache.tools.ant.taskdefs;version="[1.7.0, 2.0.0)";resoluti > on:="optional",org.apache.tools.ant.types;version="[1.7.0, 2.0.0)";resolution:="optional",org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1. > 6.1, 2.0.0)",org.jboss.cache;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.config;version="[1.2.2, 4.0.0)";resolution:="optional",or > g.jboss.cache.lock;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.notifications.annotation;version="[1.2.2, 4.0.0)";resolution:="opti > onal",org.jboss.cache.notifications.event;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.optimistic;version="[1.2.2, 4.0.0)";resoluti > on:="optional",org.jgroups;version="[2.2.7, 3.0.0)",org.logicalcobwebs.proxool;version="[0.8.3, 1.0.0)";resolution:="optional",org.logicalcobwebs.prox > ool.configuration;version="[0.8.3, 1.0.0)";resolution:="optional",org.objectweb.asm;version="[1.5.3, 2.0.0)",org.slf4j;version="[1.5.6, 2.0.0)",org.w3 > c.dom;version="0",org.xml.sax;version="0" > {code} > Remark : the two bundles can be linked using Equinox 3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host[ https://issues.apache.org/jira/browse/FELIX-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12803854#action_12803854 ] Richard S. Hall commented on FELIX-1919: ---------------------------------------- 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. > Fragment bundle cannot be linked to its host > -------------------------------------------- > > Key: FELIX-1919 > URL: https://issues.apache.org/jira/browse/FELIX-1919 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-2.0.1 > Reporter: Charles Moulliard > Priority: Critical > > The following fragment bundle cannot be link to its host > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate.ejb/3.4.0.GA // FRAGMENT BUNDLE > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate/3.3.2.GA // HOST > Here is what the trace report > {code} > DEBUG: Excluding fragment com.springsource.org.hibernate.ejb from com.springsource.org.hibernate due to conflict with imported package javassist.bytec > ode from com.springsource.org.hibernate > DEBUG: Excluding fragment com.springsource.org.hibernate.annotations from com.springsource.org.hibernate due to conflict with imported package org.slf > 4j from com.springsource.org.hibernate > {code} > but the import declaration for javassist.bytecode / slf4j are correct > {code} > karaf@root> headers 86 > JBoss Hibernate Entity Manager (86) > ----------------------------------- > Ant-Version = Apache Ant 1.7.1 > Bundle-Classpath = . > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Entity Manager > Bundle-SymbolicName = com.springsource.org.hibernate.ejb > Bundle-Vendor = SpringSource > Bundle-Version = 3.4.0.GA > Created-By = 1.5.0_06-b05 (Sun Microsystems Inc.) > Export-Package = org.hibernate.ejb;version="3.4.0.GA";uses:="javax.naming,javax.persistence,javax.persistence.spi,javax.sql,org.hibernate,org.hibernat > e.cfg,org.hibernate.connection,org.hibernate.ejb.packaging,org.hibernate.engine,org.hibernate.event,org.hibernate.mapping,org.slf4j,org.xml.sax",org.h > ibernate.ejb.connection;version="3.4.0.GA";uses:="javax.sql,org.hibernate",org.hibernate.ejb.event;version="3.4.0.GA";uses:="org.hibernate.annotations > .common.reflection,org.hibernate.engine,org.hibernate.event,org.hibernate.persister.entity",org.hibernate.ejb.instrument;version="3.4.0.GA",org.hibern > ate.ejb.packaging;version="3.4.0.GA";uses:="javax.persistence.spi,org.slf4j,org.w3c.dom,org.xml.sax",org.hibernate.ejb.transaction;version="3.4.0.GA"; > uses:="org.hibernate,org.hibernate.jdbc,org.hibernate.transaction",org.hibernate.ejb.util;version="3.4.0.GA";uses:="javax.naming.event,javax.persisten > ce,javax.persistence.spi,org.hibernate,org.hibernate.ejb,org.slf4j",org.hibernate.engine;version="3.4.0.GA";uses:="org.hibernate,org.hibernate.event,o > rg.hibernate.type,org.slf4j" > Fragment-Host = com.springsource.org.hibernate;bundle-version="[3.3.1.GA, 3.4.0)" > Implementation-Title = Hibernate EntityManager > Implementation-URL = http://entitymanager.hibernate.org > Implementation-Vendor = hibernate.org > Implementation-Vendor-Id = hibernate.org > Implementation-Version = 3.4.0.GA > Import-Package = javassist.bytecode;version="[3.3.0.ga, 4.0.0)",javassist.bytecode.annotation;version="[3.3.0.ga, 4.0.0)",javax.naming,javax.naming.ev > ent,javax.naming.spi,javax.persistence;version="[1.0.0, 2.0.0)",javax.persistence.spi;version="[1.0.0, 2.0.0)",javax.sql,javax.transaction;version="[1 > .0.1, 2.0.0)";resolution:=optional,javax.xml.parsers,org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1.6.1, 2.0.0)",org.hibernate.annotation > s.common;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.reflection;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.util;ver > sion="[3.3.0.ga, 3.4.0)",org.slf4j;version="[1.5.3, 1.6.0)",org.w3c.dom,org.xml.sax > Manifest-Version = 1.0 > Specification-Title = Java Persistence > Specification-Vendor = jcp.org > Specification-Version = 1.0 > karaf@root> headers 89 > JBoss Hibernate Object-Relational Mapper (89) > --------------------------------------------- > Archiver-Version = Plexus Archiver > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Object-Relational Mapper > Bundle-SymbolicName = com.springsource.org.hibernate > Bundle-Vendor = SpringSource > Bundle-Version = 3.3.2.GA > Created-By = 1.5.0_18-b02 (Sun Microsystems Inc.) > Import-Package = antlr;version="[2.7.6, 3.0.0)",antlr.collections;version="[2.7.6, 3.0.0)",antlr.collections.impl;version="[2.7.6, 3.0.0)",com.mchange > .v2.c3p0;version="[0.9.1, 1.0.0)";resolution:="optional",com.opensymphony.oscache.base;version="[2.1.0, 3.0.0)";resolution:="optional",com.opensymphon > y.oscache.general;version="[2.1.0, 3.0.0)";resolution:="optional",javassist;version="[3.9.0.GA, 4.0.0)",javassist.bytecode;version="[3.9.0.GA, 4.0.0)" > ,javassist.util.proxy;version="[3.9.0.GA, 4.0.0)",javax.naming;version="0",javax.naming.event;version="0",javax.naming.spi;version="0",javax.security. > auth;version="0",javax.security.jacc;version="0";resolution:="optional",javax.sql;version="0",javax.transaction;version="[1.0.1, 2.0.0)";resolution:=" > optional",javax.transaction.xa;version="[1.0.1, 2.0.0)";resolution:="optional",net.sf.cglib.beans;version="[2.2.0, 3.0.0)",net.sf.cglib.core;version=" > [2.2.0, 3.0.0)",net.sf.cglib.proxy;version="[2.2.0, 3.0.0)",net.sf.cglib.reflect;version="[2.2.0, 3.0.0)",net.sf.cglib.transform;version="[2.2.0, 3.0. > 0)",net.sf.cglib.transform.impl;version="[2.2.0, 3.0.0)",net.sf.ehcache;version="[1.2.3, 2.0.0)";resolution:="optional",net.sf.ehcache.util;version="[ > 1.2.3, 2.0.0)";resolution:="optional",net.sf.swarmcache;version="[1.0.0.RC2, 2.0.0)";resolution:="optional",org.apache.commons.collections.map;version > ="[3.1.0, 4.0.0)",org.apache.tools.ant;version="[1.7.0, 2.0.0)";resolution:="optional",org.apache.tools.ant.taskdefs;version="[1.7.0, 2.0.0)";resoluti > on:="optional",org.apache.tools.ant.types;version="[1.7.0, 2.0.0)";resolution:="optional",org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1. > 6.1, 2.0.0)",org.jboss.cache;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.config;version="[1.2.2, 4.0.0)";resolution:="optional",or > g.jboss.cache.lock;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.notifications.annotation;version="[1.2.2, 4.0.0)";resolution:="opti > onal",org.jboss.cache.notifications.event;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.optimistic;version="[1.2.2, 4.0.0)";resoluti > on:="optional",org.jgroups;version="[2.2.7, 3.0.0)",org.logicalcobwebs.proxool;version="[0.8.3, 1.0.0)";resolution:="optional",org.logicalcobwebs.prox > ool.configuration;version="[0.8.3, 1.0.0)";resolution:="optional",org.objectweb.asm;version="[1.5.3, 2.0.0)",org.slf4j;version="[1.5.6, 2.0.0)",org.w3 > c.dom;version="0",org.xml.sax;version="0" > {code} > Remark : the two bundles can be linked using Equinox 3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Resolved: (FELIX-1919) Fragment bundle cannot be linked to its host[ https://issues.apache.org/jira/browse/FELIX-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Richard S. Hall resolved FELIX-1919. ------------------------------------ Resolution: Fixed Fix Version/s: felix-2.2.0 Assignee: Richard S. Hall The fix was verified, so I am resolving this issue. Charles, please close if you are satisfied. Thanks. > Fragment bundle cannot be linked to its host > -------------------------------------------- > > Key: FELIX-1919 > URL: https://issues.apache.org/jira/browse/FELIX-1919 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-2.0.1 > Reporter: Charles Moulliard > Assignee: Richard S. Hall > Priority: Critical > Fix For: felix-2.2.0 > > > The following fragment bundle cannot be link to its host > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate.ejb/3.4.0.GA // FRAGMENT BUNDLE > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate/3.3.2.GA // HOST > Here is what the trace report > {code} > DEBUG: Excluding fragment com.springsource.org.hibernate.ejb from com.springsource.org.hibernate due to conflict with imported package javassist.bytec > ode from com.springsource.org.hibernate > DEBUG: Excluding fragment com.springsource.org.hibernate.annotations from com.springsource.org.hibernate due to conflict with imported package org.slf > 4j from com.springsource.org.hibernate > {code} > but the import declaration for javassist.bytecode / slf4j are correct > {code} > karaf@root> headers 86 > JBoss Hibernate Entity Manager (86) > ----------------------------------- > Ant-Version = Apache Ant 1.7.1 > Bundle-Classpath = . > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Entity Manager > Bundle-SymbolicName = com.springsource.org.hibernate.ejb > Bundle-Vendor = SpringSource > Bundle-Version = 3.4.0.GA > Created-By = 1.5.0_06-b05 (Sun Microsystems Inc.) > Export-Package = org.hibernate.ejb;version="3.4.0.GA";uses:="javax.naming,javax.persistence,javax.persistence.spi,javax.sql,org.hibernate,org.hibernat > e.cfg,org.hibernate.connection,org.hibernate.ejb.packaging,org.hibernate.engine,org.hibernate.event,org.hibernate.mapping,org.slf4j,org.xml.sax",org.h > ibernate.ejb.connection;version="3.4.0.GA";uses:="javax.sql,org.hibernate",org.hibernate.ejb.event;version="3.4.0.GA";uses:="org.hibernate.annotations > .common.reflection,org.hibernate.engine,org.hibernate.event,org.hibernate.persister.entity",org.hibernate.ejb.instrument;version="3.4.0.GA",org.hibern > ate.ejb.packaging;version="3.4.0.GA";uses:="javax.persistence.spi,org.slf4j,org.w3c.dom,org.xml.sax",org.hibernate.ejb.transaction;version="3.4.0.GA"; > uses:="org.hibernate,org.hibernate.jdbc,org.hibernate.transaction",org.hibernate.ejb.util;version="3.4.0.GA";uses:="javax.naming.event,javax.persisten > ce,javax.persistence.spi,org.hibernate,org.hibernate.ejb,org.slf4j",org.hibernate.engine;version="3.4.0.GA";uses:="org.hibernate,org.hibernate.event,o > rg.hibernate.type,org.slf4j" > Fragment-Host = com.springsource.org.hibernate;bundle-version="[3.3.1.GA, 3.4.0)" > Implementation-Title = Hibernate EntityManager > Implementation-URL = http://entitymanager.hibernate.org > Implementation-Vendor = hibernate.org > Implementation-Vendor-Id = hibernate.org > Implementation-Version = 3.4.0.GA > Import-Package = javassist.bytecode;version="[3.3.0.ga, 4.0.0)",javassist.bytecode.annotation;version="[3.3.0.ga, 4.0.0)",javax.naming,javax.naming.ev > ent,javax.naming.spi,javax.persistence;version="[1.0.0, 2.0.0)",javax.persistence.spi;version="[1.0.0, 2.0.0)",javax.sql,javax.transaction;version="[1 > .0.1, 2.0.0)";resolution:=optional,javax.xml.parsers,org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1.6.1, 2.0.0)",org.hibernate.annotation > s.common;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.reflection;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.util;ver > sion="[3.3.0.ga, 3.4.0)",org.slf4j;version="[1.5.3, 1.6.0)",org.w3c.dom,org.xml.sax > Manifest-Version = 1.0 > Specification-Title = Java Persistence > Specification-Vendor = jcp.org > Specification-Version = 1.0 > karaf@root> headers 89 > JBoss Hibernate Object-Relational Mapper (89) > --------------------------------------------- > Archiver-Version = Plexus Archiver > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Object-Relational Mapper > Bundle-SymbolicName = com.springsource.org.hibernate > Bundle-Vendor = SpringSource > Bundle-Version = 3.3.2.GA > Created-By = 1.5.0_18-b02 (Sun Microsystems Inc.) > Import-Package = antlr;version="[2.7.6, 3.0.0)",antlr.collections;version="[2.7.6, 3.0.0)",antlr.collections.impl;version="[2.7.6, 3.0.0)",com.mchange > .v2.c3p0;version="[0.9.1, 1.0.0)";resolution:="optional",com.opensymphony.oscache.base;version="[2.1.0, 3.0.0)";resolution:="optional",com.opensymphon > y.oscache.general;version="[2.1.0, 3.0.0)";resolution:="optional",javassist;version="[3.9.0.GA, 4.0.0)",javassist.bytecode;version="[3.9.0.GA, 4.0.0)" > ,javassist.util.proxy;version="[3.9.0.GA, 4.0.0)",javax.naming;version="0",javax.naming.event;version="0",javax.naming.spi;version="0",javax.security. > auth;version="0",javax.security.jacc;version="0";resolution:="optional",javax.sql;version="0",javax.transaction;version="[1.0.1, 2.0.0)";resolution:=" > optional",javax.transaction.xa;version="[1.0.1, 2.0.0)";resolution:="optional",net.sf.cglib.beans;version="[2.2.0, 3.0.0)",net.sf.cglib.core;version=" > [2.2.0, 3.0.0)",net.sf.cglib.proxy;version="[2.2.0, 3.0.0)",net.sf.cglib.reflect;version="[2.2.0, 3.0.0)",net.sf.cglib.transform;version="[2.2.0, 3.0. > 0)",net.sf.cglib.transform.impl;version="[2.2.0, 3.0.0)",net.sf.ehcache;version="[1.2.3, 2.0.0)";resolution:="optional",net.sf.ehcache.util;version="[ > 1.2.3, 2.0.0)";resolution:="optional",net.sf.swarmcache;version="[1.0.0.RC2, 2.0.0)";resolution:="optional",org.apache.commons.collections.map;version > ="[3.1.0, 4.0.0)",org.apache.tools.ant;version="[1.7.0, 2.0.0)";resolution:="optional",org.apache.tools.ant.taskdefs;version="[1.7.0, 2.0.0)";resoluti > on:="optional",org.apache.tools.ant.types;version="[1.7.0, 2.0.0)";resolution:="optional",org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1. > 6.1, 2.0.0)",org.jboss.cache;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.config;version="[1.2.2, 4.0.0)";resolution:="optional",or > g.jboss.cache.lock;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.notifications.annotation;version="[1.2.2, 4.0.0)";resolution:="opti > onal",org.jboss.cache.notifications.event;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.optimistic;version="[1.2.2, 4.0.0)";resoluti > on:="optional",org.jgroups;version="[2.2.7, 3.0.0)",org.logicalcobwebs.proxool;version="[0.8.3, 1.0.0)";resolution:="optional",org.logicalcobwebs.prox > ool.configuration;version="[0.8.3, 1.0.0)";resolution:="optional",org.objectweb.asm;version="[1.5.3, 2.0.0)",org.slf4j;version="[1.5.6, 2.0.0)",org.w3 > c.dom;version="0",org.xml.sax;version="0" > {code} > Remark : the two bundles can be linked using Equinox 3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
Re: [jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its hostOn Fri, Jan 22, 2010 at 8:16 PM, Richard S. Hall (JIRA) <jira@...> 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 hostOn 2/8/10 16:57, Guo Du wrote:
> On Fri, Jan 22, 2010 at 8:16 PM, Richard S. Hall (JIRA)<jira@...> 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 > |
|
|
Re: [jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its hostOn Mon, Feb 8, 2010 at 10:23 PM, Richard S. Hall <heavy@...> 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 hostOn 2/8/10 8:06 PM, Guo Du wrote: > On Mon, Feb 8, 2010 at 10:23 PM, Richard S. Hall<heavy@...> 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 hostOn Tue, Feb 9, 2010 at 1:11 AM, Richard S. Hall <heavy@...> 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 hostOn Tue, Feb 9, 2010 at 1:11 AM, Richard S. Hall <heavy@...> 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 hostThanks. 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<heavy@...> 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 hostp.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<heavy@...> 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 hostOn Thu, Feb 11, 2010 at 8:04 AM, Richard S. Hall <heavy@...> 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 |
|
|
[jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host[ https://issues.apache.org/jira/browse/FELIX-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832682#action_12832682 ] Guo Du commented on FELIX-1919: ------------------------------- The fix may introduced another issues: Fragment bundle ignored silently when the host Bundle-SymbolicName equals import package name https://issues.apache.org/jira/browse/FELIX-2067 > Fragment bundle cannot be linked to its host > -------------------------------------------- > > Key: FELIX-1919 > URL: https://issues.apache.org/jira/browse/FELIX-1919 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: felix-2.0.1 > Reporter: Charles Moulliard > Assignee: Richard S. Hall > Priority: Critical > Fix For: felix-2.0.3 > > > The following fragment bundle cannot be link to its host > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate.ejb/3.4.0.GA // FRAGMENT BUNDLE > osgi:install -s mvn:org.hibernate/com.springsource.org.hibernate/3.3.2.GA // HOST > Here is what the trace report > {code} > DEBUG: Excluding fragment com.springsource.org.hibernate.ejb from com.springsource.org.hibernate due to conflict with imported package javassist.bytec > ode from com.springsource.org.hibernate > DEBUG: Excluding fragment com.springsource.org.hibernate.annotations from com.springsource.org.hibernate due to conflict with imported package org.slf > 4j from com.springsource.org.hibernate > {code} > but the import declaration for javassist.bytecode / slf4j are correct > {code} > karaf@root> headers 86 > JBoss Hibernate Entity Manager (86) > ----------------------------------- > Ant-Version = Apache Ant 1.7.1 > Bundle-Classpath = . > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Entity Manager > Bundle-SymbolicName = com.springsource.org.hibernate.ejb > Bundle-Vendor = SpringSource > Bundle-Version = 3.4.0.GA > Created-By = 1.5.0_06-b05 (Sun Microsystems Inc.) > Export-Package = org.hibernate.ejb;version="3.4.0.GA";uses:="javax.naming,javax.persistence,javax.persistence.spi,javax.sql,org.hibernate,org.hibernat > e.cfg,org.hibernate.connection,org.hibernate.ejb.packaging,org.hibernate.engine,org.hibernate.event,org.hibernate.mapping,org.slf4j,org.xml.sax",org.h > ibernate.ejb.connection;version="3.4.0.GA";uses:="javax.sql,org.hibernate",org.hibernate.ejb.event;version="3.4.0.GA";uses:="org.hibernate.annotations > .common.reflection,org.hibernate.engine,org.hibernate.event,org.hibernate.persister.entity",org.hibernate.ejb.instrument;version="3.4.0.GA",org.hibern > ate.ejb.packaging;version="3.4.0.GA";uses:="javax.persistence.spi,org.slf4j,org.w3c.dom,org.xml.sax",org.hibernate.ejb.transaction;version="3.4.0.GA"; > uses:="org.hibernate,org.hibernate.jdbc,org.hibernate.transaction",org.hibernate.ejb.util;version="3.4.0.GA";uses:="javax.naming.event,javax.persisten > ce,javax.persistence.spi,org.hibernate,org.hibernate.ejb,org.slf4j",org.hibernate.engine;version="3.4.0.GA";uses:="org.hibernate,org.hibernate.event,o > rg.hibernate.type,org.slf4j" > Fragment-Host = com.springsource.org.hibernate;bundle-version="[3.3.1.GA, 3.4.0)" > Implementation-Title = Hibernate EntityManager > Implementation-URL = http://entitymanager.hibernate.org > Implementation-Vendor = hibernate.org > Implementation-Vendor-Id = hibernate.org > Implementation-Version = 3.4.0.GA > Import-Package = javassist.bytecode;version="[3.3.0.ga, 4.0.0)",javassist.bytecode.annotation;version="[3.3.0.ga, 4.0.0)",javax.naming,javax.naming.ev > ent,javax.naming.spi,javax.persistence;version="[1.0.0, 2.0.0)",javax.persistence.spi;version="[1.0.0, 2.0.0)",javax.sql,javax.transaction;version="[1 > .0.1, 2.0.0)";resolution:=optional,javax.xml.parsers,org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1.6.1, 2.0.0)",org.hibernate.annotation > s.common;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.reflection;version="[3.3.0.ga, 3.4.0)",org.hibernate.annotations.common.util;ver > sion="[3.3.0.ga, 3.4.0)",org.slf4j;version="[1.5.3, 1.6.0)",org.w3c.dom,org.xml.sax > Manifest-Version = 1.0 > Specification-Title = Java Persistence > Specification-Vendor = jcp.org > Specification-Version = 1.0 > karaf@root> headers 89 > JBoss Hibernate Object-Relational Mapper (89) > --------------------------------------------- > Archiver-Version = Plexus Archiver > Bundle-ManifestVersion = 2 > Bundle-Name = JBoss Hibernate Object-Relational Mapper > Bundle-SymbolicName = com.springsource.org.hibernate > Bundle-Vendor = SpringSource > Bundle-Version = 3.3.2.GA > Created-By = 1.5.0_18-b02 (Sun Microsystems Inc.) > Import-Package = antlr;version="[2.7.6, 3.0.0)",antlr.collections;version="[2.7.6, 3.0.0)",antlr.collections.impl;version="[2.7.6, 3.0.0)",com.mchange > .v2.c3p0;version="[0.9.1, 1.0.0)";resolution:="optional",com.opensymphony.oscache.base;version="[2.1.0, 3.0.0)";resolution:="optional",com.opensymphon > y.oscache.general;version="[2.1.0, 3.0.0)";resolution:="optional",javassist;version="[3.9.0.GA, 4.0.0)",javassist.bytecode;version="[3.9.0.GA, 4.0.0)" > ,javassist.util.proxy;version="[3.9.0.GA, 4.0.0)",javax.naming;version="0",javax.naming.event;version="0",javax.naming.spi;version="0",javax.security. > auth;version="0",javax.security.jacc;version="0";resolution:="optional",javax.sql;version="0",javax.transaction;version="[1.0.1, 2.0.0)";resolution:=" > optional",javax.transaction.xa;version="[1.0.1, 2.0.0)";resolution:="optional",net.sf.cglib.beans;version="[2.2.0, 3.0.0)",net.sf.cglib.core;version=" > [2.2.0, 3.0.0)",net.sf.cglib.proxy;version="[2.2.0, 3.0.0)",net.sf.cglib.reflect;version="[2.2.0, 3.0.0)",net.sf.cglib.transform;version="[2.2.0, 3.0. > 0)",net.sf.cglib.transform.impl;version="[2.2.0, 3.0.0)",net.sf.ehcache;version="[1.2.3, 2.0.0)";resolution:="optional",net.sf.ehcache.util;version="[ > 1.2.3, 2.0.0)";resolution:="optional",net.sf.swarmcache;version="[1.0.0.RC2, 2.0.0)";resolution:="optional",org.apache.commons.collections.map;version > ="[3.1.0, 4.0.0)",org.apache.tools.ant;version="[1.7.0, 2.0.0)";resolution:="optional",org.apache.tools.ant.taskdefs;version="[1.7.0, 2.0.0)";resoluti > on:="optional",org.apache.tools.ant.types;version="[1.7.0, 2.0.0)";resolution:="optional",org.dom4j;version="[1.6.1, 2.0.0)",org.dom4j.io;version="[1. > 6.1, 2.0.0)",org.jboss.cache;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.config;version="[1.2.2, 4.0.0)";resolution:="optional",or > g.jboss.cache.lock;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.notifications.annotation;version="[1.2.2, 4.0.0)";resolution:="opti > onal",org.jboss.cache.notifications.event;version="[1.2.2, 4.0.0)";resolution:="optional",org.jboss.cache.optimistic;version="[1.2.2, 4.0.0)";resoluti > on:="optional",org.jgroups;version="[2.2.7, 3.0.0)",org.logicalcobwebs.proxool;version="[0.8.3, 1.0.0)";resolution:="optional",org.logicalcobwebs.prox > ool.configuration;version="[0.8.3, 1.0.0)";resolution:="optional",org.objectweb.asm;version="[1.5.3, 2.0.0)",org.slf4j;version="[1.5.6, 2.0.0)",org.w3 > c.dom;version="0",org.xml.sax;version="0" > {code} > Remark : the two bundles can be linked using Equinox 3 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
| Free embeddable forum powered by Nabble | Forum Help |