[jboss-dev-forums] [JBoss OSGi Development] - Re: Bundle.start() does not transition to ACTIVE

thomas.diesler@jboss.com do-not-reply at jboss.com
Sat Aug 22 17:04:09 EDT 2009


I now throw a BundleException on unresolved RequirementDependencyItems

The problem of

org.osgi.framework.BundleException: Cannot start bundle Bundle{simple-bundle:0.0.0}, because of unresolved dependencies
  
PackageRequirement{org.osgi.framework [0.0.0,?)},
PackageRequirement{org.jboss.test.osgi.simple.bundle [0.0.0,?)}]

I fixed by only adding PackageRequirement for packages that are not system and not exported.

Please see OSGiBundleClassLoadingDeployer for details 

This probably needs some more work, because a simple package name match between the import and the export is not sufficient

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251007#4251007

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251007



More information about the jboss-dev-forums mailing list