Hi,
+-From: Christophe Canonville <[email protected]> --
|_Date: Mon, 13 Dec 2010 10:17:41 +0100 _____________________________
|
|It seems to appear at random with this configuration. It happens a bit more
|frequently if a timeout value is set for the session. And it happens almost
|every time if a timeout value is set for the channels.
How about using setServerAliveInterval ?
session.setUserInfo(ui);
session.setDaemonThread(*true*);
session.setServerAliveInterval(1000); // keep alive messages every one sec.
session.connect();
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
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users