karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xilai Dai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-3818) FileNotFoundException of framework-4.0.0-features.xml when start up karaf 4.0.0
Date Wed, 01 Jul 2015 08:55:05 GMT
Xilai Dai created KARAF-3818:
--------------------------------

             Summary: FileNotFoundException of framework-4.0.0-features.xml when start up
karaf 4.0.0
                 Key: KARAF-3818
                 URL: https://issues.apache.org/jira/browse/KARAF-3818
             Project: Karaf
          Issue Type: Bug
          Components: karaf-feature
    Affects Versions: 4.0.0
            Reporter: Xilai Dai


After start karaf 4.0.0, there is exception about framework-4.0.0-features.xml could not be
found.
{code}
2015-07-01 16:36:04,041 | 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/checkout/assemblies/apache-karaf/target/assembly/system/org/apache/karaf/features/framework/4.0.0/framework-4.0.0-features.xml
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
(The system cannot find the path specified) : file:/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
	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_51]
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_51]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_51]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_51]
	at java.lang.Thread.run(Thread.java:744)[:1.7.0_51]
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
(The system cannot find the path specified)
	at java.io.FileInputStream.open(Native Method)[:1.7.0_51]
	at java.io.FileInputStream.<init>(FileInputStream.java:146)[:1.7.0_51]
	at java.io.FileInputStream.<init>(FileInputStream.java:101)[:1.7.0_51]
	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)[:1.7.0_51]
	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)[:1.7.0_51]
	at java.net.URL.openStream(URL.java:1037)[:1.7.0_51]
	at org.apache.karaf.features.internal.service.RepositoryImpl.load(RepositoryImpl.java:80)[8:org.apache.karaf.features.core:4.0.0]
	... 12 more
{code}

Looking into the etc/org.apache.karaf.features.cfg
{code}
featuresRepositories = \
    file:/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,
\
    mvn:org.apache.karaf.features/enterprise/4.0.0/xml/features, \
    mvn:org.apache.karaf.features/spring/4.0.0/xml/features, \
    mvn:org.apache.karaf.features/standard/4.0.0/xml/features
{code}

seems wrong location is configued in the file.



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

Mime
View raw message