Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
The route is running fine in the studio. But when deployed to TAC, it is throwing the below error. Can anyone please help me on this
java.lang.NoSuchMethodError: org.apache.camel.component.salesforce.SalesforceHttpClient.getProtocolHandlers()Ljava/util/List;
at org.apache.camel.component.salesforce.SalesforceHttpClient.doStart(SalesforceHttpClient.java:76) ~[?:?]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) ~[?:?]
at org.apache.camel.component.salesforce.SalesforceComponent.doStart(SalesforceComponent.java:279) ~[?:?]
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) ~[?:?]
at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3275) ~[?:?]
at org.apache.camel.impl.DefaultCamelContext.startServices(DefaultCamelContext.java:3281) ~[?:?]
at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3021) ~[?:?]
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:335) ~[?:?]
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:958) ~[?:?]
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) [?:?]
2018-09-18T19:40:36,734 | INFO | sshd-SshServer[55e0c897]-nio2-thread-25 | er.session.ServerUserAuthService 295 | 144 - org.apache.sshd.core - 1.4.0
I suspect this is your issue (https://issues.jboss.org/browse/ENTESB-8928). It looks like an upgrade to the camel-jetty and camel-salesforce features may be in order. I suggest installing a new Karaf and testing this out in that before modifying your main Karaf
Hi Rhall,
I have gone through this link (https://issues.jboss.org/browse/ENTESB-8928) and could just understand that we need the update the POM file. But couldn't find any pom file on the server as we have the issue on the TAC only. Is there any documentation detailing how to upgrade the camel-jetty and camel-salesforce features and to unistall and install the karaf on talend job server or runtime ?
This is where you need to get to grips with Apache Karaf. If you are going to work with the ESB product you will need to learn Apache Karaf, Apache Camel and probably a fair amount of Spring. What you will need to do is upgrade your features in the Karaf. Start here: https://karaf.apache.org/documentation.html
To install features look for "feature:install"
The best thing you can do is look through the documentation and have a play.