0 Replies Latest reply on Jun 14, 2013 5:15 AM by ghostuser

    jbossws cxf 4.1 installation into Jboss 7.1.1

    ghostuser

      Hi All

       

      I installed Jboss 7.1.1 first and then downloaded Jboss WS CXF 4.1 and I installed into Jboss 7.1.1 following the provided installation instructions in Jbossws. Just pasted below for your quick view.

       

      Installation instructions

      =========================

       

      In order to install JBossWS the following steps are necessary:

       

      1.) Copy ant.properties.examples to ant.properties

      2.) Modify the target container location in ant.properties

      3.) Execute one of the following

       

          ant deploy-jboss710

          ant deploy-jboss711

          ant deploy-jboss712

          ant deploy-jboss720

       

          By default Spring Framework libraries are not installed to application

      server. In order to do that, please add the -Dspring=true property option when

      running the ant script:

       

              ant -Dspring=true deploy-jboss711

       

      Please note Spring is required for advanced configuration only, whenever users

      want to provide their own jbossws-cxf.xml Spring configuration file.

       

      4.) Execute the samples to verify your installation

       

         'ant tests'

       

         You should see no errors.

       

      My WS-CXF  installation is successful without any errors (till step 3 above) but when I try to run the tests (Step 4 above), I am getting the following error. Could you please let me know what could be the problem, Many thanks in advance.

       

      C:\jbossws-cxf-bin-dist>ant tests

      Buildfile: C:\jbossws-cxf-bin-dist\build.xml

       

      prepare:

       

      init:

           [echo] integration.target=jboss711

       

      tests-prepare:

           [copy] Copying 1 file to C:\jboss-as-7.1.1.Final\appclient\configuration

           [copy] Copying C:\jbossws-cxf-bin-dist\tests\etc\appclient\jboss711\appclient-ws.xml to C:\jboss-as-7.1.1.Final\appclient\configuration\appclient-ws.xml

           [echo]

           [echo] -----------------------------------------------

           [echo] jboss.home   = C:/jboss-as-7.1.1.Final

           [echo] excludesfile = C:\jbossws-cxf-bin-dist/tests/resources/test-excludes-jboss711.txt

           [echo] java.home    = C:\Program Files\Java\jdk1.7.0_21\jre

           [echo] jboss.bind   = localhost

           [echo] -----------------------------------------------

       

      tests-classpath-jboss71x:

       

      tests-classpath-jboss72x:

       

      tests-classpath:

       

      tests-init:

       

      tests-compile:

          [javac] C:\jbossws-cxf-bin-dist\tests\ant-import\build-testsuite.xml:459: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

          [javac] Compiling 443 source files to C:\jbossws-cxf-bin-dist\output\test-classes

          [javac] C:\jbossws-cxf-bin-dist\tests\java\org\jboss\test\ws\jaxws\samples\wsa\AddressingTestCase.java:36: error: package org.apache.cxf.frontend does not exist

          [javac] import org.apache.cxf.frontend.ClientProxy;

          [javac]                               ^

          [javac] C:\jbossws-cxf-bin-dist\tests\java\org\jboss\test\ws\jaxws\samples\wsa\AddressingTestCase.java:108: error: cannot find symbol

          [javac]       Client client = ClientProxy.getClient(proxy);

          [javac]                       ^

          [javac]   symbol:   variable ClientProxy

          [javac]   location: class AddressingTestCase

          [javac] Note: Some input files use unchecked or unsafe operations.

          [javac] Note: Recompile with -Xlint:unchecked for details.

          [javac] 2 errors

       

      BUILD FAILED

      C:\jbossws-cxf-bin-dist\build.xml:101: The following error occurred while executing this line:

      C:\jbossws-cxf-bin-dist\tests\ant-import\build-testsuite.xml:459: Compile failed; see the compiler error output for details.