Hi! I have a problem when embedding the Felix 3.0.5. When I start the bundles some java.lang.NoClassDefFoundError are thown. But If I deploy the same bundles using the 'org.apache.felix.main.distribution-3.0.5.tar.gz' it runs without any exception. I tried to set a diferent vlues for 'org.osgi.framework.bundle.parent' and 'felix.bootdelegation.implicit', but nothing is changed.
I created a small example that shows you what we have going on (you can dowload it from http://www.iiia.csic.es/~rosell/del/EmbeddingError.zip). In it you can found: -a ( bundle that define the class A) -a.b ( bundle that depens of 'a' and reexport it) -a.b.c ( bundle that depens of 'a.b' and reexport it) -a.b.c.d ( bundle that depens of 'a.b.c.d' and reexport it) -a.b.c.d.e ( bundle that depens of 'a.b.c.d' and reexport it) -Launcher ( embeded felix launcher) If you go to the Launcher directory and runs the 'java -jar launcher.jar' two java.lang.NoClassDefFoundError: a/A appears on the console. Also if you copy the bundles defined in the Launcher/plugins into the deploy of the felix main distribution any exception is thrown. Sorry for the mail so long, but he did not know how to explain myself. Thank you for your attention and I hope we can give someone a solution because I do not know what more I can do. -- Cordialment Bruno Rosell i Gui --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

