This ran much better. However, under heavy load, I was able to cause the following error, which ended my whole Session. On Windows, I get:

   java.net.SocketException: Connection reset
            at java.net.SocketInputStream.read(Unknown Source)
            at com.jcraft.jsch.IO.getByte(IO.java:82)
            at com.jcraft.jsch.Session.read(Session.java:853)
            at com.jcraft.jsch.Session.run(Session.java:1289)
            at java.lang.Thread.run(Unknown Source)

and on Linux I get:

   java.net.SocketException: Socket closed
            at java.net.SocketInputStream.socketRead0(Native Method)
            at java.net.SocketInputStream.read(SocketInputStream.java:129)
            at com.jcraft.jsch.IO.getByte(IO.java:82)
            at com.jcraft.jsch.Session.read(Session.java:853)
            at com.jcraft.jsch.Session.run(Session.java:1289)
            at java.lang.Thread.run(Thread.java:662)

I'm not sure what could be causing this. I am doing a reverse port forward when this occurs (jsch -R8888:192.168.1.10:8888 127.0.0.1).
  - Scott

On 1/30/2012 3:01 AM, Atsuhiko Yamanaka wrote:
I could reproduce that problem on Ubuntu10.
It seems it depends on the environments.
I have updated the code.  Please try the following,
   http://www.jcraft.com/jsch/jsch-0.1.46-rc3-flowcontrol.diff
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to