Hi,

this sounds like a windows issue. As you copied it from 7 to 10, are you
sure that all permissions for your user are correct?
Please search for windows file permission things at google, this has
nothing to do with karaf itself.

regards, Achim


2016-07-15 8:43 GMT+02:00 rcbandit <[email protected]>:

> I copied Karaf directory from Windows 7 to Windows 10.
> But when I started the framework I get this result:
>
> ERROR: Unable to create cache directory:
> C:\Users\user\Desktop\kernel\agent_t\data\cache
> ERROR: Error creating bundle cache. (java.lang.RuntimeException: Unable to
> create cache directory.)
> java.lang.RuntimeException: Unable to create cache directory.
>         at
> org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:131)
>         at org.apache.felix.framework.Felix.init(Felix.java:692)
>         at org.apache.felix.framework.Felix.init(Felix.java:626)
>         at org.apache.karaf.main.Main.launch(Main.java:293)
>         at org.apache.karaf.main.Main.main(Main.java:175)
> Error creating bundle cache.
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.karaf.main.Main.destroy(Main.java:592)
>         at org.apache.karaf.main.Main.main(Main.java:181)
>
> What is the proper way to set the execution permissions?
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Set-karaf-permissions-on-Windows-10-tp4047250.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Reply via email to