smrutiranjan209 commented on issue #1722:
URL: 
https://github.com/apache/camel-kafka-connector/issues/1722#issuecomment-4213152929

   @oscerd , 
   I am currently using the Docker image confluentinc/cp-kafka-connect:8.2.0, 
in which Jetty has been upgraded to version 12.x. Based on this, I am using the 
latest available version of the Apache Camel Salesforce Source Connector 
(v4.18.0).
   
   During deployment, although the build completes successfully, I encounter a 
runtime error. Below is the list of relevant JARs present in the classpath 
(specifically Jetty and CometD dependencies):
   
   JARs:
   
   jetty-util-12.1.6.jar
   jetty-util-ajax-12.1.6.jar
   jetty-alpn-client-12.1.6.jar
   jetty-io-12.1.6.jar
   jetty-compression-gzip-12.1.6.jar
   jetty-client-12.1.6.jar
   jetty-compression-common-12.1.6.jar
   
   cometd-java-client-http-jetty-9.0.0.jar
   cometd-java-client-http-jetty-9.0.0.jar
   cometd-java-client-http-common-9.0.0.jar
   cometd-java-client-common-9.0.0.jar
   cometd-java-api-common-9.0.0.jar
   cometd-java-api-client-9.0.0.jar
   cometd-java-common-9.0.0.jar
   
   Error encountered at runtime:
   
   java.lang.NoSuchMethodError: 'org.eclipse.jetty.util.component.Environment 
org.eclipse.jetty.util.component.Environment.ensure(java.lang.String)'
       at 
org.eclipse.jetty.ee10.servlet.ServletContextHandler.<clinit>(ServletContextHandler.java:135)
       at 
org.apache.kafka.connect.runtime.rest.RestServer.initializeResources(RestServer.java:259)
       at 
org.apache.kafka.connect.runtime.rest.ConnectRestServer.initializeResources(ConnectRestServer.java:45)
       at org.apache.kafka.connect.runtime.Connect.start(Connect.java:71)
       at 
org.apache.kafka.connect.cli.AbstractConnectCli.startConnect(AbstractConnectCli.java:146)
       at 
org.apache.kafka.connect.cli.AbstractConnectCli.run(AbstractConnectCli.java:95)
       at 
org.apache.kafka.connect.cli.ConnectDistributed.main(ConnectDistributed.java:112)
   
   Could you please help clarify:
   
   1. Whether Apache Camel Salesforce Connector v4.18.0 is compatible with 
Jetty 12 / CometD 9?
   2. If not, what would be the recommended compatible versions of Camel, 
Jetty, and CometD for this setup?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to