karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Achim Nierbeck (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-3817) Karaf does not start because java.io.IOException
Date Tue, 30 Jun 2015 21:57:04 GMT

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

Achim Nierbeck resolved KARAF-3817.
-----------------------------------
    Resolution: Duplicate

> Karaf does not start because java.io.IOException
> ------------------------------------------------
>
>                 Key: KARAF-3817
>                 URL: https://issues.apache.org/jira/browse/KARAF-3817
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core, karaf-tooling
>    Affects Versions: 4.0.0
>            Reporter: Roland Hauser
>            Priority: Blocker
>
> Just downloaded the Karaf Distribution from http://mirror.easyname.ch/apache/karaf/4.0.0/apache-karaf-4.0.0.tar.gz
and got following exception after starting it:
> {panel}
> 2015-06-30 23:27:32,655 | ERROR | pool-1-thread-1  | BootFeaturesInstaller          
 | 8 - org.apache.karaf.features.core - 4.0.0 | Error installing boot feature repository file:/x1/asf/karaf/k40x/target/ch$
> java.io.IOException: /x1/asf/karaf/k40x/target/checkout/assemblies/apache-karaf/target/assembly/system/org/apache/karaf/features/framework/4.0.0/framework-4.0.0-features.xml
(No such file or directory) : fil$
>         at org.apache.karaf.features.internal.service.RepositoryImpl.load(RepositoryImpl.java:85)[8:org.apache.karaf.features.core:4.0.0]
>         at org.apache.karaf.features.internal.service.FeaturesServiceImpl.loadRepository(FeaturesServiceImpl.java:391)[8:org.apache.karaf.features.core:4.0.0]
>         at org.apache.karaf.features.internal.service.FeaturesServiceImpl.addRepository(FeaturesServiceImpl.java:411)[8:org.apache.karaf.features.core:4.0.0]
>         at org.apache.karaf.features.internal.service.FeaturesServiceImpl.addRepository(FeaturesServiceImpl.java:402)[8:org.apache.karaf.features.core:4.0.0]
>         at org.apache.karaf.features.internal.service.BootFeaturesInstaller.installBootFeatures(BootFeaturesInstaller.java:86)[8:org.apache.karaf.features.core:4.0.0]
>         at org.apache.karaf.features.internal.service.BootFeaturesInstaller.start(BootFeaturesInstaller.java:76)[8:org.apache.karaf.features.core:4.0.0]
>         at org.apache.karaf.features.internal.osgi.Activator.doStart(Activator.java:257)[8:org.apache.karaf.features.core:4.0.0]
>         at org.apache.karaf.util.tracker.BaseActivator.run(BaseActivator.java:233)[8:org.apache.karaf.features.core:4.0.0]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_79]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_79]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_79]
>         at java.lang.Thread.run(Thread.java:745)[:1.7.0_79]
> Caused by: java.io.FileNotFoundException: /x1/asf/karaf/k40x/target/checkout/assemblies/apache-karaf/target/assembly/system/org/apache/karaf/features/framework/4.0.0/framework-4.0.0-features.xml
(No such fil$
>         at java.io.FileInputStream.open(Native Method)[:1.7.0_79]
>         at java.io.FileInputStream.<init>(FileInputStream.java:146)[:1.7.0_79]
>         at java.io.FileInputStream.<init>(FileInputStream.java:101)[:1.7.0_79]
>         at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)[:1.7.0_79]
>         at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)[:1.7.0_79]
>         at java.net.URL.openStream(URL.java:1037)[:1.7.0_79]
>         at org.apache.karaf.features.internal.service.RepositoryImpl.load(RepositoryImpl.java:80)[8:org.apache.karaf.features.core:4.0.0]
>         ... 12 more
> {panel}
> It seams that the karaf-maven-plugin uses/generates the absolute path to framework-4.0.0-features.xml
(I saw the same error during building our own distro)



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

Mime
View raw message