Description
Error of feature:install command gives no valuable info:
karaf@root()> feature:install spring-jdbc Error executing command: Error
One must check for logs
2017-06-15T10:56:46,932 | ERROR | Karaf local console user karaf | ShellUtil | 43 - org.apache.karaf.shell.core - 4.2.0.fuse-000025 | Exception caught while executing command org.apache.karaf.features.internal.util.MultiException: Error at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:86) ~[?:?] at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:72) ~[?:?] at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:373) ~[?:?] at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:370) ~[?:?] at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:187) ~[?:?] at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:279) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1013) ~[?:?] at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$4(FeaturesServiceImpl.java:941) ~[?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?] Suppressed: java.io.IOException: Error downloading mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-tx/4.3.7.RELEASE_1 at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:77) [9:org.apache.karaf.features.core:4.2.0.fuse-000025] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:?] at java.lang.Thread.run(Thread.java:748) [?:?]
It would be great if the error output looked like this:
karaf@root()> feature:install spring-jdbc Error executing command: Error downloading mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-tx/4.3.7.RELEASE_1
Attachments
Issue Links
- is related to
-
KARAF-5193 Add feature/kar/bundle action report, feature:tree-show & bundle:status/feature:status
- Open
- links to