Hello.

I'm trying to install bundles through the method: 
BundleContext.installBundle(String location, InputStream stream)
and i'm experiencing problems with it.


I receive an Exception :


org.osgi.framework.BundleException: Bundle symbolic name and version are not 
unique.
        at org.apache.felix.framework.Felix.createModule(Felix.java:3425)
        at org.apache.felix.framework.Felix.createBundleInfo(Felix.java:3349)
        at org.apache.felix.framework.Felix.installBundle(Felix.java:2315)
        at org.apache.felix.framework.Felix.installBundle(Felix.java:2229)
        at 
.....

The bundle i'm trying to install is already installed, but under another name 
than location. 

Maybe i did not understand the usage of this method:  location is supposed to 
be a unique identifier for this bundle ? If this is the case, why do i get 
this Exception ? 

I took a look to the code of Felix, and it appears that it checks Bundle 
Symbolic Name and Version to be unique ( as i could guess by the exception 
message :) ). Why ? 

Thank you in advance for your help.

Ronan Dunklau

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to