karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Karaf 4.2.4 Custom distribution with ActiveMQ 5.15.9 fails during start
Date Sat, 30 Mar 2019 12:47:07 GMT
Hi

Did you use a stage in boot features ?

Regards
JB

Le 30 mars 2019 à 12:32, à 12:32, leonardchicco <luca.leonardi1974@gmail.com> a écrit:
>Hi, 
>
>I need to integrate the ActiveMQ in a custom distribution, when i start
>the
>Karaf the console has follow error logs.
>
>================================================================
>org.apache.karaf.features.core[org.apache.karaf.features.internal.service.FeaturesServiceImpl]
>: Unknown protocol: mvn
>java.net.MalformedURLException: Unknown protocol: mvn
>        at java.net.URL.<init>(URL.java:627)
>        at java.net.URL.<init>(URL.java:490)
>        at java.net.URL.<init>(URL.java:439)
>        at
>org.apache.karaf.features.internal.service.FeatureConfigInstaller.installConfigurationFile(FeatureConfigInstaller.java:238)
>        at
>org.apache.karaf.features.internal.service.FeatureConfigInstaller.installFeatureConfigs(FeatureConfigInstaller.java:155)
>        at
>org.apache.karaf.features.internal.service.BundleInstallSupportImpl.installConfigs(BundleInstallSupportImpl.java:297)
>        at
>org.apache.karaf.features.internal.service.FeaturesServiceImpl.installConfigs(FeaturesServiceImpl.java:1174)
>        at
>org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:926)
>        at
>org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1058)
>        at
>org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:994)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>        at
>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>        at
>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>        at java.lang.Thread.run(Thread.java:748)
>Caused by: java.lang.IllegalStateException: Unknown protocol: mvn
>        at
>org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:373)
>        at java.net.URL.<init>(URL.java:622)
>        ... 13 more
>org.apache.karaf.features.core[org.apache.karaf.features.internal.service.BootFeaturesInstaller]
>: Error installing boot features
>java.net.MalformedURLException: Unknown protocol: mvn
>        at java.net.URL.<init>(URL.java:627)
>        at java.net.URL.<init>(URL.java:490)
>        at java.net.URL.<init>(URL.java:439)
>        at
>org.apache.karaf.features.internal.service.FeatureConfigInstaller.installConfigurationFile(FeatureConfigInstaller.java:238)
>        at
>org.apache.karaf.features.internal.service.FeatureConfigInstaller.installFeatureConfigs(FeatureConfigInstaller.java:155)
>        at
>org.apache.karaf.features.internal.service.BundleInstallSupportImpl.installConfigs(BundleInstallSupportImpl.java:297)
>        at
>org.apache.karaf.features.internal.service.FeaturesServiceImpl.installConfigs(FeaturesServiceImpl.java:1174)
>        at
>org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:926)
>        at
>org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1058)
>        at
>org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:994)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>        at
>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>        at
>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>        at java.lang.Thread.run(Thread.java:748)
>Caused by: java.lang.IllegalStateException: Unknown protocol: mvn
>        at
>org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:373)
>        at java.net.URL.<init>(URL.java:622)
>        ... 13 more
>
>
>==================================================
>
>Follow in attachment the project 
>
>offline-karaf.zip
><http://karaf.922171.n3.nabble.com/file/t498205/offline-karaf.zip>  
>
>Environment
>jdk: 1.8.0_201
>mvn: 3.6.0
>
>Can you help me to resolve this problem?
>
>Thanks in advance
>
>Luca Leonardi
>
>
>
>
>
>--
>Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html

Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message