Re: [Resteasy-users] RESTEasy Client in OSGi Environment

2014-05-27 Thread Eric Wittmann
I think I can confirm that this is the problem. We ran into this same issue when using the RE client in Fuse (also an OSGi environment). It is not possible to export META-INF/* resources in an OSGi bundle. This makes java ServiceLoader useless as a dynamic service discovery mechanism. As a

Re: [Resteasy-users] RESTEasy Client in OSGi Environment

2014-05-23 Thread Bill Burke
I know nothing about OSGi. My guess is that Resteasy automatic provider lookup is not working. The way it works is that it does a Classloader.getResources(META-INF/javax.ws.rs.ext.Providers) and iterates througha nd loads all those files. Those files contain Java class names which represent