Return-Path: X-Original-To: apmail-karaf-dev-archive@minotaur.apache.org Delivered-To: apmail-karaf-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B81E717236 for ; Thu, 20 Aug 2015 05:52:51 +0000 (UTC) Received: (qmail 85858 invoked by uid 500); 20 Aug 2015 05:52:51 -0000 Delivered-To: apmail-karaf-dev-archive@karaf.apache.org Received: (qmail 85821 invoked by uid 500); 20 Aug 2015 05:52:51 -0000 Mailing-List: contact dev-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list dev@karaf.apache.org Received: (qmail 85810 invoked by uid 99); 20 Aug 2015 05:52:51 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2015 05:52:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 73F78DF675 for ; Thu, 20 Aug 2015 05:52:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.314 X-Spam-Level: * X-Spam-Status: No, score=1.314 tagged_above=-999 required=6.31 tests=[URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id yKbIWwvaDScP for ; Thu, 20 Aug 2015 05:52:35 +0000 (UTC) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id E38F521381 for ; Thu, 20 Aug 2015 05:52:34 +0000 (UTC) Received: from mfilter29-d.gandi.net (mfilter29-d.gandi.net [217.70.178.160]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 6344B172089 for ; Thu, 20 Aug 2015 07:52:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter29-d.gandi.net Received: from relay4-d.mail.gandi.net ([IPv6:::ffff:217.70.183.196]) by mfilter29-d.gandi.net (mfilter29-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id qbLOZj10rx6q for ; Thu, 20 Aug 2015 07:52:27 +0200 (CEST) X-Originating-IP: 82.238.224.4 Received: from [192.168.134.10] (bre91-1-82-238-224-4.fbx.proxad.net [82.238.224.4]) (Authenticated sender: jb@nanthrax.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id ECC8C172085 for ; Thu, 20 Aug 2015 07:52:26 +0200 (CEST) Message-ID: <55D56B1A.7020802@nanthrax.net> Date: Thu, 20 Aug 2015 07:52:26 +0200 From: =?windows-1252?Q?Jean-Baptiste_Onofr=E9?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: dev@karaf.apache.org Subject: Re: Karaf issue - http-client related References: <1439957970125-4041922.post@n3.nabble.com> <1439985179384-4041929.post@n3.nabble.com> <55D46F50.4060701@die-schneider.net> <1439985760243-4041931.post@n3.nabble.com> <9c309eb3bf60426b485afa69a7c779c1@mobigov.com> <1440047515227-4041960.post@n3.nabble.com> In-Reply-To: <1440047515227-4041960.post@n3.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Hi, you have to use: mvn:org.apache.httpcomponents/httpcore-osgi/4.4.1 and mvn:org.apache.httpcomponents/httpclient-osgi/4.4.1 both on central. Regards JB On 08/20/2015 07:11 AM, abhilashb wrote: > Hello, > > When tried to install httocore getting below error - > > Please help me. > > Caused by: org.osgi.framework.BundleException: Unable to cache bundle: > mvn:org.apache.httpcomponents/httpcore/4.4.1 > at org.apache.felix.framework.Felix.installBundle(Felix.java:2870) > at > org.apache.felix.framework.BundleContextImpl.installBundle(BundleContex= tImpl.java:165) > at org.apache.karaf.bundle.command.Install.doExecute(Install.java:43) > ... 30 more > Caused by: java.io.IOException: Error resolving artifact > org.apache.httpcomponents:httpcore:jar:4.4.1: Could not transfer artifa= ct > org.apache.httpcomponents:httpcore:jar:4.4.1 from/to central > (http://repo1.maven.org/maven2/): Error transferring file: repo1.maven.= org > at > org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedR= esolver.java:258) > at > org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolveFile(AetherBa= sedResolver.java:239) > at > org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedR= esolver.java:223) > at > org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.jav= a:122) > at > org.apache.felix.framework.util.SecureAction.getURLConnectionInputStrea= m(SecureAction.java:524) > at > org.apache.felix.framework.cache.JarRevision.initialize(JarRevision.jav= a:165) > at org.apache.felix.framework.cache.JarRevision.(JarRevision.jav= a:77) > at > org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocati= on(BundleArchive.java:878) > at > org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArc= hive.java:550) > at > org.apache.felix.framework.cache.BundleArchive.(BundleArchive.jav= a:153) > at > org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:27= 7) > at org.apache.felix.framework.Felix.installBundle(Felix.java:2866) > ... 32 more > > Regards, > Abhilash B. > > > > -- > View this message in context: http://karaf.922171.n3.nabble.com/Karaf-i= ssue-http-client-related-tp4041922p4041960.html > Sent from the Karaf - Dev mailing list archive at Nabble.com. > --=20 Jean-Baptiste Onofr=E9 jbonofre@apache.org http://blog.nanthrax.net Talend - http://www.talend.com