The bundles resolve now
| 21:17:00,207 INFO [FrameworkEventsPluginImpl] Bundle INSTALLED:
Bundle{org.apache.felix.http.jetty:1.0.1}
| 21:17:00,585 INFO [FrameworkEventsPluginImpl] Bundle INSTALLED:
Bundle{osgi.cmpn:4.2.0.200907101024}
| 21:17:00,967 INFO [OSGiBundleManager] Resolve: org.apache.felix.http.jetty:1.0.1
| 21:17:01,010 INFO [OSGiPackageCapabilityCache] Blacklist module associations
| [javax.servlet.http=org.apache.felix.http.jetty:1.0.1]
| [javax.servlet=org.apache.felix.http.jetty:1.0.1]
| [org.osgi.service.http=org.apache.felix.http.jetty:1.0.1]
| 21:17:01,011 INFO [OSGiPackageCapabilityCache] Unresolved requirements
| OSGiPackageRequirement{org.osgi.service.log [1.3.0,?) {version="1.3"}}
| OSGiPackageRequirement{org.osgi.util.tracker [1.3.0,?) {version="1.3"}}
| OSGiPackageRequirement{org.osgi.service.cm [1.2.0,?) {version="1.2"}}
| 21:17:01,011 INFO [OSGiBundleManager] Resolve: osgi.cmpn:4.2.0.200907101024
| 21:17:01,263 INFO [FrameworkEventsPluginImpl] Bundle RESOLVED:
Bundle{osgi.cmpn:4.2.0.200907101024}
| 21:17:01,264 INFO [OSGiPackageCapabilityCache] Endorse module associations
| [org.osgi.service.blueprint.container=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.util.gsm=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.deploymentadmin.spi=osgi.cmpn:4.2.0.200907101024]
| [info.dmtree=osgi.cmpn:4.2.0.200907101024]
| [info.dmtree.spi=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.component=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.monitor=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.wireadmin=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.util.xml=osgi.cmpn:4.2.0.200907101024]
| [info.dmtree.registry=osgi.cmpn:4.2.0.200907101024]
| [info.dmtree.notification.spi=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.log=osgi.cmpn:4.2.0.200907101024]
| [info.dmtree.security=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.prefs=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.application=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.metatype=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.io=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.application=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.http=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.util.mobile=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.util.measurement=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.provisioning=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.cm=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.util.cdma=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.blueprint.reflect=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.deploymentadmin=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.event=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.upnp=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.device=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.util.tracker=osgi.cmpn:4.2.0.200907101024]
| [info.dmtree.notification=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.service.useradmin=osgi.cmpn:4.2.0.200907101024]
| [org.osgi.util.position=osgi.cmpn:4.2.0.200907101024]
| 21:17:01,265 INFO [OSGiBundleManager] Resolve: org.apache.felix.http.jetty:1.0.1
| 21:17:01,389 INFO [FrameworkEventsPluginImpl] Bundle RESOLVED:
Bundle{org.apache.felix.http.jetty:1.0.1}
| 21:17:01,390 INFO [OSGiPackageCapabilityCache] Endorse module associations
| [javax.servlet.http=org.apache.felix.http.jetty:1.0.1]
| [javax.servlet=org.apache.felix.http.jetty:1.0.1]
| 21:17:01,393 INFO [FrameworkEventsPluginImpl] Bundle STARTING:
Bundle{org.apache.felix.http.jetty:1.0.1}
| 21:17:01,862 INFO [FrameworkEventsPluginImpl] Service REGISTERED: Service{id=4
bundle=org.apache.felix.http.jetty:1.0.1 classes=[org.osgi.service.cm.ManagedService]}
| 21:17:01,863 INFO [FrameworkEventsPluginImpl] Bundle STARTED:
Bundle{org.apache.felix.http.jetty:1.0.1}
|
However there is a classloading issue for org.osgi.service.http.HttpService, which is
expected to come from compendium.
AFAICS, The OSGiClassLoaderDomain uses DelegateLoaders backed by VFSClassLoaderPolicy
delegates for both the http service bundle and the compendium. Since the DelegateLoader
for the http service bundle comes first the class is loaded from there despite the fact
that the package resolved against compendium.
I need to figure out how to filter the packages from the delegates such that it is in sync
with how the modules got resolved.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254266#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...