users@glassfish.java.net

Re: [glassfish osgi v3 with Web Services]

From: Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 24 Sep 2009 20:51:39 +0530

Likely a thread context class loader issue. Can you post the complete
stack trace from server.log?

Sahoo

Alexander Blotny wrote:
> Hi all,
>
> I am using GlassFish Server v3 Preview.
>
> When I try to use a Web Service Client created with jax-ws there is an
> exception:
>
> javax.xml.ws.WebServiceException: Provider
> com.sun.xml.ws.spi.ProviderImpl not found
> at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:33)
> at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:128)
> at javax.xml.ws.spi.Provider.provider(Provider.java:110)
> at javax.xml.ws.Service.<init>(Service.java:56)
>
> I have looked in the modules and the webservice-osgi.jar includes this
> class. Furthermore the bundle is resolved in the process of using the
> client. Has anyone an explanation why this class can not be found?
>
> greetings,
> Alex