Not sure if this is actually normal/correct behaviour, but I have a case in our app where a JAR we are installing may not actually be valid OSGi bundle i.e it's Manifest has no OSGi headers in it.

I was expecting to be able to detect this either by catching a BundleException or a null return from installBundle, but Felix just seems to silently load the bundle without error. I can see the JAR in my .felix cache.

Anyone know if this is correct? Would have expected some way to detect this?

We're on a trunk version as of a couple of weeks back - haven't tried this on latest 3.0 framework yet

Cheers

-- Rob


Ascert - Taking systems to the Edge
[email protected]
+44 (0)20 7488 3470
www.ascert.com

Reply via email to