karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mariano Gonzalez (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4302) Features files not working when protocol wrap required
Date Sat, 30 Jan 2016 17:09:39 GMT
Mariano Gonzalez created KARAF-4302:
---------------------------------------

             Summary: Features files not working when protocol wrap required
                 Key: KARAF-4302
                 URL: https://issues.apache.org/jira/browse/KARAF-4302
             Project: Karaf
          Issue Type: Bug
          Components: karaf-core, karaf-feature
    Affects Versions: 4.0.4
         Environment: Karaf 4.0.4, Java 1.8
            Reporter: Mariano Gonzalez
            Priority: Critical


Using a fresh karaf installation with the following configuration {{org.apache.karaf.features.cfg}}
file:

{code}
#
# Comma separated list of features repositories to register by default
#
featuresRepositories = \
    mvn:org.apache.karaf.features/spring/4.0.4/xml/features, \
    mvn:org.apache.karaf.features/standard/4.0.4/xml/features, \
    mvn:org.apache.karaf.features/framework/4.0.4/xml/features, \
    mvn:org.apache.karaf.features/enterprise/4.0.4/xml/features, \
    mvn:org.apache.activemq/activemq-karaf/5.12.1/xml/features-core, \
    mvn:org.apache.camel.karaf/apache-camel/2.16.1/xml/features, \
    mvn:io.hawt/hawtio-karaf/2.0.0/xml/features

#
# Comma separated list of features to install at startup
#
featuresBoot = \
    instance, \
    package, \
    log, \
    ssh, \
    aries-blueprint, \
    system, \
    feature, \
    shell, \
    management, \
    service, \
    jaas, \
    shell-compat, \
    deployer, \
    diagnostic, \
    wrap, \
    camel-geocoder
{code}

I get the following exception:

{code:java}
Error installing boot features
org.apache.karaf.features.internal.util.MultiException: Error
	at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:84)[9:org.apache.karaf.features.core:4.0.4]
	at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:72)[9:org.apache.karaf.features.core:4.0.4]
	at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:363)[9:org.apache.karaf.features.core:4.0.4]
	at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:360)[9:org.apache.karaf.features.core:4.0.4]
	at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:187)[9:org.apache.karaf.features.core:4.0.4]
	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:263)[9:org.apache.karaf.features.core:4.0.4]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089)[9:org.apache.karaf.features.core:4.0.4]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985)[9:org.apache.karaf.features.core:4.0.4]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_66]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_66]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_66]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_66]
Caused by: java.io.IOException: Error downloading wrap:file:/Users/magonzal/.m2/repository/com/google/code/geocoder-java/geocoder-java/0.16/geocoder-java-0.16.jar
	at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:67)[9:org.apache.karaf.features.core:4.0.4]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_66]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_66]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_66]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_66]
	... 3 more
Caused by: java.io.IOException: Could not download [wrap:file:/Users/magonzal/.m2/repository/com/google/code/geocoder-java/geocoder-java/0.16/geocoder-java-0.16.jar]
	at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:90)[9:org.apache.karaf.features.core:4.0.4]
	at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:58)[9:org.apache.karaf.features.core:4.0.4]
	... 7 more
Caused by: java.net.MalformedURLException: Unknown protocol: wrap
	at java.net.URL.<init>(URL.java:620)[:1.8.0_66]
	at java.net.URL.<init>(URL.java:483)[:1.8.0_66]
	at java.net.URL.<init>(URL.java:432)[:1.8.0_66]
	at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:62)[9:org.apache.karaf.features.core:4.0.4]
	... 8 more
Caused by: java.lang.IllegalStateException: Unknown protocol: wrap
	at org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:373)[org.apache.felix.framework-5.4.0.jar:]
	at java.net.URL.<init>(URL.java:615)[:1.8.0_66]
	... 11 more
Caused by: java.io.IOException: Error downloading wrap:file:/Users/magonzal/.m2/repository/com/google/code/geocoder-java/geocoder-java/0.16/geocoder-java-0.16.jar
	at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:67)[9:org.apache.karaf.features.core:4.0.4]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_66]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_66]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_66]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_66]
	... 3 more
Caused by: java.io.IOException: Could not download [wrap:file:/Users/magonzal/.m2/repository/com/google/code/geocoder-java/geocoder-java/0.16/geocoder-java-0.16.jar]
	at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:90)[9:org.apache.karaf.features.core:4.0.4]
	at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:58)[9:org.apache.karaf.features.core:4.0.4]
	... 7 more
Caused by: java.net.MalformedURLException: Unknown protocol: wrap
	at java.net.URL.<init>(URL.java:620)[:1.8.0_66]
	at java.net.URL.<init>(URL.java:483)[:1.8.0_66]
	at java.net.URL.<init>(URL.java:432)[:1.8.0_66]
	at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:62)[9:org.apache.karaf.features.core:4.0.4]
	... 8 more
Caused by: java.lang.IllegalStateException: Unknown protocol: wrap
	at org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:373)[org.apache.felix.framework-5.4.0.jar:]
	at java.net.URL.<init>(URL.java:615)[:1.8.0_66]
	... 11 more
{code}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message