commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary D. Gregory (JIRA)" <>
Subject [jira] [Commented] (VFS-353) [FTP] Client should call logout before disconnecting
Date Wed, 16 May 2012 18:19:08 GMT


Gary D. Gregory commented on VFS-353:

Note that the unit tests now log this error to the console without affecting the tests negatively
it seems:

Running org.apache.commons.vfs2.provider.ftp.test.FtpProviderTestCase
2012-05-16 12:48:33,907 [pool-3-thread-2] ERROR: Exception caught, closing session An established connection was aborted by the software in your host machine
        at Method)
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(
        at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(
        at org.apache.mina.core.polling.AbstractPollingIoProcessor$
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
        at java.util.concurrent.ThreadPoolExecutor$
Tests run: 63, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.732 sec
Running org.apache.commons.vfs2.provider.ftp.test.MultipleConnectionTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.075 sec

This could be a misuse of Apache Commons Net by missing making a call to
in just the right spot.
> [FTP] Client should call logout before disconnecting
> ----------------------------------------------------
>                 Key: VFS-353
>                 URL:
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Andreas Bergander
>              Labels: ftp, logout
>             Fix For: 2.1
> Before the disconnect method is called, which closes the sockets, an FTP QUIT command
should be sent by calling the logout-method.
> This is the polite way of ending an FTP session. Some FTP servers don't like if the QUIT
command is skipped and eventually disallows further connection attempts after a while.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message