[JSch-users] thread-safety
Status: Alpha
Brought to you by:
ymnk
From: Mathieu L. <Mat...@so...> - 2004-09-15 12:27:54
|
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. 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. thanks for your great software, regards, Mathieu -- Mathieu Lacage <mat...@so...> |