Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-9566

eap-camel-cxf-jaxrs - NoSuchMethodError: SystemPropertyAction.getInteger

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-7.2
    • fuse-7.2
    • FIS-Quickstarts
    • None
    • Fuse 7.2 Sprint 36

      Error:

      07:16:10,144 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."ROOT.war".CamelContextActivationService."ROOT.war": org.jboss.msc.service.StartException in service jboss.deployment.unit."ROOT.war".CamelContextActivationService."ROOT.war": Cannot create camel context: ROOT.war
      	at org.wildfly.extension.camel.service.CamelContextActivationService.start(CamelContextActivationService.java:71)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.jboss.msc.service.StartException in anonymous service: Cannot start camel context: cxfrs-camel-context
      	at org.wildfly.extension.camel.service.CamelContextActivationService.start(CamelContextActivationService.java:67)
      	... 5 more
      Caused by: org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToCreateRouteException: Failed to create route directToCxfrsBeanRoute at: >>> To[cxfrs:bean:cxfProducer] <<< in route: Route(directToCxfrsBeanRoute)[[From[direct:start]] -> [SetHe... because of Failed to resolve endpoint: cxfrs://bean:cxfProducer due to: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxfProducer': Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
      PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'serviceClass' threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.cxf.common.util.SystemPropertyAction.getInteger(Ljava/lang/String;I)I
      	at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1830)
      	at org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:136)
      	at org.wildfly.extension.camel.service.CamelContextActivationService$1.run(CamelContextActivationService.java:63)
      	at org.wildfly.extension.camel.proxy.ProxyUtils$1.invoke(ProxyUtils.java:51)
      	at com.sun.proxy.$Proxy69.run(Unknown Source)
      	at org.wildfly.extension.camel.proxy.ProxyUtils.invokeProxied(ProxyUtils.java:55)
      	at org.wildfly.extension.camel.service.CamelContextActivationService.start(CamelContextActivationService.java:60)
      	... 5 more
      Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route directToCxfrsBeanRoute at: >>> To[cxfrs:bean:cxfProducer] <<< in route: Route(directToCxfrsBeanRoute)[[From[direct:start]] -> [SetHe... because of Failed to resolve endpoint: cxfrs://bean:cxfProducer due to: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxfProducer': Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
      PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'serviceClass' threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.cxf.common.util.SystemPropertyAction.getInteger(Ljava/lang/String;I)I
      	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1303)
      	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:204)
      	at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:1143)
      	at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:3729)
      	at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3443)
      	at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:209)
      	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3251)
      	at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3247)
      	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3270)
      	at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:3247)
      	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
      	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:3163)
      	at org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:133)
      	... 10 more
      Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: cxfrs://bean:cxfProducer due to: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxfProducer': Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
      PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'serviceClass' threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.cxf.common.util.SystemPropertyAction.getInteger(Ljava/lang/String;I)I
      	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:758)
      	at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:80)
      	at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:219)
      	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:115)
      	at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:121)
      	at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:62)
      	at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:56)
      	at org.apache.camel.model.ProcessorDefinition.makeProcessorImpl(ProcessorDefinition.java:562)
      	at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:523)
      	at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:239)
      	at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1300)
      	... 22 more
      Caused by: org.apache.camel.RuntimeCamelException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxfProducer': Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
      PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'serviceClass' threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.cxf.common.util.SystemPropertyAction.getInteger(Ljava/lang/String;I)I
      	at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1830)
      	at org.apache.camel.impl.PropertyPlaceholderDelegateRegistry.lookupByNameAndType(PropertyPlaceholderDelegateRegistry.java:65)
      	at org.apache.camel.util.CamelContextHelper.lookup(CamelContextHelper.java:146)
      	at org.apache.camel.util.CamelContextHelper.mandatoryLookup(CamelContextHelper.java:187)
      	at org.apache.camel.component.cxf.jaxrs.CxfRsComponent.createEndpoint(CxfRsComponent.java:76)
      	at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:126)
      	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:711)
      	... 32 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxfProducer': Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
      PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'serviceClass' threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.cxf.common.util.SystemPropertyAction.getInteger(Ljava/lang/String;I)I
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1574)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1284)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:331)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
      	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1086)
      	at org.apache.camel.spring.spi.ApplicationContextRegistry.lookupByNameAndType(ApplicationContextRegistry.java:47)
      	at org.apache.camel.impl.PropertyPlaceholderDelegateRegistry.lookupByNameAndType(PropertyPlaceholderDelegateRegistry.java:63)
      	... 37 more
      Caused by: org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
      PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'serviceClass' threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.cxf.common.util.SystemPropertyAction.getInteger(Ljava/lang/String;I)I
      	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:121)
      	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1570)
      	... 45 more
      
      07:16:10,150 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "ROOT.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"ROOT.war\".CamelContextActivationService.\"ROOT.war\"" => "Cannot create camel context: ROOT.war
          Caused by: org.jboss.msc.service.StartException in anonymous service: Cannot start camel context: cxfrs-camel-context
          Caused by: org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToCreateRouteException: Failed to create route directToCxfrsBeanRoute at: >>> To[cxfrs:bean:cxfProducer] <<< in route: Route(directToCxfrsBeanRoute)[[From[direct:start]] -> [SetHe... because of Failed to resolve endpoint: cxfrs://bean:cxfProducer due to: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxfProducer': Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
      PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'serviceClass' threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.cxf.common.util.SystemPropertyAction.getInteger(Ljava/lang/String;I)I
          Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route directToCxfrsBeanRoute at: >>> To[cxfrs:bean:cxfProducer] <<< in route: Route(directToCxfrsBeanRoute)[[From[direct:start]] -> [SetHe... because of Failed to resolve endpoint: cxfrs://bean:cxfProducer due to: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxfProducer': Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
      PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'serviceClass' threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.cxf.common.util.SystemPropertyAction.getInteger(Ljava/lang/String;I)I
          Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: cxfrs://bean:cxfProducer due to: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxfProducer': Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
      PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'serviceClass' threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.cxf.common.util.SystemPropertyAction.getInteger(Ljava/lang/String;I)I
          Caused by: org.apache.camel.RuntimeCamelException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxfProducer': Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
      PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'serviceClass' threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.cxf.common.util.SystemPropertyAction.getInteger(Ljava/lang/String;I)I
          Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxfProducer': Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
      PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'serviceClass' threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.cxf.common.util.SystemPropertyAction.getInteger(Ljava/lang/String;I)I
          Caused by: org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
      PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'serviceClass' threw exception; nested exception is java.lang.NoSuchMethodError: org.apache.cxf.common.util.SystemPropertyAction.getInteger(Ljava/lang/String;I)I"}}
      07:16:10,169 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 40) WFLYSRV0010: Deployed "ROOT.war" (runtime-name : "ROOT.war")
      07:16:10,169 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 40) WFLYSRV0010: Deployed "activemq-rar.rar" (runtime-name : "activemq-rar.rar")
      07:16:10,236 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
      WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."ROOT.war".CamelContextActivationService."ROOT.war": Cannot create camel context: ROOT.war
      
      07:16:10,437 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
      07:16:10,439 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
      07:16:10,439 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0054: Admin console is not enabled
      07:16:10,439 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: JBoss EAP 7.1.1.GA (WildFly Core 3.0.12.Final-redhat-1) started (with errors) in 48248ms - Started 545 of 841 services (3 services failed or missing dependencies, 489 services are lazy, passive or on-demand)
      *** JBossAS wrapper process (1) received TERM signal ***
      
      {
          "outcome" => "success",
          "result" => undefined
      }
      

              yfang@redhat.com Freeman(Yue) Fang
              llowinge@redhat.com Lukas Lowinger
              Lukas Lowinger Lukas Lowinger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: