Re: Camel-JBPM component showing java.lang.NoSuchMethodError: org.kie.services.client.api.RemoteRuntimeEngineFactory.newRestBuilder()
Thanks. I'll try and see my observations. I thought I was the only one looking at this issue. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JBPM-component-showing-java-lang-NoSuchMethodError-org-kie-services-client-api-RemoteRuntimeEn-tp5795338p5803327.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel-JBPM component showing java.lang.NoSuchMethodError: org.kie.services.client.api.RemoteRuntimeEngineFactory.newRestBuilder()
I have got the same issue and this what I've found. In the JBPMEndpoint.java line 50 of Camel JBPM component v2.17.0, it uses org.kie.remote.client.api. RemoteRuntimeEngineFactory to create the engine builder e.g. RemoteRestRuntimeEngineBuilder engineBuilder = *RemoteRuntimeEngineFactory.newRestBuilder()*; and the *RemoteRuntimeEngineFactory* class is in, for example, *kie-services-client-6.1.0.Final.jar* and *kie-remote-client-6.3.0.Final.jar*. However, * RemoteRuntimeEngineFactory*class in *kie-services-client-6.1.0.Final.jar* DOES NOT have the *newRestBuilder()* method. While installing JBPM feature, may be the *RemoteRuntimeEngineFactory* from the *kie-services-client-6.1.0.Final.jar* get loaded first in the class path so that's why you get this error when your route being started. 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) Following is a feature of Camel JBPM component, you can see both of jars mentioned above are dependency of the feature. The camel-jbpm feature can only run on a SUN JVM. You need to add the package com.sun.tools.xjc to the java platform packages in the etc/jre.properties file. camel-core transaction mvn:org.openengsb.wrapped/com.google.protobuf/2.4.1.w1 mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-inject/1_2 mvn:org.codehaus.jackson/jackson-jaxrs/1.9.13 mvn:org.codehaus.jackson/jackson-core-asl/1.9.13 mvn:org.codehaus.jackson/jackson-mapper-asl/1.9.13 mvn:org.codehaus.jackson/jackson-xc/1.9.13 mvn:javax.jms/javax.jms-api/2.0.1 mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxws-api-2.2/2.7.0 mvn:org.drools/drools-core/6.3.0.Final mvn:org.drools/drools-compiler/6.3.0.Final wrap:mvn:org.kie/kie-internal/6.3.0.Final mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream/1.4.8_1 mvn:commons-codec/commons-codec/1.10.0.redhat-5 mvn:org.mvel/mvel2/2.2.7.Final-redhat-1 wrap:mvn:org.kie/kie-api/6.3.0.Final wrap:mvn:org.kie.remote/kie-remote-common/6.3.0.Final wrap:mvn:org.kie.remote.ws/kie-remote-ws-common/6.3.0.Final wrap:mvn:org.kie.remote/kie-remote-jaxb/6.3.0.Final *wrap:mvn:org.kie.remote/kie-services-client/6.1.0.Final wrap:mvn:org.kie.remote/kie-remote-client/6.3.0.Final* mvn:org.apache.camel/camel-jbpm/2.17.0.redhat-630187 -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JBPM-component-showing-java-lang-NoSuchMethodError-org-kie-services-client-api-RemoteRuntimeEn-tp5795338p5801738.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel-JBPM component showing java.lang.NoSuchMethodError: org.kie.services.client.api.RemoteRuntimeEngineFactory.newRestBuilder()
We dont support commercial companies products here upstream. You can use Red Hat customer portal to get help with the product. On Mon, Mar 13, 2017 at 3:41 PM, vcamel9wrote: > Hi, I only mentioned Fuse but the error does not suggest it is Fuse problem > though. What could be the possible reason. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-JBPM-component-showing-java-lang-NoSuchMethodError-org-kie-services-client-api-RemoteRuntimeEn-tp5795338p5795365.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
Re: Camel-JBPM component showing java.lang.NoSuchMethodError: org.kie.services.client.api.RemoteRuntimeEngineFactory.newRestBuilder()
Hi, I only mentioned Fuse but the error does not suggest it is Fuse problem though. What could be the possible reason. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JBPM-component-showing-java-lang-NoSuchMethodError-org-kie-services-client-api-RemoteRuntimeEn-tp5795338p5795365.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel-JBPM component showing java.lang.NoSuchMethodError: org.kie.services.client.api.RemoteRuntimeEngineFactory.newRestBuilder()
For JBoss Fuse support you have to contact RH support. -- Andrea Cosentino -- Apache Camel PMC Member Apache Karaf Committer Apache Servicemix Committer Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd On Monday, March 13, 2017 9:06 AM, vcamel9wrote: I have the following in my camel-context.xml AbcProcess http://host:8080/business-central?userName=user1=Pass1=com.abc.unit:Artifact:1.0.0-SNAPSHOT"/> Here is my Pom.xml setting: org.jboss.resteasy resteasy-jaxb-provider 2.3.10.Final-redhat-1 org.kie kie-api 6.2.0.Final-redhat-4 org.kie kie-internal 6.2.0.Final-redhat-4 org.kie kie-ci 6.2.0.Final-redhat-4 org.kie.remote kie-remote-client provided 6.2.0.Final-redhat-4 org.jbpm jbpm-audit 6.2.0.Final-redhat-4 org.jbpm jbpm-runtime-manager 6.2.0.Final-redhat-4 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
Camel-JBPM component showing java.lang.NoSuchMethodError: org.kie.services.client.api.RemoteRuntimeEngineFactory.newRestBuilder()
I have the following in my camel-context.xml AbcProcess http://host:8080/business-central?userName=user1password=Pass1deploymentId=com.abc.unit:Artifact:1.0.0-SNAPSHOT"/> Here is my Pom.xml setting: org.jboss.resteasy resteasy-jaxb-provider 2.3.10.Final-redhat-1 org.kie kie-api 6.2.0.Final-redhat-4 org.kie kie-internal 6.2.0.Final-redhat-4 org.kie kie-ci 6.2.0.Final-redhat-4 org.kie.remote kie-remote-client provided 6.2.0.Final-redhat-4 org.jbpm jbpm-audit 6.2.0.Final-redhat-4 org.jbpm jbpm-runtime-manager 6.2.0.Final-redhat-4 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