Transport protocol thread failed.

Gyula Komlossi <[email protected]>
Newsgroups gmane.comp.java.sshtools.user
Message-ID <[email protected]>
Hi,

I'm working on an application that puts and gets files from an sftp server, 
using j2ssh0.2.7. It connects to the server several times and I get a 
SocketException after a few successful connection and operation. The program 
opens and closes SshClients one after the other. Here is that part of the log:

16:56:12.752 INFO  ConfigurationLoader - JAVA version is 1.4.2_04
16:56:12.752 INFO  TransportProtocolCommon - Starting transport protocol
16:56:12.752 INFO  TransportProtocolCommon - Registering transport protocol 
messages with inputstream
16:56:12.752 INFO  TransportProtocolCommon - Negotiating protocol version
16:56:12.752 DEBUG TransportProtocolCommon - Local identification: 
SSH-2.0-http://www.sshtools.com J2SSH [CLIENT]
16:56:12.768 ERROR TransportProtocolCommon - The Transport Protocol thread failed
java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at java.net.SocketInputStream.read(SocketInputStream.java:182)
         at 
com.sshtools.j2ssh.transport.TransportProtocolCommon.negotiateVersion(Unknown 
Source)
         at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:534)
16:56:12.768 DEBUG TransportProtocolCommon - The Transport Protocol has been stopped

Does anyone have an idea about this?
Thanks,
Gyula



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.