camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sourabh Jain (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-10903) Getting Error due to higher version of JSCH
Date Tue, 28 Feb 2017 04:02:45 GMT
Sourabh Jain created CAMEL-10903:
------------------------------------

             Summary: Getting Error due to higher version of JSCH
                 Key: CAMEL-10903
                 URL: https://issues.apache.org/jira/browse/CAMEL-10903
             Project: Camel
          Issue Type: Task
          Components: camel-ftp
    Affects Versions: 2.16.2
            Reporter: Sourabh Jain


Hi, We are getting error when we are using higher version(0.1.53) of JSCH jar. but it work
fine with JSCH version (0.1.49) while using camel-ftp route while making SFTP connection.
Here we are using the proxy for getting connected to SFTP. Please let me know if you need
more detail. 

Please find the below error :  

This is the set of credentials was provided by HSBC but we were getting the following error:
org.apache.camel.component.file.GenericFileOperationFailedException: Cannot connect to sftp://xxxx@ftp.xxxx:22
       at org.apache.camel.component.file.remote.SftpOperations.connect(SftpOperations.java:146)
       at org.apache.camel.component.file.remote.RemoteFileConsumer.connectIfNecessary(RemoteFileConsumer.java:203)
       at org.apache.camel.component.file.remote.SftpConsumer.doStart(SftpConsumer.java:52)
       at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
       at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3269)
       at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRouteConsumers(DefaultCamelContext.java:3563)
       at org.apache.camel.impl.DefaultCamelContext.doStartRouteConsumers(DefaultCamelContext.java:3499)
       at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3429)
       at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3197)
       at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3053)
       at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:175)
       at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2848)
       at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2844)
       at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2867)
       at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2844)
       at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
       at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2813)
       at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:270)
       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.invokeListener(SimpleApplicationEventMulticaster.java:163)
       at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:136)
       at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:380)
       at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
       at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:851)
       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:540)
       at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
       at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
       at com.bfm.etf.dixie.BDServer.loadApplicationContext(BDServer.java:98)
       at com.bfm.etf.dixie.BDServer.main(BDServer.java:60)
Caused by: com.jcraft.jsch.JSchException: Session.connect: java.security.InvalidAlgorithmParameterException:
Prime size must be multiple of 64, and can only range from 512 to 2048 (inclusive)
       at com.jcraft.jsch.Session.connect(Session.java:558)
       at org.apache.camel.component.file.remote.SftpOperations.connect(SftpOperations.java:118)




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message