Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: component-camel
    • Labels:
      None

      Description

      camel-cxf-binding does not deploy on WildFly 10 :

      12:16:35,626 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] (MSC service thread 1-1) Route: direct:

      {urn:switchyard-quickstart:camel-cxf:2.0}

      OrderService started and consuming from: Endpoint[direct://%7Burn:switchyard-quickstart:camel-cxf:2.0%7DOrderService]
      12:16:35,723 WARN [org.apache.camel.component.cxf.CxfEndpoint] (MSC service thread 1-1) The endpoint/port name of cxf://http://localhost:8082/camel-cxf/order/OrderService?dataFormat=PAYLOAD&setDefaultBus=false&wsdlURL=OrderService.wsdl is empty, cxf will try to load the first one in wsdl for you.
      12:16:35,723 WARN [org.apache.camel.component.cxf.CxfEndpoint] (MSC service thread 1-1) The service name of cxf://http://localhost:8082/camel-cxf/order/OrderService?dataFormat=PAYLOAD&setDefaultBus=false&wsdlURL=OrderService.wsdl is empty, cxf will try to load the first one in wsdl for you.
      12:16:35,822 INFO [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-1) Creating Service

      {urn:switchyard-quickstart:camel-cxf:2.0}

      OrderService from WSDL: OrderService.wsdl
      12:16:35,892 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."switchyard-camel-cxf-binding.jar".SwitchYardService: org.jboss.msc.service.StartException in service jboss.deployment.unit."switchyard-camel-cxf-binding.jar".SwitchYardService: Failed to start service
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NoClassDefFoundError: org/jboss/com/sun/net/httpserver/HttpHandler
      at org.switchyard.as7.extension.camel.cxf.HttpServerDestinationFactory.createDestination(HttpServerDestinationFactory.java:48)
      at org.apache.cxf.transport.http.HTTPTransportFactory.getDestination(HTTPTransportFactory.java:278)
      at org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:131)
      at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:84)
      at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:63)
      at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:179)
      at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
      at org.apache.camel.component.cxf.CxfConsumer.<init>(CxfConsumer.java:266)
      at org.apache.camel.component.cxf.CxfEndpoint.createConsumer(CxfEndpoint.java:245)
      at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:65)
      at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:85)
      at org.apache.camel.impl.RouteService.warmUp(RouteService.java:158)
      at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:3090)
      at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3020)
      at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3042)
      at org.apache.camel.impl.DefaultCamelContext.startRouteService(DefaultCamelContext.java:2919)
      at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:843)
      at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:2895)
      at org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:775)
      at org.apache.camel.impl.DefaultCamelContext.addRouteDefinition(DefaultCamelContext.java:780)
      at org.switchyard.component.camel.common.handler.InboundHandler.<init>(InboundHandler.java:69)
      at org.switchyard.component.camel.common.deploy.BaseBindingActivator.createInboundHandler(BaseBindingActivator.java:50)
      at org.switchyard.component.camel.common.deploy.BaseBindingActivator.activateBinding(BaseBindingActivator.java:43)
      at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:629)
      at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145)
      at org.switchyard.as7.extension.deployment.SwitchYardDeployment.start(SwitchYardDeployment.java:158)
      at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:77)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
      ... 3 more
      Caused by: java.lang.ClassNotFoundException: org.jboss.com.sun.net.httpserver.HttpHandler from [Module "org.switchyard:main" from local module loader @64cee07 (finder: local module finder @1761e840 (roots: /Users/cunningt/src/switchyard/pullrequest/switchyard/release/jboss-as7/wildfly/dist/target/jboss-switchyard/wildfly-10.0.0.Final/modules,/Users/cunningt/src/switchyard/pullrequest/switchyard/release/jboss-as7/wildfly/dist/target/jboss-switchyard/wildfly-10.0.0.Final/modules/system/layers/soa,/Users/cunningt/src/switchyard/pullrequest/switchyard/release/jboss-as7/wildfly/dist/target/jboss-switchyard/wildfly-10.0.0.Final/modules/system/layers/bpms,/Users/cunningt/src/switchyard/pullrequest/switchyard/release/jboss-as7/wildfly/dist/target/jboss-switchyard/wildfly-10.0.0.Final/modules/system/layers/base))]
      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:351)
      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:93)
      ... 32 more

      12:16:35,904 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 5) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "switchyard-camel-cxf-binding.jar")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"switchyard-camel-cxf-binding.jar\".SwitchYardService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"switchyard-camel-cxf-binding.jar\".SwitchYardService: Failed to start service
      Caused by: java.lang.NoClassDefFoundError: org/jboss/com/sun/net/httpserver/HttpHandler
      Caused by: java.lang.ClassNotFoundException: org.jboss.com.sun.net.httpserver.HttpHandler from [Module \"org.switchyard:main\" from local module loader @64cee07 (finder: local module finder @1761e840 (roots: /Users/cunningt/src/switchyard/pullrequest/switchyard/release/jboss-as7/wildfly/dist/target/jboss-switchyard/wildfly-10.0.0.Final/modules,/Users/cunningt/src/switchyard/pullrequest/switchyard/release/jboss-as7/wildfly/dist/target/jboss-switchyard/wildfly-10.0.0.Final/modules/system/layers/soa,/Users/cunningt/src/switchyard/pullrequest/switchyard/release/jboss-as7/wildfly/dist/target/jboss-switchyard/wildfly-10.0.0.Final/modules/system/layers/bpms,/Users/cunningt/src/switchyard/pullrequest/switchyard/release/jboss-as7/wildfly/dist/target/jboss-switchyard/wildfly-10.0.0.Final/modules/system/layers/base))]"}}
      12:16:35,906 ERROR [org.jboss.as.server] (management-handler-thread - 5) WFLYSRV0021: Deploy of deployment "switchyard-camel-cxf-binding.jar" was rolled back with the following failure message:
      {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"switchyard-camel-cxf-binding.jar\".SwitchYardService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"switchyard-camel-cxf-binding.jar\".SwitchYardService: Failed to start service
      Caused by: java.lang.NoClassDefFoundError: org/jboss/com/sun/net/httpserver/HttpHandler
      Caused by: java.lang.ClassNotFoundException: org.jboss.com.sun.net.httpserver.HttpHandler from [Module \"org.switchyard:main\" from local module loader @64cee07 (finder: local module finder @1761e840 (roots: /Users/cunningt/src/switchyard/pullrequest/switchyard/release/jboss-as7/wildfly/dist/target/jboss-switchyard/wildfly-10.0.0.Final/modules,/Users/cunningt/src/switchyard/pullrequest/switchyard/release/jboss-as7/wildfly/dist/target/jboss-switchyard/wildfly-10.0.0.Final/modules/system/layers/soa,/Users/cunningt/src/switchyard/pullrequest/switchyard/release/jboss-as7/wildfly/dist/target/jboss-switchyard/wildfly-10.0.0.Final/modules/system/layers/bpms,/Users/cunningt/src/switchyard/pullrequest/switchyard/release/jboss-as7/wildfly/dist/target/jboss-switchyard/wildfly-10.0.0.Final/modules/system/layers/base))]"}}

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                igarashitm tomohisa igarashi
                Reporter:
                tcunning Thomas Cunningham
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: