You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Andreas Haufler (JIRA)" <ji...@apache.org> on 2012/11/27 20:59:57 UTC
[jira] [Created] (FTPSERVER-438) Server logs a lot of warnings
(Releasing unreserved passive port: ...) when using passive mode
Andreas Haufler created FTPSERVER-438:
-----------------------------------------
Summary: Server logs a lot of warnings (Releasing unreserved passive port: ...) when using passive mode
Key: FTPSERVER-438
URL: https://issues.apache.org/jira/browse/FTPSERVER-438
Project: FtpServer
Issue Type: Bug
Components: Core
Affects Versions: 1.0.6
Reporter: Andreas Haufler
Priority: Minor
When using passive mode without specifiying any port or port range a lot of warning are output like this:
[ WARN] 2012-11-27 20:50:56,717 [admin] [127.0.0.1] Releasing unreserved passive port: 53835
This is caused by PassivePorts#reserveNextPort() which always returns 0. But then, PassivePorts#releasePort(int) is confused about the given port which is not contained in the usedList.
Maybe this warning should be disabled when the usedList only contains "0".
To recreate this "bug" simply download the 1.0.6 version and start the server with the typical config. Fire up an ftp client, switch to passive mode and put a file. The log now contains the described error message.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira