For JBoss Fuse support you have to contact RH support.
 --
Andrea Cosentino 
----------------------------------
Apache Camel PMC Member
Apache Karaf Committer
Apache Servicemix Committer
Email: [email protected]
Twitter: @oscerd2
Github: oscerd



On Monday, March 13, 2017 9:06 AM, vcamel9 <[email protected]> wrote:
I have the following in my camel-context.xml

         <route id="jBPMRoute">
            <setHeader headerName="CamelJBPMProcessId"
id="jbpmServiceHeader">
                <constant>AbcProcess</constant>
            </setHeader>
            <to id="jbpmServiceCall"
uri="jbpm:http://host:8080/business-central?userName=user1&password=Pass1&deploymentId=com.abc.unit:Artifact:1.0.0-SNAPSHOT"/>
            <log id="jBPMRouteProcessorLog" message="jBPMRouteProcessor
Call"/>
            <to id="_to3" uri="log:output"/>
        </route>


   Here is my Pom.xml setting:
                 
        
        <dependency>
            <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-jaxb-provider</artifactId>
            <version>2.3.10.Final-redhat-1</version>
        </dependency>
        <dependency>
            <groupId>org.kie</groupId>
            <artifactId>kie-api</artifactId>
            <version>6.2.0.Final-redhat-4</version>
        </dependency>
        <dependency>
            <groupId>org.kie</groupId>
            <artifactId>kie-internal</artifactId>
            <version>6.2.0.Final-redhat-4</version>
        </dependency>
        <dependency>
            <groupId>org.kie</groupId>
            <artifactId>kie-ci</artifactId>
            <version>6.2.0.Final-redhat-4</version>
        </dependency>
        <dependency>
            <groupId>org.kie.remote</groupId>
            <artifactId>kie-remote-client</artifactId>
            <scope>provided</scope>
            <version>6.2.0.Final-redhat-4</version>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-audit</artifactId>
            <version>6.2.0.Final-redhat-4</version>
        </dependency>
        <dependency>
            <groupId>org.jbpm</groupId>
            <artifactId>jbpm-runtime-manager</artifactId>
            <version>6.2.0.Final-redhat-4</version>
        </dependency>
        
    

   When I compile it compiles without any problem but when I deploy it gives
error after startup:
   Any leads will be appreciated:

   $ bash fuse
Please wait while JBoss Fuse is loading...
100%
[========================================================================]
Exception in thread "SpringOsgiExtenderThread-2"
java.lang.NoSuchMethodError:
org.kie.services.client.api.RemoteRuntimeEngineFactory.newRestBuilder()Lorg/kie/remote/client/api/RemoteRestRuntimeEngineBuilder;
    at
org.apache.camel.component.jbpm.JBPMEndpoint.createProducer(JBPMEndpoint.java:50)
    at
org.apache.camel.impl.ProducerCache.doGetProducer(ProducerCache.java:439)
    at
org.apache.camel.impl.ProducerCache.acquireProducer(ProducerCache.java:160)
    at org.apache.camel.processor.SendProcessor.doStart(SendProcessor.java:243)
    at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75)
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60)
    at
org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104)
    at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90)
    at
org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:79)
    at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75)
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60)
    at
org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104)
    at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90)
    at
org.apache.camel.processor.RedeliveryErrorHandler.doStart(RedeliveryErrorHandler.java:1372)
    at
org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:44)
    at
org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:31)
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75)
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60)
    at
org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104)
    at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90)
    at
org.apache.camel.processor.interceptor.DefaultChannel.doStart(DefaultChannel.java:156)
    at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75)
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60)
    at
org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104)
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:62)
    at
org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104)
    at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90)
    at
org.apache.camel.processor.MulticastProcessor.doStart(MulticastProcessor.java:1149)
    at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75)
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:60)
    at
org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:104)
    at org.apache.camel.util.ServiceHelper.startServices(ServiceHelper.java:90)
    at
org.apache.camel.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:79)
    at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
    at org.apache.camel.util.ServiceHelper.startService(ServiceHelper.java:75)
    at
org.apache.camel.impl.RouteService.startChildService(RouteService.java:340)
    at org.apache.camel.impl.RouteService.warmUp(RouteService.java:182)
    at
org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:3496)
    at
org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3426)
    at
org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3203)
    at
org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3059)
    at
org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:175)
    at
org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2854)
    at
org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2850)
    at
org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2873)
    at
org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2850)
    at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
    at
org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2819)
    at
org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:275)
    at
org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:136)
    at
org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:340)
    at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)
    at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
    at
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:954)
    at
org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
    at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
    at
org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
    at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
    at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
    at java.lang.Thread.run(Thread.java:745)


   Any thoughts? I am deploying on JBoss Fuse 6.3




--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-JBPM-component-showing-java-lang-NoSuchMethodError-org-kie-services-client-api-RemoteRuntimeEn-tp5795338.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to