Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-152

FTPClient.retrieveFileStream hangs occassionally

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.4
    • None
    • None
    • None
    • Redhat Enterprise Linux 4

    Description

      Occassionally, retrieveFileStream on FTPClient hangs. The thread dump gives the following trace:

      java.net.PlainSocketImpl.socketAccept (native method)
      java.net.PlainSocketImpl.accept (PlainSocketImpl.java:353)
      java.net.ServerSocket.implAccept (ServerSocket.java:448)
      java.net.ServerSocket.accept (ServerSocket.java:419)
      org.apache.commons.net.ftp.FTPClient.openDataConnection(FTPClient.java:502)
      org.apache.commons.net.ftp.FTPClient.retrieveFileStream(FTPClient.java:1,342)

      This seems to occur randomly. Hence, I have not been able to get any specific information for further debugging. Is this a known issue? Is there any work-around for this issue?

      Attachments

        Activity

          People

            Unassigned Unassigned
            bshashianand Shashi Anand B
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: