XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.GA_CP03
    • 4.3.0.GA_CP01
    • Web Services
    • None

      I tried the wsrunclient script on windows and get:

      Exception in thread "main" 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:98)

      at javax.xml.ws.Service.<init>(Service.java:83)

      at echo.EchoService.<init>(EchoService.java:40)

      at EchoClient.main(EchoClient.java:12)

      Caused by: java.lang.IllegalStateException: Failed to load javax.xml.ws.spi.Provider: org.jboss.ws.c

      ore.jaxws.spi.ProviderImpl

      at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:96)

      at javax.xml.ws.spi.Provider.provider(Provider.java:90)

      ... 3 more

      Caused by: java.lang.NoClassDefFoundError: org/jboss/util/NotImplementedException

      at java.lang.Class.getDeclaredConstructors0(Native Method)

      at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)

      at java.lang.Class.getConstructor0(Class.java:2671)

      at java.lang.Class.newInstance0(Class.java:321)

      at java.lang.Class.newInstance(Class.java:303)

      at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:91)

      ... 4 more

      to fix this replace
      set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/commons-logging.jar
      with
      set WSRUNCLIENT_CLASSPATH=%WSRUNCLIENT_CLASSPATH%;%JBOSS_HOME%/client/jboss-common-client.jar

              darran.lofthouse@redhat.com Darran Lofthouse
              jaroslaw.kijanowski Jaroslaw Kijanowski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: