2 Replies Latest reply on Sep 23, 2008 11:02 AM by Richard Opalka

    Jbossws Sample build failed

    Zaiwen Gong Newbie


      I downloaded jbossws-1.2.1.GA.zip and installed it to jboss-4.0.5GA using JDK 1.5.0_06 on Windows 2003. Start jboss and I can access http://localhost:8080/jbossws.

      To build the samples I dis the following:
      - unzip jbossws-samples-1.2.1.GA.zip
      - cd jbossws-samples-1.2.1.GA
      - cp ant.properties.example as ant.properties
      - in the ant.properties file:
      - set jboss40.home
      - set jbossws.integration.target=jboss40

      I then ran ant, but received error:
      [get] Error getting http://repository.jboss.org/apache-collections/3.1/lib
      /commons-collections.jar to D:\jbossws-samples-1.2.1.GA\thirdparty\commons-collections.jar

      Do I need to set proxy anywhere?
      My machine itself has no problem access http://repository.jboss.org. Then I tried to manually download the commons-collections.jar and placed it in the ..\thirdparty directory and run ant again, but received another error:
      java.lang.IllegalStateException: Could not load provider:org.jboss.ws.tools.jaxws.impl.WSContractConsumerFactoryImpl

      Any clue? I appreciate your help greatly! I am now being blocked :(