users@glassfish.java.net

Re: [glassfish osgi v3 with Web Services]

From: Alexander Blotny <Alexander.Blotny_at_fokus.fraunhofer.de>
Date: Thu, 24 Sep 2009 17:25:09 +0200

The stack trace is:

[#|2009-09-24T17:23:25.391+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;|org.osgi.framework.BundleException: Activator start error in
bundle Messaging [214].|#]

[#|2009-09-24T17:23:25.391+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
org.apache.felix.framework.Felix.startBundle(Felix.java:1506)|#]

[#|2009-09-24T17:23:25.392+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:779)|#]

[#|2009-09-24T17:23:25.392+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:760)|#]

[#|2009-09-24T17:23:25.392+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl.java:8
2)|#]

[#|2009-09-24T17:23:25.393+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activa
tor.java:276)|#]

[#|2009-09-24T17:23:25.394+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
org.apache.felix.shell.remote.Shell.run(Shell.java:109)|#]

[#|2009-09-24T17:23:25.395+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at java.lang.Thread.run(Thread.java:637)|#]

[#|2009-09-24T17:23:25.395+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;|Caused by: javax.xml.ws.WebServiceException: Provider
com.sun.xml.ws.spi.ProviderImpl not found|#]

[#|2009-09-24T17:23:25.397+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:33)|#]

[#|2009-09-24T17:23:25.398+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:128)|#]

[#|2009-09-24T17:23:25.398+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at javax.xml.ws.spi.Provider.provider(Provider.java:110)|#]

[#|2009-09-24T17:23:25.399+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at javax.xml.ws.Service.<init>(Service.java:56)|#]

[#|2009-09-24T17:23:25.399+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
org.csapi.wsdl.parlayx.multimedia_messaging.send.v3_1.service.SendMessageSer
vice.<init>(SendMessageService.java:42)|#]

[#|2009-09-24T17:23:25.399+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
de.fhg.fokus.ngni.odysseus.service.messaging.Messaging.sendMessage(Messaging
.java:45)|#]

[#|2009-09-24T17:23:25.400+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
de.fhg.fokus.ngni.odysseus.service.messaging.Activator.start(Activator.java:
54)|#]

[#|2009-09-24T17:23:25.400+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.jav
a:589)|#]

[#|2009-09-24T17:23:25.400+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
org.apache.felix.framework.Felix.startBundle(Felix.java:1458)|#]

[#|2009-09-24T17:23:25.401+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| ... 6 more|#]

[#|2009-09-24T17:23:25.401+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;|Caused by: java.lang.ClassNotFoundException:
com.sun.xml.ws.spi.ProviderImpl|#]

[#|2009-09-24T17:23:25.401+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
java.net.URLClassLoader$1.run(URLClassLoader.java:200)|#]

[#|2009-09-24T17:23:25.401+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at java.security.AccessController.doPrivileged(Native
Method)|#]

[#|2009-09-24T17:23:25.401+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)|#]

[#|2009-09-24T17:23:25.402+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at java.lang.ClassLoader.loadClass(ClassLoader.java:319)|#]

[#|2009-09-24T17:23:25.402+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at java.lang.ClassLoader.loadClass(ClassLoader.java:254)|#]

[#|2009-09-24T17:23:25.402+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
javax.xml.ws.spi.FactoryFinder.safeLoadClass(FactoryFinder.java:150)|#]

[#|2009-09-24T17:23:25.402+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| at
javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:30)|#]

[#|2009-09-24T17:23:25.402+0200|SEVERE|glassfish|null|_ThreadID=16;_ThreadNa
me=Thread-1;| ... 14 more|#]


Am 24.09.09 17:21 schrieb "Sahoo" unter <Sahoo_at_Sun.COM>:

> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>