|Split packages in single scope [message #659817]
||Tue, 15 March 2011 17:24
Registered: February 2011
I'm writing to follow up on the following bug. This bug concerns a restriction Virgo has when using scoped deployment units (either a PAR or a scoped plan): no package can be split across multiple bundles in the scope.|
I am trying to deploy an existing web service in Virgo. I would like to do so using a scoped deployment unit, primarily so that we can benefit from Virgo's application level tracing. However, this bug/limitation is blocking me from doing so. My scenario seems fairly mainstream, so I would like to either learn of a viable workaround, or raise visibility of the issue.
Our service uses CXF distributed OSGi. I am not an expert on this technology, but I can see the following in the OSGi service registry:
1) Our service is registered and consumed by the cxf-dosgi-ri-dsw-cxf bundle.
2) cxf-dosgi-ri-dsw-cxf registers the org.osgi.service.remoteserviceadmin.RemoteServiceAdmin service, which is consumed by cxf-dosgi-ri-topology-manager.
3) cxf-dosgi-ri-topology-manager registers the org.osgi.service.remoteserviceadmin.EndpointListener service, which is consumed by cxf-dosgi-ri-discovery-local.
If our service is placed in a scope, this dependency chain necessitates that each of the above-referenced cxf-dosgi bundles also be in that scope. However, the package org.osgi.service.remoteserviceadmin is exported by both cxf-dosgi-ri-topology-manager and cxf-dosgi-ri-discovery-local, so the split package limitation makes it impossible for me to deploy our service in a scope.
Any thoughts or advise would be much appreciated.
Powered by FUDForum
. Page generated in 0.02016 seconds