[JSch-users] Sftp problem with frozen thread - revisited

2012-10-17 Thread Bengt Rodehav
Hello, I'm using Apache Camel 2.9.1 which in turn uses jsch 0.1.44 for its sftp support. Our application polls a remote sftp server once a minute 24/7. Whenever a file is discovered in a remote folder it is downloaded. We connect and disconnect for every poll. I have previously written about

Re: [JSch-users] Sftp problem with frozen thread - revisited

2012-10-17 Thread Atsuhiko Yamanaka
Hi, +-From: Bengt Rodehav be...@rodehav.com -- |_Date: Wed, 17 Oct 2012 09:26:28 +0200 | |I'm using Apache Camel 2.9.1 which in turn uses jsch 0.1.44 for its sftp |support. Our application polls a remote sftp server once a minute 24/7. |Whenever a file is discovered in a

Re: [JSch-users] Sftp problem with frozen thread - revisited

2012-10-17 Thread Bengt Rodehav
Hello Atsuhiko, No, I haven't done this yet. I wanted to keep the configuration as is just to make sure the problem would occur again (so I could take the stacktrace). I will activate the serverAliveInterval in the next couple of days and see if that helps. In a few weeks we will also upgrade to

Re: [JSch-users] Sftp problem with frozen thread - revisited

2012-10-17 Thread Atsuhiko Yamanaka
Hi, +-From: Bengt Rodehav be...@rodehav.com -- |_Date: Wed, 17 Oct 2012 09:56:26 +0200 | |But, how is it possible that the read() call can hang for several days? |Does Jsch use any default read timeout? If not, how can I configure it? |Finally I would hope that the

Re: [JSch-users] Sftp problem with frozen thread - revisited

2012-10-17 Thread Bengt Rodehav
OK - I will let you know when we've tested with setServerAliveInterval. Mind you, it will take a couple of months until we know (or at least believe) that we have fixed the problem since it occurs about once a month today. /Bengt 2012/10/17 Atsuhiko Yamanaka y...@jcraft.com Hi, +-From: