I am facing issue when I tried to transfer large files through SFTP. 2015-06-04 05:08:19,200 [ax070.abc.com:22//tmp/]] WARN SftpConsumer - Consumer Consumer[sftp://devs...@appax070.target.com:22//tmp/?fileName=sftp_app_wap_trans_test.xlsx&password=xxxxxx&stepwise=false&throwExceptionOnConnectFailed=true] failed polling endpoint: Endpoint[sftp://a...@appax070.abc.com:22//tmp/?fileName=sftp_app_wap_trans_test.xlsx&password=xxxxxx&stepwise=false&throwExceptionOnConnectFailed=true]. Will try again at next poll. Caused by: [org.apache.camel.component.file.GenericFileOperationFailedException - Cannot connect to sftp://devs...@appax070.target.com:22] org.apache.camel.component.file.GenericFileOperationFailedException: Cannot connect to sftp://a...@appax070.abc.com:22 at org.apache.camel.component.file.remote.SftpOperations.connect(SftpOperations.java:143) at org.apache.camel.component.file.remote.RemoteFileConsumer.connectIfNecessary(RemoteFileConsumer.java:154) at org.apache.camel.component.file.remote.RemoteFileConsumer.recoverableConnectIfNecessary(RemoteFileConsumer.java:145) at org.apache.camel.component.file.remote.RemoteFileConsumer.prePollCheck(RemoteFileConsumer.java:55) at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:106) at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:187) at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:114) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:781) Caused by: com.jcraft.jsch.JSchException: java.io.IOException: inputstream is closed at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:315) at com.jcraft.jsch.Channel.connect(Channel.java:152) at org.apache.camel.component.file.remote.SftpOperations.connect(SftpOperations.java:127) ... 14 more Caused by: java.io.IOException: inputstream is closed at com.jcraft.jsch.ChannelSftp.fill(ChannelSftp.java:2871) at com.jcraft.jsch.ChannelSftp.header(ChannelSftp.java:2895) at com.jcraft.jsch.ChannelSftp.start(ChannelSftp.java:262) ... 16 more
Can anyone help on this issue. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-FTP2-component-throws-inputstream-closed-Exception-tp5768036.html Sent from the Camel - Users mailing list archive at Nabble.com.