Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 59801 invoked from network); 10 Dec 2009 16:52:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Dec 2009 16:52:51 -0000 Received: (qmail 45505 invoked by uid 500); 10 Dec 2009 16:52:51 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 45426 invoked by uid 500); 10 Dec 2009 16:52:51 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 45415 invoked by uid 99); 10 Dec 2009 16:52:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 16:52:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2009 16:52:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2DF7D234C1EF for ; Thu, 10 Dec 2009 08:52:18 -0800 (PST) Message-ID: <1851072071.1260463938187.JavaMail.jira@brutus> Date: Thu, 10 Dec 2009 16:52:18 +0000 (UTC) From: "Pavol Juhos (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-1919) Fragment bundle cannot be linked to its host In-Reply-To: <2009451570.1259927300726.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.