[jboss-user] [JBossWS] - ant tests fail (jbossws-cxf)

haru01 do-not-reply at jboss.com
Thu Oct 9 02:40:34 EDT 2008


Hi

I waint to use  jbossws-cxf-3.0.3.GA. 
installed jbossws-cxf-3.0.3.GA  with docs/Install.txt
jdk1.5 => Test is ok. 


But Jdk1.6 => Test is fail. 

Why?


-- test NG env -----
 * jdk1.6.0_07
 * jboss-4.2.3.GA-jdk6
 * jbossws-cxf-3.0.3.GA
----------------------

-- Error Stack trace  example --

Unable to load Provider: Failed to load javax.xml.ws.spi.Provider: org.jboss.ws.core.jaxws.spi.ProviderImpl
javax.xml.ws.WebServiceException: Unable to load Provider: Failed to load javax.xml.ws.spi.Provider: org.jboss.ws.core.jaxws.spi.ProviderImpl
	at javax.xml.ws.spi.Provider.provider(Provider.java:90)
	at javax.xml.ws.Service.(Service.java:81)
	at javax.xml.ws.Service.create(Service.java:98)
	at org.jboss.test.ws.jaxws.samples.soapbinding.SOAPBindingTestCase.testExampleService(SOAPBindingTestCase.java:64)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
	at junit.extensions.TestSetup.run(TestSetup.java:23)
Caused by: java.lang.IllegalStateException: Failed to load javax.xml.ws.spi.Provider: org.jboss.ws.core.jaxws.spi.ProviderImpl
	at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:96)
	at javax.xml.ws.spi.Provider.provider(Provider.java:82)
Caused by: java.lang.ClassNotFoundException: org.jboss.ws.core.jaxws.spi.ProviderImpl
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:90)
----------------------


-- OK env --
 * jdk1.5.0_15
 * jboss-4.2.3.GA
 * jbossws-cxf-3.0.3.GA
----------------------

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181145#4181145

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181145



More information about the jboss-user mailing list