Hi 

I have written a java sftp interface using jsch. I get an intermittent problem 
when I try transferring a number of files up to 300MB in size (up to 10 files). 
The transfer works and then for some reason goes into a sleep state and never 
wakes up again so the connection is maintained but the files do not transfer 
and the process never finishes. I have done a truss on the process and remains 
in the sleep state indefinitely. I have change my code to drop the session for 
each file and then create a new session and channel for each file, but this 
doesn't seem to work. Sometimes  the process will finish without problem but 
about 50% of the time it seems to get stuck in a sleeping loop. Version of jsch 
is 0.1.47. Running on Solaris 10. I've tried setting 
setServerAliveInterval(500) but that doesn't work either.

Any suggestions would be much appreciated.


Thanks 


Regards


William 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to