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 remote folder it is downloaded. We |connect and disconnect for every poll. |I have previously written about this in the following thread: |http://www.mailinglistarchive.com/html/jsch-users@lists.sourceforge.net/2012-09/msg00014.html |Yesterday this happened again and our application then stopped polling the |remote sftp server. This time I used jconsole to get a stacktrace to see |where jsch was stuck. Here it comes: ... Have you enabled Session#setServerAliveInterval(int interval) ? Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 +1-415-578-3454 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users