> You are obliged to use Apache Felix, given your name...

sure

> 
>> I wrote a simple host application. This host application embedds the
>> felix framework. If I run it and deploy a external bundle which should
>> implement a service I get the following exception
>>
>> DEBUG: No viable candidates
>> (org.apache.felix.framework.resolver.ResolveException: Unable to resolve
>> 1.0: missing requirement [1.0] package; (package=packageXY))
>> ERROR: Error starting file:filename.jar
>> (org.osgi.framework.BundleException: Unresolved constraint in bundle
>> bundleName [1]: Unable to resolve 1.0: missing requirement [1.0]
>> package; (package=packageXY))
>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>> bundleName [1]: Unable to resolve 1.0: missing requirement [1.0]
>> package; (package=packageXY)
>>     at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3409)
>>     at org.apache.felix.framework.Felix.startBundle(Felix.java:1709)
>>     at
>> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1143)
>>     at
>> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>>     at java.lang.Thread.run(Thread.java:717)
>>
>>
>> Could any body helps me?
> 
> Is there another bundle installed in the framework that exports pacakgeXY?

Yes. The host application has the package included and a Activator.
Maybe here is the problem with the embedded felix and the exported package.

Thank you
Felix

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to