Re: [JSch-users] thread-safety
Status: Alpha
Brought to you by:
ymnk
|
From: <ym...@jc...> - 2004-09-17 01:46:02
|
Hi, +-From: Mathieu Lacage <Mat...@so...> -- |_Date: Wed, 15 Sep 2004 13:22:29 +0200 __________________ | |hi all, I have just integrated jsch into Proactive |(http://www-sop.inria.fr/oasis/ProActive/) and I can now |successfully tunnel all of the http/rmi communications of |proactive through ssh tunnels which is great. It is great pleasure to hear that our stuff works for somebody. |I did ran into a small problem which is that the jsch library is |not thread-safe and I had to add a global JVM-wide lock to my |tunnel creation and destruction functions. Maybe it would be nice |to document that the library is not thread-safe (or, better make |it thread-safe ;-) because it took me a lot of time to debug the |whole system and figure out what was the cause of the intermittent |failures I observed. Is it easy to reproduce that problem? I have recognized one problem in opening and reading/writing simultaneously multiple channels on one ssh session. I had encountered that problem in integrating jsch(Eclipse CVS-SSH2 plug-in) into Eclipse SDK 3.0. Of course, after some efforts, that problem will not appear in Eclipse 3.0, but it has not be fixed yet essentially. I have planed to try fixing that problem in this or next month. Thanks, -- ymnk |