2 Replies Latest reply on Sep 22, 2008 10:53 AM by murugess

    Exception when I am trying to run the test cases

    murugess

      I successfully deployed the jboss-metro distribution 3.0.3 version on to JBOSS 5.0.0 RC version.
      I am able to access the http://localhost:8080/jbossws/ link as well.
      But when I try to execute the test cases that came with jboss-metro distribution: I get the following exceptions:

      Failed to load javax.xml.ws.spi.Provider: org.jboss.ws.core.jaxws.spi.ProviderImpl

      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:94)
      at javax.xml.ws.spi.Provider.provider(Provider.java:80)
      at javax.xml.ws.Service.(Service.java:79)
      at javax.xml.ws.Service.create(Service.java:96)
      at org.jboss.test.ws.jaxws.samples.asynchronous.AsynchronousProxyTestCase.createProxy(AsynchronousProxyTestCase.java:106)
      at org.jboss.test.ws.jaxws.samples.asynchronous.AsynchronousProxyTestCase.testInvokeAsync(AsynchronousProxyTestCase.java:65)
      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.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:88)

      As mentioned in the installation notes, I am trying to execute the test cases by running "ant tests" command.

      It would really help if one can point out the mistake or fix the issue.

      Thanks,
      Sanjay