You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by GegeFR <gw...@ericsson.com> on 2015/06/18 10:07:57 UTC
Re: sftp -> seda yields GenericFileOperationFailedException during
GenericFileOnCompletion move processing
Hi,
I'm digging this up but 5 years later I'm meeting the exact same issue.
sftp => seda => anything causes this type of errors.
Anybody has any idea about that issue nowadays ?
--
View this message in context: http://camel.465427.n5.nabble.com/sftp-seda-yields-GenericFileOperationFailedException-during-GenericFileOnCompletion-move-processing-tp2905598p5768349.html
Sent from the Camel - Users mailing list archive at Nabble.com.
RE: sftp -> seda yields GenericFileOperationFailedException during
GenericFileOnCompletion move processing
Posted by GegeFR <gw...@ericsson.com>.
Alleluia !
I had an hunch when i saw that sometimes I had exceptions like :
"SSH_MSG_DISCONNECT: 2 Packet corrupt". So that meant that somehow the
software is sending garbage to the SSH server.
And i found ... Well ... To make it short :
- The Jsch ChannelSftp is not thread-safe...
- When introducing SEDA or DISRUPTOR we add asynchrous behaviors and thus
try to do concurrent file operations...
To validate I copied "org.apache.camel.component.file.remote.SftpOperations"
into my own sources and added the synchronized keyword in from of every
public method and now it works perfectly, no more exceptions.
So I have now my workaround ... Is someone able to elaborate a proper fix
with only the necessary and smart synchronisations ?
--
View this message in context: http://camel.465427.n5.nabble.com/sftp-seda-yields-GenericFileOperationFailedException-during-GenericFileOnCompletion-move-processing-tp2905598p5768365.html
Sent from the Camel - Users mailing list archive at Nabble.com.
RE: sftp -> seda yields GenericFileOperationFailedException during
GenericFileOnCompletion move processing
Posted by Sven Nold <Sv...@isb-ag.de>.
Hi,
the same issue exists on
sftp/file => disruptor
It seems something with the BatchConsumer (file). My current "bad solution" to use wiretap to leave that processing.
Would be great to hear a better solution.
-----Original Message-----
From: GegeFR [mailto:gwenhael.pasquiers@ericsson.com]
Sent: Thursday, June 18, 2015 10:08 AM
To: users@camel.apache.org
Subject: Re: sftp -> seda yields GenericFileOperationFailedException during GenericFileOnCompletion move processing
Hi,
I'm digging this up but 5 years later I'm meeting the exact same issue.
sftp => seda => anything causes this type of errors.
Anybody has any idea about that issue nowadays ?
--
View this message in context: http://camel.465427.n5.nabble.com/sftp-seda-yields-GenericFileOperationFailedException-during-GenericFileOnCompletion-move-processing-tp2905598p5768349.html
Sent from the Camel - Users mailing list archive at Nabble.com.