[ 
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}
> ka...@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
> ka...@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.

Reply via email to