Hi
DefaultMaxLoginTest and CustomMaxLoginTest are failing on a Unix/Linux
environment: SocketExceptions are raised whereas
FTPConnectionClosedExceptions are expected.
FTPConnectionClosedException documentation mentions that such exceptions
are raised when an FTPReply.SERVICE_NOT_AVAILABLE||
<http://commons.apache.org/net/apidocs/org/apache/commons/net/ftp/FTPReply.html#SERVICE_NOT_AVAILABLE>|
|response (421) is received to a failed FTP command. I have not noticed
this error under a Windows environment.
Here is the surefire report for DefaultMaxLoginTest.
-------------------------------------------------------------------------------
Test set: org.apache.ftpserver.clienttests.DefaultMaxLoginTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.693
sec <<< FAILURE!
testLogin(org.apache.ftpserver.clienttests.DefaultMaxLoginTest) Time
elapsed: 1.686 sec <<< ERROR!
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at java.io.FilterInputStream.read(FilterInputStream.java:66)
at java.io.PushbackInputStream.read(PushbackInputStream.java:122)
at
org.apache.commons.net.io.FromNetASCIIInputStream.__read(FromNetASCIIInputStream.java:75)
at
org.apache.commons.net.io.FromNetASCIIInputStream.read(FromNetASCIIInputStream.java:170)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at
org.apache.commons.net.telnet.TelnetInputStream.__read(TelnetInputStream.java:114)
at
org.apache.commons.net.telnet.TelnetInputStream.run(TelnetInputStream.java:535)
at java.lang.Thread.run(Thread.java:619)
at java.lang.Thread.run(Thread.java:619)
--
Regards
Peter
As always the organisation disavows knowledge of this email