Ftp camel route is not working subsequent polls?
Issue
- FTP route, migrated from
Fuse-ESBtoJBoss Fuse. - We had a server with
fuse-esb-7.0.2.fuse-097. On this server worked spring camel route, which connecting to ftp every hour and put files as a message toActiveMQ:
Will try again at next poll. Caused by: [org.apache.camel.component.file.GenericFileOperationFailedException - File operation failed: Broken pipe. Code: 426]
Stack Trace:
["org.apache.camel.component.file.GenericFileOperationFailedException: File operation failed: Broken pipe. Code: 426","\tat org.apache.camel.component.file.remote.FtpOperations.getCurrentDirectory(FtpOperations.java:701)[116:org.apache.camel.camel-ftp:2.15.1][org.apache.camel:camel-ftp:2.15.1]","\tat org.apache.camel.component.file.remote.FtpOperations.retrieveFileToStreamInBody(FtpOperations.java:331)[116:org.apache.camel.camel-ftp:2.15.1][org.apache.camel:camel-ftp:2.15.1]","\tat org.apache.camel.component.file.remote.FtpOperations.retrieveFile(FtpOperations.java:301)[116:org.apache.camel.camel-ftp:2.15.1][org.apache.camel:camel-ftp:2.15.1]","\tat org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:396)[115:org.apache.camel.camel-core:2.15.1.redhat-621084][org.apache.camel:camel-core:2.15.1.redhat-621084 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2]","\tat org.apache.camel.component.file.remote.RemoteFileConsumer.processExchange(RemoteFileConsumer.java:128)[116:org.apache.camel.camel-ftp:2.15.1][org.apache.camel:camel-ftp:2.15.1]","\tat org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:211)[115:org.apache.camel.camel-core:2.15.1.redhat-621084][org.apache.camel:camel-core:2.15.1.redhat-621084 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2]","\tat org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:175)[115:org.apache.camel.camel-core:2.15.1.redhat-621084][org.apache.camel:camel-core:2.15.1.redhat-621084 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2]","\tat org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174)[115:org.apache.camel.camel-core:2.15.1.redhat-621084][org.apache.camel:camel-core:2.15.1.redhat-621084 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2]","\tat org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101)[115:org.apache.camel.camel-core:2.15.1.redhat-621084][org.apache.camel:camel-core:2.15.1.redhat-621084 com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:1.4.2]","\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_40]","\tat java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[:1.8.0_40]","\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[:1.8.0_40]","\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[:1.8.0_40]","\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_40]","\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_40]","\tat java.lang.Thread.run(Thread.java:745)[:1.8.0_40]","Caused by: java.net.SocketException: Broken pipe","\tat java.net.SocketOutputStream.socketWrite0(Native Method)[:1.8.0_40]","\tat java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)[:1.8.0_40]","\tat java.net.SocketOutputStream.write(SocketOutputStream.java:153)[:1.8.0_40]","\tat sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)[:1.8.0_40]","\tat sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)[:1.8.0_40]","\tat sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)[:1.8.0_40]","\tat sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)[:1.8.0_40]","\tat java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)[:1.8.0_40]","\tat java.io.BufferedWriter.flush(BufferedWriter.java:254)[:1.8.0_40]","\tat org.apache.commons.net.ftp.FTP.__send(FTP.java:505)[120:org.apache.commons.net:3.3.0][commons-net:commons-net:3.3]","\tat org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:479)[120:org.apache.commons.net:3.3.0][commons-net:commons-net:3.3]","\tat org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:608)[120:org.apache.commons.net:3.3.0][commons-net:commons-net:3.3]","\tat org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:582)[120:org.apache.commons.net:3.3.0][commons-net:commons-net:3.3]","\tat org.apache.commons.net.ftp.FTP.pwd(FTP.java:1454)[120:org.apache.commons.net:3.3.0][commons-net:commons-net:3.3]","\tat org.apache.commons.net.ftp.FTPClient.printWorkingDirectory(FTPClient.java:2658)[120:org.apache.commons.net:3.3.0][commons-net:commons-net:3.3]","\tat org.apache.camel.component.file.remote.FtpOperations.getCurrentDirectory(FtpOperations.java:697)[116:org.apache.camel.camel-ftp:2.15.1][org.apache.camel:camel-ftp:2.15.1]","\t... 15 more"]
Environment
- Red Hat JBoss Fuse
- 6.2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
