mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FTPSERVER-461) FtpServer implement inputClosed() or extend IoHandlerAdapter for MINA 2.0.8 or higher
Date Wed, 19 Nov 2014 23:46:34 GMT

    [ https://issues.apache.org/jira/browse/FTPSERVER-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14218726#comment-14218726

Emmanuel Lecharny commented on FTPSERVER-461:

The {{inputClosed}} method is called when we can't read data in the socket. It's propagated
through the filter up to the {{IoHandlerAdapter}} class which simply closing the connection.

I have no idea why the exceptionCaught event is being called at this point.

That requires a bit of investigation, something I can't do at 1am in the morning after a long
day... :/

Let's check that tomorrow !

> FtpServer implement inputClosed() or extend IoHandlerAdapter for MINA 2.0.8 or higher
> -------------------------------------------------------------------------------------
>                 Key: FTPSERVER-461
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-461
>             Project: FtpServer
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.6
>            Reporter: Ulrich Kohlhase
> According to the Apache MINA release notes for v2.0.8:
> "There is one change that might break the build for those switching from MINA 2.0.7 to
MINA 2.0.8 : the IoHandler interface now has a method called inputClosed(), so either you
have to implement this method if you are directly implementing the IoHandler interface, or
better, you can extends IoHandlerAdapter, which implements a placeholder for this method."
> ERROR org.apache.ftpserver.impl.DefaultFtpHandler  - Exception caught, closing session
> WARN  org.apache.ftpserver.listener.nio.FtpLoggingFilter  - EXCEPTION :
> AbstractMethodError: org.apache.ftpserver.listener.nio.FtpHandlerAdapter.inputClosed(Lorg/apache/mina/core/session/IoSession;)V
>   at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.inputClosed(DefaultIoFilterChain.java:834)
>   at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextInputClosed(DefaultIoFilterChain.java:611)
>   at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:48)
>   at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.inputClosed(DefaultIoFilterChain.java:938)
>   at org.apache.mina.core.filterchain.IoFilterAdapter.inputClosed(IoFilterAdapter.java:137)

This message was sent by Atlassian JIRA

View raw message