You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by rcbandit <pe...@gmail.com> on 2015/06/28 11:51:52 UTC

framework-4.0.0-features.xml (The system cannot find the path specified)

I tested the latest Karaf 4.0.0.

I get this error into the log file

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(Unknown
Source)[:1.8.0_60-ea]
	at java.util.concurrent.FutureTask.run(Unknown Source)[:1.8.0_60-ea]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
Source)[:1.8.0_60-ea]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)[:1.8.0_60-ea]
	at java.lang.Thread.run(Unknown Source)[:1.8.0_60-ea]
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.open0(Native Method)[:1.8.0_60-ea]
	at java.io.FileInputStream.open(Unknown Source)[:1.8.0_60-ea]
	at java.io.FileInputStream.<init>(Unknown Source)[:1.8.0_60-ea]
	at java.io.FileInputStream.<init>(Unknown Source)[:1.8.0_60-ea]
	at sun.net.www.protocol.file.FileURLConnection.connect(Unknown
Source)[:1.8.0_60-ea]
	at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown
Source)[:1.8.0_60-ea]
	at java.net.URL.openStream(Unknown Source)[:1.8.0_60-ea]
	at
org.apache.karaf.features.internal.service.RepositoryImpl.load(RepositoryImpl.java:80)[8:org.apache.karaf.features.core:4.0.0]
	... 12 more



--
View this message in context: http://karaf.922171.n3.nabble.com/framework-4-0-0-features-xml-The-system-cannot-find-the-path-specified-tp4041122.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Re: framework-4.0.0-features.xml (The system cannot find the path specified)

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

it's just a cleanup todo (in etc/org.apache.karaf.features.cfg) and it 
works fine.

I created a Jira already for 4.0.1:

https://issues.apache.org/jira/browse/KARAF-3805

Regards
JB

On 06/28/2015 11:51 AM, rcbandit wrote:
> I tested the latest Karaf 4.0.0.
>
> I get this error into the log file
>
> 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(Unknown
> Source)[:1.8.0_60-ea]
> 	at java.util.concurrent.FutureTask.run(Unknown Source)[:1.8.0_60-ea]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
> Source)[:1.8.0_60-ea]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> Source)[:1.8.0_60-ea]
> 	at java.lang.Thread.run(Unknown Source)[:1.8.0_60-ea]
> 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.open0(Native Method)[:1.8.0_60-ea]
> 	at java.io.FileInputStream.open(Unknown Source)[:1.8.0_60-ea]
> 	at java.io.FileInputStream.<init>(Unknown Source)[:1.8.0_60-ea]
> 	at java.io.FileInputStream.<init>(Unknown Source)[:1.8.0_60-ea]
> 	at sun.net.www.protocol.file.FileURLConnection.connect(Unknown
> Source)[:1.8.0_60-ea]
> 	at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown
> Source)[:1.8.0_60-ea]
> 	at java.net.URL.openStream(Unknown Source)[:1.8.0_60-ea]
> 	at
> org.apache.karaf.features.internal.service.RepositoryImpl.load(RepositoryImpl.java:80)[8:org.apache.karaf.features.core:4.0.0]
> 	... 12 more
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/framework-4-0-0-features-xml-The-system-cannot-find-the-path-specified-tp4041122.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com