1 Reply Latest reply on Jul 16, 2017 9:27 PM by albert kao

    wildfly-10.1.0.Final jboss-cli.sh error: org.apache.cxf.BusException: No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/https

    albert kao Newbie

      I downloaded the source codes of the book "Java Web Services - Up and Running" from https://github.com/mkalin/jwsur2 .

      I compiled the chapter 7 source codes successfully to create /home/ak/JavaWebServices-UpandRunning/jwsur2Ch7/ch7/website/service/tcService.war .

      Deploying it with this command has this error.

      $ $JBOSS_HOME/bin/jboss-cli.sh --connect --command="deploy /home/ak/JavaWebServices-UpandRunning/jwsur2Ch7/ch7/website/service/tcService.war --force"

      {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"tcService.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"tcService.war\".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment \"tcService.war\"

          Caused by: javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException

          Caused by: org.apache.cxf.service.factory.ServiceConstructionException

          Caused by: org.apache.cxf.BusException: No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/https."},"WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"tcService.war\".INSTALL"],"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}}}

       

          $ export CLASSPATH="$CLASSPATH:/home/ak/wildfly-10.1.0.Final/modules/system/layers/base/org/apache/cxf/impl/main"

         

      $ echo $JBOSS_HOME

      /home/ak/wildfly-10.1.0.Final

         

      $ echo $CLASSPATH

      /home/ak/jdk/jdk1.8.0_131/lib::/home/ak/algs4:/home/ak/wildfly-10.1.0.Final/modules/system/layers/base/org/apache/cxf/impl/main

       

         

      $ mvn -version

       

      Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)

       

      Maven home: /home/ak/maven/apache-maven-3.3.9

       

      Java version: 1.8.0_131, vendor: Oracle Corporation

       

      Java home: /home/ak/jdk/jdk1.8.0_131/jre

       

      Default locale: en_CA, platform encoding: UTF-8

       

      OS name: "linux", version: "4.4.0-21-generic", arch: "i386", family: "unix"