You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by galaxy <ti...@gmail.com> on 2009/05/29 11:41:31 UTC

Problems with felix in eclipse

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 I don't know why is the problem .The felix version is 1.8.
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

-- 
regards
Tian

Re: Problems with felix in eclipse

Posted by "Richard S. Hall" <he...@ungoverned.org>.
Are you sure the bundles exist at that location? Are you installing into 
a clean bundle cache?

Verify that the bundles exist at that location and start with a clean 
cache and let me know.

-> richard


On 5/29/09 5:41 AM, galaxy wrote:
> 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 I don't know why is the problem .The felix version is 1.8.
> 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
>
>    

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