Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D23411103 for ; Fri, 25 Apr 2014 08:21:22 +0000 (UTC) Received: (qmail 92685 invoked by uid 500); 25 Apr 2014 08:21:21 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 91998 invoked by uid 500); 25 Apr 2014 08:21:18 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 91950 invoked by uid 99); 25 Apr 2014 08:21:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2014 08:21:16 +0000 Date: Fri, 25 Apr 2014 08:21:16 +0000 (UTC) From: "Martin Lichtin (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-7392) Unable to resolve bundle revision org.apache.camel.camel-servlet MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-7392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980794#comment-13980794 ] Martin Lichtin commented on CAMEL-7392: --------------------------------------- Unfortunately that didn't make a difference. To reproduce, it's sufficient to first load hawtio-core, then load camel-servlet into a cleanly started Karaf: karaf@root> features:addurl mvn:io.hawt/hawtio-karaf/1.3.1/xml/features karaf@root> features:install hawtio karaf@root> features:install camel-servlet Error executing command: Could not start bundle mvn:org.apache.camel/camel-servlet/2.13.0 in feature(s) camel-servlet-2.13.0: Uses constraint violation. Unable to resolve bundle revision org.apache.camel.camel-servlet [99.0] because it is exposed to package 'javax.servlet' from bundle revisions org.apache.geronimo.specs.geronimo-servlet_2.5_spec [55.0] and org.apache.geronimo.specs.geronimo-servlet_3.0_spec [97.0] via two dependency chains. Chain 1: org.apache.camel.camel-servlet [99.0] import: (&(osgi.wiring.package=javax.servlet)(version>=2.5.0)(!(version>=4.0.0))) | export: osgi.wiring.package=javax.servlet org.apache.geronimo.specs.geronimo-servlet_2.5_spec [55.0] Chain 2: org.apache.camel.camel-servlet [99.0] import: (&(osgi.wiring.package=org.apache.camel.component.http)(version>=2.13.0)(!(version>=2.14.0))) | export: osgi.wiring.package=org.apache.camel.component.http; uses:=javax.servlet org.apache.camel.camel-http [98.0] import: (&(osgi.wiring.package=javax.servlet)(version>=2.5.0)(!(version>=4.0.0))) | export: osgi.wiring.package=javax.servlet org.apache.geronimo.specs.geronimo-servlet_3.0_spec [97.0] karaf@root> > Unable to resolve bundle revision org.apache.camel.camel-servlet > ----------------------------------------------------------------- > > Key: CAMEL-7392 > URL: https://issues.apache.org/jira/browse/CAMEL-7392 > Project: Camel > Issue Type: Bug > Affects Versions: 2.13.0 > Environment: Karaf 2.3.4 > Reporter: Martin Lichtin > > When loading features > mvn:org.apache.activemq/activemq-karaf/5.7.0/xml/features > mvn:org.apache.camel.karaf/apache-camel/2.13.0/xml/features > mvn:io.hawt/hawtio-karaf/1.2.3/xml/features > activemq > camel > camel-jms > camel-mvel > camel-groovy > hawtio-core > camel-cache > cxf > camel-cxf > camel-http > camel-http4 > camel-servlet > the following issue occurs: > Error executing command: Could not start bundle mvn:org.apache.camel/camel-servlet/2.13.0 in feature(s) camel-servlet-2.13.0: Uses constraint violation. Unable to resolve bundle revision org.apache.camel.camel-servlet [243.0] because it is exposed to package 'javax.servlet' from bundle revisions org.apache.geronimo.specs.geronimo-servlet_2.5_spec [110.0] and org.apache.geronimo.specs.geronimo-servlet_3.0_spec [238.0] via two dependency chains. > Chain 1: > org.apache.camel.camel-servlet [243.0] > import: (&(osgi.wiring.package=javax.servlet)(version>=2.5.0)(!(version>=4.0.0))) > | > export: osgi.wiring.package=javax.servlet > org.apache.geronimo.specs.geronimo-servlet_2.5_spec [110.0] > Chain 2: > org.apache.camel.camel-servlet [243.0] > import: (&(osgi.wiring.package=org.apache.camel.component.http)(version>=2.13.0)(!(version>=2.14.0))) > | > export: osgi.wiring.package=org.apache.camel.component.http; uses:=javax.servlet > org.apache.camel.camel-http [239.0] > import: (&(osgi.wiring.package=javax.servlet)(version>=2.5.0)(!(version>=4.0.0))) > | > export: osgi.wiring.package=javax.servlet > org.apache.geronimo.specs.geronimo-servlet_3.0_spec [238.0] -- This message was sent by Atlassian JIRA (v6.2#6252)