On Mon, Feb 23, 2009 at 12:54 PM, Guillaume Nodet <[email protected]> wrote:
> Is that what you are looking for:
>
> gnodet:~$ netstat -an | grep 12321
> tcp4       0      0  127.0.0.1.12321        127.0.0.1.50593        ESTABLISHED
> tcp4       0      0  127.0.0.1.50593        127.0.0.1.12321        ESTABLISHED
> tcp4       0      0  *.12321                *.*                    LISTEN

Yes, very much so, thanks! This shows that the server socket is still
i LISTEN state despite FtpServer asking MINA to unbind from that
address. To compare, on my Ubuntu laptop, the socket goes into
TIME_WAIT state.

Also, your client is still connected which is also weird as MINA
should have killed the session. Did your stack dump show what MINA was
doing? I think we would need to dissect in more detail what happens in
org.apache.mina.core.service.AbstractIoAcceptor.unbind(Iterable<?
extends SocketAddress>) on your machine. Would you have the time to
continue the debugging?

Anyone seen anything similar to this before? We do not do anything
fancy in FtpServer, just a simple acceptor.unbind().

/niklas

Reply via email to