Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-255

WriteToClosedSessionException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.0.0-M4
    • 1.0.0-RC1
    • Core
    • None
    • Windows Vista using curl

    Description

      using curl on windows to download a file with SSL I get (sometimes) the following exception:

      2-Jan-2009 12:04:46 AM org.apache.mina.filter.logging.LogLevel$4 log
      INFO: SENT: 150 File status okay; about to open data connection.

      2-Jan-2009 12:04:46 AM org.apache.mina.filter.logging.LogLevel$4 log
      INFO: SENT: 226 Transfer complete.

      2-Jan-2009 12:04:46 AM org.apache.mina.filter.logging.LogLevel$4 log
      INFO: RECEIVED: QUIT
      2-Jan-2009 12:04:46 AM org.apache.mina.filter.logging.LogLevel$4 log
      INFO: SENT: 221 Goodbye.

      2-Jan-2009 12:04:46 AM org.apache.mina.filter.logging.LogLevel$5 log
      WARNING: EXCEPTION:
      org.apache.mina.core.write.WriteToClosedSessionException
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.clearWriteReq
      uestQueue(AbstractPollingIoProcessor.java:521)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeNow(Abs
      tractPollingIoProcessor.java:476)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.remove(Abstra
      ctPollingIoProcessor.java:455)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(Ab
      stractPollingIoProcessor.java:58)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor$Worker.run(Ab
      stractPollingIoProcessor.java:862)
      at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
      e.java:51)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
      )
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      2-Jan-2009 12:04:46 AM org.apache.ftpserver.impl.DefaultFtpHandler exceptionCaug
      ht
      SEVERE: Exception caught, closing session
      org.apache.mina.core.write.WriteToClosedSessionException
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.clearWriteReq
      uestQueue(AbstractPollingIoProcessor.java:521)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeNow(Abs
      tractPollingIoProcessor.java:476)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.remove(Abstra
      ctPollingIoProcessor.java:455)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(Ab
      stractPollingIoProcessor.java:58)
      at org.apache.mina.core.polling.AbstractPollingIoProcessor$Worker.run(Ab
      stractPollingIoProcessor.java:862)
      at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
      e.java:51)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
      )
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      2-Jan-2009 12:04:46 AM org.apache.mina.filter.logging.LogLevel$4 log
      INFO: CLOSED

      Attachments

        Activity

          People

            niklas Niklas Therning
            singlewrench Daniel Frank
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: