karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-3961) Reference to generated featuresRepositories is invalid on Windows
Date Wed, 07 Oct 2015 04:37:26 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-3961:
----------------------------------------
    Fix Version/s: 4.0.2

> Reference to generated featuresRepositories is invalid on Windows
> -----------------------------------------------------------------
>
>                 Key: KARAF-3961
>                 URL: https://issues.apache.org/jira/browse/KARAF-3961
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 4.0.1
>         Environment: Windows 7
>            Reporter: Andreas Kuhtz
>             Fix For: 4.0.2
>
>
> The reference to the featuresRepositories generated by the karaf-maven-plugin is invalid
on Windows in {{org.apache.karaf.features.cfg}}. 
> The backslashes in {{karaf.home}} should be converted to forward slashes.
> {noformat} featuresRepositories = file:${karaf.home}/etc/0d05ff05-4208-4e0a-95e7-6b41bca544e7.xml
{noformat}
> {code}
> 2015-08-27 16:33:01,031 ERROR [org.apache.karaf.features.internal.service.BootFeaturesInstaller]
(pool-1-thread-1) Error installing boot feature repository file:D:\sample-karaf/etc/0fef08a9-7cfd-48ff-ac51-22669230cb44.xml
> java.lang.IllegalArgumentException: Illegal character in opaque part at index 7: file:D:\sample-karaf/etc/0fef08a9-7cfd-48ff-ac51-22669230cb44.xml
> 	at java.net.URI.create(URI.java:859)[:1.7.0_65]
> 	at org.apache.karaf.features.internal.service.BootFeaturesInstaller.installBootFeatures(BootFeaturesInstaller.java:86)[6:org.apache.karaf.features.core:4.0.1]
> 	at org.apache.karaf.features.internal.service.BootFeaturesInstaller.start(BootFeaturesInstaller.java:76)[6:org.apache.karaf.features.core:4.0.1]
> 	at org.apache.karaf.features.internal.osgi.Activator.doStart(Activator.java:257)[6:org.apache.karaf.features.core:4.0.1]
> 	at org.apache.karaf.util.tracker.BaseActivator.run(BaseActivator.java:233)[6:org.apache.karaf.features.core:4.0.1]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_65]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_65]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_65]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_65]
> 	at java.lang.Thread.run(Thread.java:745)[:1.7.0_65]
> Caused by: java.net.URISyntaxException: Illegal character in opaque part at index 7:
file:D:\sample-karaf/etc/0fef08a9-7cfd-48ff-ac51-22669230cb44.xml
> 	at java.net.URI$Parser.fail(URI.java:2829)[:1.7.0_65]
> 	at java.net.URI$Parser.checkChars(URI.java:3002)[:1.7.0_65]
> 	at java.net.URI$Parser.parse(URI.java:3039)[:1.7.0_65]
> 	at java.net.URI.<init>(URI.java:595)[:1.7.0_65]
> 	at java.net.URI.create(URI.java:857)[:1.7.0_65]
> 	... 9 more
> {code}



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

Mime
View raw message