You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Giriraj Vengurlekar <gv...@serus.com> on 2008/07/09 17:39:20 UTC
(Commons-NET-FTP) Connection closed without indication
Hi
We are using the commons net package 1.4.1 and the FTPClient API. We intermittently see the following - I would appreciate any leads on what can cause this.
Thanks
-giriraj
2008-06-28 14:16:25,218 FATAL [Timer-1] ftp.FTPClientImpl<ftp://ftp.FTPClientImpl> - Connection to OSAT Supplier could not be established
org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.
at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:267<ftp://FTP.java:267>)
at org.apache.commons.net.ftp.FTP._connectAction_(FTP.java:335<ftp://FTP.java:335>)
at org.apache.commons.net.ftp.FTPClient._connectAction_(FTPClient.java:550)
at org.apache.commons.net.SocketClient.connect(SocketClient.java:163)
at org.apache.commons.net.SocketClient.connect(SocketClient.java:250)
at com.serus.adapter.ftp.FTPClientImpl$FTPTask.establishConnection(FTPClientImpl.java:199)
at com.serus.adapter.ftp.FTPClientImpl$FTPTask.run(FTPClientImpl.java:143)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2008-06-28 14:19:34,187 FATAL [Timer-1] ftp.FTPClientImpl<ftp://ftp.FTPClientImpl> - Connection to OSAT Supplier could not be established
org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.
at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:267<ftp://FTP.java:267>)
at org.apache.commons.net.ftp.FTP._connectAction_(FTP.java:335<ftp://FTP.java:335>)
at org.apache.commons.net.ftp.FTPClient._connectAction_(FTPClient.java:550)
at org.apache.commons.net.SocketClient.connect(SocketClient.java:163)
at org.apache.commons.net.SocketClient.connect(SocketClient.java:250)
at com.serus.adapter.ftp.FTPClientImpl$FTPTask.establishConnection(FTPClientImpl.java:199)
at com.serus.adapter.ftp.FTPClientImpl$FTPTask.run(FTPClientImpl.java:143)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2
Re: (Commons-NET-FTP) Connection closed without indication
Posted by sebb <se...@gmail.com>.
On 09/07/2008, Giriraj Vengurlekar <gv...@serus.com> wrote:
> Hi
>
> We are using the commons net package 1.4.1 and the FTPClient API. We intermittently see the following - I would appreciate any leads on what can cause this.
>
> Thanks
> -giriraj
>
> 2008-06-28 14:16:25,218 FATAL [Timer-1] ftp.FTPClientImpl<ftp://ftp.FTPClientImpl> - Connection to OSAT Supplier could not be established
> org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.
This Exception is generated when the readLine() method returns -1 on
the control connection - i.e. the control connection is at EOF -
during the initial connection phase.
This suggests that there is a problem with the server.
Might be useful to use a protocol analyser to find out what is happening.
> at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:267<ftp://FTP.java:267>)
> at org.apache.commons.net.ftp.FTP._connectAction_(FTP.java:335<ftp://FTP.java:335>)
> at org.apache.commons.net.ftp.FTPClient._connectAction_(FTPClient.java:550)
> at org.apache.commons.net.SocketClient.connect(SocketClient.java:163)
> at org.apache.commons.net.SocketClient.connect(SocketClient.java:250)
> at com.serus.adapter.ftp.FTPClientImpl$FTPTask.establishConnection(FTPClientImpl.java:199)
> at com.serus.adapter.ftp.FTPClientImpl$FTPTask.run(FTPClientImpl.java:143)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> 2008-06-28 14:19:34,187 FATAL [Timer-1] ftp.FTPClientImpl<ftp://ftp.FTPClientImpl> - Connection to OSAT Supplier could not be established
> org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.
> at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:267<ftp://FTP.java:267>)
> at org.apache.commons.net.ftp.FTP._connectAction_(FTP.java:335<ftp://FTP.java:335>)
> at org.apache.commons.net.ftp.FTPClient._connectAction_(FTPClient.java:550)
> at org.apache.commons.net.SocketClient.connect(SocketClient.java:163)
> at org.apache.commons.net.SocketClient.connect(SocketClient.java:250)
> at com.serus.adapter.ftp.FTPClientImpl$FTPTask.establishConnection(FTPClientImpl.java:199)
> at com.serus.adapter.ftp.FTPClientImpl$FTPTask.run(FTPClientImpl.java:143)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> 2
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org