Hi
On 19/02/14 13:40, Dolezal, Petr wrote:
Hi,

thanks for a quick response. I tried your suggestion. Well, it appears that it 
heals just one of many places - calling getExtension(ClassLoader.class) does 
not look like a rare thing. I found two more on the invocation path to our web 
service:

org.apache.cxf.transport.servlet.ServletController (see invoke())
org.apache.cxf.jaxrs.JAXRSServerFactoryBean (see create())

So, I guess that going to the root, to the OSGiBeanLocator, could be more 
effective. Are there any means of overriding it with a custom implementation or 
to affect its decision in the way that unwanted system services can be make 
invisible for it?

Yes, the fix is in 2.7.x now, Dan suggested to ignore ClassLoader requests only; this can be controlled if needed, but by default
bus.getExtension(ClassLoader.class) won;t lead to an OSGI service query,

please try the snapshots
Thanks, Sergey
P.


Reply via email to