felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Zemann <oliver.zem...@gmail.com>
Subject Problem with Permissions in Win7
Date Fri, 21 Dec 2012 20:25:52 GMT
Hi,

i created a installer witz izpack and its working as expected when 
installing in $HOME.
But when i use eg: c:\program files\.. and try to run the application:

c:\Program Files (x86)\SoundBox>java -jar SoundBox-Starter-1.0-SNAPSHOT.jar
java.lang.Exception: Unable to create bundle cache lock file: 
java.io.FileNotFoundException: C:\Program Files 
(x86)\SoundBox\cache\cache.lock (Zugriff verweigert)
         at 
org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:168)
         at org.apache.felix.framework.Felix.init(Felix.java:629)
         at org.apache.felix.main.Main.main(Main.java:289)
Could not create framework: org.osgi.framework.BundleException: Error 
creating bundle cache.
org.osgi.framework.BundleException: Error creating bundle cache.
         at org.apache.felix.framework.Felix.init(Felix.java:634)
         at org.apache.felix.main.Main.main(Main.java:289)
Caused by: java.lang.Exception: Unable to create bundle cache lock file: 
java.io.FileNotFoundException: C:\Program Files 
(x86)\SoundBox\cache\cache.lock (Zugriff verweigert)
         at 
org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:168)
         at org.apache.felix.framework.Felix.init(Felix.java:629)
         ... 1 more
Exception in thread "main" java.util.NoSuchElementException: No line found
         at java.util.Scanner.nextLine(Unknown Source)
         at org.dyndns.soundi.App.main(App.java:118)

My properties file contains:
felix.cache.rootdir=${user.home}/cache

when i change that to:
felix.cache.rootdir=C:/Users/oli/cache

Its working? Whats wrong here?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message