BTW, I just committed a patch to improve the error message in this
situation, so in the next Felix release such errors should hopefully be
more obvious.
-> richard
On 5/29/09 7:17 AM, galaxy wrote:
Thanks!
2009/5/29 Stuart McCulloch<mccu...@gmail.com>
2009/5/29 galaxy<harmonymail...@gmail.com>
Hi all,
Here is my problem :Every time I tried to run org.apache.felix.main.Main
in
eclipse there would be the error [1].
I searched the problem and found it was related to the url .But my bundle
url is [2].So can you help me on this problem ?The felix version is 1.8.
And I installed felix in eclipse according to
http://felix.apache.org/site/integrating-felix-with-eclipse.html
Thanks!
[1]
Welcome to Felix.
=================
Auto-properties install: org.osgi.framework.BundleException: Unable to
cache
bundle: file:D:/JavaWorld/Felix/bundle/org.apache.felix.shell-1.2.0.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to
cache
bundle:
file:D:/JavaWorld/Felix/bundle/org.apache.felix.shell.tui-1.2.0.jar
Auto-properties install: org.osgi.framework.BundleException: Unable to
cache
bundle:
file:D:/JavaWorld/Felix/bundle/org.apache.felix.bundlerepository-1.4.0.jar
Auto-properties start: org.osgi.framework.BundleException: Unable to
cache
bundle: file:D:/JavaWorld/Felix/bundle/org.apache.felix.shell-1.2.0.jar
Auto-properties start: org.osgi.framework.BundleException: Unable to
cache
bundle:
file:D:/JavaWorld/Felix/bundle/org.apache.felix.shell.tui-1.2.0.jar
Auto-properties start: org.osgi.framework.BundleException: Unable to
cache
bundle:
file:D:/JavaWorld/Felix/bundle/org.apache.felix.bundlerepository-1.4.0.jar
[2]
felix.auto.start.1= \
file:D:/JavaWorld/Felix/bundle/org.apache.felix.shell-1.2.0.jar \
file:D:/JavaWorld/Felix/bundle/org.apache.felix.shell.tui-1.2.0.jar \
file:D:/JavaWorld/Felix/bundle/org.apache.felix.bundlerepository-1.4.0.jar
those are not valid URLs, they should be file:///D:/....
see this blog entry for background:
http://blogs.msdn.com/ie/archive/2006/12/06/file-uris-in-windows.aspx
HTH
--
regards
Tian
--
Cheers, Stuart