1 Reply Latest reply on Oct 9, 2008 2:42 AM by Richard Opalka

    ant tests fail  (jbossws-cxf)

    Ienaga Eiji Newbie

      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
      ----------------------