Hi,
We've got an ant build which uses the Jsch library to copy across some files
and run some commands on a deploy server.
Recently we've been getting the following error:
"com.jcraft.jsch.JSchException: channel is not opened."
The error is strange because there's two places during the build where the Jsch
code is called and the first section always completes successfully, whereas the
second section fails with the above error. The SSH server doesn't output any
errors to it's logs.
We've added a "sleep" command between the two sections and after adding this
the problem seems to go away.
Are there any known issues with Jsch and trying to open connections too
quickly? Or opening more than one connection at a time? Has anyone run into
this problem before?
Thank you
Serge
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users