Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8B4B0200CD0 for ; Mon, 19 Jun 2017 18:55:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8AB18160BE1; Mon, 19 Jun 2017 16:55:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D2D91160BE4 for ; Mon, 19 Jun 2017 18:55:06 +0200 (CEST) Received: (qmail 19682 invoked by uid 500); 19 Jun 2017 16:55:05 -0000 Mailing-List: contact issues-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 issues@karaf.apache.org Received: (qmail 19644 invoked by uid 99); 19 Jun 2017 16:55:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jun 2017 16:55:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 66D081890B4 for ; Mon, 19 Jun 2017 16:55:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id pTyny1tje-zA for ; Mon, 19 Jun 2017 16:55:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C39F75FBBF for ; Mon, 19 Jun 2017 16:55:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id AEFD9E0933 for ; Mon, 19 Jun 2017 16:55:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 668E72409C for ; Mon, 19 Jun 2017 16:55:00 +0000 (UTC) Date: Mon, 19 Jun 2017 16:55:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-5208) Improve feature:install error message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 19 Jun 2017 16:55:07 -0000 [ https://issues.apache.org/jira/browse/KARAF-5208?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1605= 4321#comment-16054321 ]=20 ASF GitHub Bot commented on KARAF-5208: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/karaf/pull/320 > Improve feature:install error message > ------------------------------------- > > Key: KARAF-5208 > URL: https://issues.apache.org/jira/browse/KARAF-5208 > Project: Karaf > Issue Type: Improvement > Components: karaf-feature > Affects Versions: 4.2.0 > Reporter: Josef Ludv=C3=AD=C4=8Dek > Assignee: Jean-Baptiste Onofr=C3=A9 > > Error of {{feature:install}} command gives no valuable info: > {code} > karaf@root()> feature:install spring-jdbc = = Error executing com= mand: Error > {code} > One must check for logs > {code} > 2017-06-15T10:56:46,932 | ERROR | Karaf local console user karaf | ShellU= til | 43 - org.apache.karaf.shell.core - 4.2.0.fuse-= 000025 | Exception caught while executing command > org.apache.karaf.features.internal.util.MultiException: Error > =09at org.apache.karaf.features.internal.download.impl.MavenDownloadManag= er$MavenDownloader.(MavenDownloadManager.java:86) ~[?:?] > =09at org.apache.karaf.features.internal.download.impl.MavenDownloadManag= er.createDownloader(MavenDownloadManager.java:72) ~[?:?] > =09at org.apache.karaf.features.internal.region.Subsystem.downloadBundles= (Subsystem.java:373) ~[?:?] > =09at org.apache.karaf.features.internal.region.Subsystem.downloadBundles= (Subsystem.java:370) ~[?:?] > =09at org.apache.karaf.features.internal.region.SubsystemResolver.resolve= (SubsystemResolver.java:187) ~[?:?] > =09at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer= .java:279) ~[?:?] > =09at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doPr= ovision(FeaturesServiceImpl.java:1013) ~[?:?] > =09at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lamb= da$doProvisionInThread$4(FeaturesServiceImpl.java:941) ~[?:?] > =09at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] > =09at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecuto= r.java:1142) [?:?] > =09at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecut= or.java:617) [?:?] > =09at java.lang.Thread.run(Thread.java:748) [?:?] > =09Suppressed: java.io.IOException: Error downloading mvn:org.apache.serv= icemix.bundles/org.apache.servicemix.bundles.spring-tx/4.3.7.RELEASE_1 > =09=09at org.apache.karaf.features.internal.download.impl.AbstractRetryab= leDownloadTask.run(AbstractRetryableDownloadTask.java:77) [9:org.apache.kar= af.features.core:4.2.0.fuse-000025] > =09=09at java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja= va:511) [?:?] > =09=09at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] > =09=09at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFuture= Task.access$201(ScheduledThreadPoolExecutor.java:180) [?:?] > =09=09at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFuture= Task.run(ScheduledThreadPoolExecutor.java:293) [?:?] > =09=09at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec= utor.java:1142) [?:?] > =09=09at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe= cutor.java:617) [?:?] > =09=09at java.lang.Thread.run(Thread.java:748) [?:?] > {code} > It would be great if the error output looked like this: > {code} > karaf@root()> feature:install spring-jdbc = = Error executing com= mand: Error downloading mvn:org.apache.servicemix.bundles/org.apache.servic= emix.bundles.spring-tx/4.3.7.RELEASE_1 > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)