sayeed
06-17-2010, 07:17 AM
Hi,
I am evaluating Jscape SFTP component for a web application and facing this problem.
Using Jscape, when I am in the middle of an SFTP activity and cause a network error (pull the LAN cable or disable the NIC), the thread throws an error and just hangs.
06/17/2010 12:44:17 INFO [SSH] message received: SSH_MSG_CHANNEL_DATA, recipient channel: 1
06/17/2010 12:44:17 INFO [SFTP] packet received: SSH_FXP_ATTRS, attributes: size=4096,uid=1001,gid=1002,atime=1252890243,mtime =1253766705
06/17/2010 12:44:17 INFO [SFTP] packet sent: SSH_FXP_OPENDIR, path: /home/akhtar/VPF/ACKNAK
06/17/2010 12:44:17 INFO [SSH] message sent: SSH_MSG_CHANNEL_DATA, recipient channel: 0
06/17/2010 12:44:17 INFO [SSH] message received: SSH_MSG_CHANNEL_DATA, recipient channel: 1
06/17/2010 12:44:17 INFO [SFTP] packet received: SSH_FXP_HANDLE, handle: 0 0 0 0
06/17/2010 12:44:17 INFO [SFTP] packet sent: SSH_FXP_READDIR, handle: [B@1318063
06/17/2010 12:44:17 INFO [SSH] message sent: SSH_MSG_CHANNEL_DATA, recipient channel: 0
06/17/2010 12:44:18 ERROR Software caused connection abort: recv failed
06/17/2010 12:44:18 INFO [SSH] closed
06/17/2010 12:44:18 ERROR Software caused connection abort: recv failed
I need to restart the JVM in order to recover from this issue. How can I handle this issue and recover from such hard errors?
Regards,
sayeed
I am evaluating Jscape SFTP component for a web application and facing this problem.
Using Jscape, when I am in the middle of an SFTP activity and cause a network error (pull the LAN cable or disable the NIC), the thread throws an error and just hangs.
06/17/2010 12:44:17 INFO [SSH] message received: SSH_MSG_CHANNEL_DATA, recipient channel: 1
06/17/2010 12:44:17 INFO [SFTP] packet received: SSH_FXP_ATTRS, attributes: size=4096,uid=1001,gid=1002,atime=1252890243,mtime =1253766705
06/17/2010 12:44:17 INFO [SFTP] packet sent: SSH_FXP_OPENDIR, path: /home/akhtar/VPF/ACKNAK
06/17/2010 12:44:17 INFO [SSH] message sent: SSH_MSG_CHANNEL_DATA, recipient channel: 0
06/17/2010 12:44:17 INFO [SSH] message received: SSH_MSG_CHANNEL_DATA, recipient channel: 1
06/17/2010 12:44:17 INFO [SFTP] packet received: SSH_FXP_HANDLE, handle: 0 0 0 0
06/17/2010 12:44:17 INFO [SFTP] packet sent: SSH_FXP_READDIR, handle: [B@1318063
06/17/2010 12:44:17 INFO [SSH] message sent: SSH_MSG_CHANNEL_DATA, recipient channel: 0
06/17/2010 12:44:18 ERROR Software caused connection abort: recv failed
06/17/2010 12:44:18 INFO [SSH] closed
06/17/2010 12:44:18 ERROR Software caused connection abort: recv failed
I need to restart the JVM in order to recover from this issue. How can I handle this issue and recover from such hard errors?
Regards,
sayeed