mina-ftpserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magnus Grimsell" <magnus.grims...@idainfront.se>
Subject BindException on LIST
Date Thu, 15 May 2008 13:55:37 GMT
Sometimes (very seldom) I get a BindException on a list command. Has anyone else had the same
issue?
I'm testing a snapshot built 2 weeks ago.

[ INFO] 2008-05-14 14:57:57,224 RECEIVED: LIST 
[ WARN] 2008-05-14 14:57:57,270 FtpDataConnection.getDataSocket() 
java.net.BindException: Address already in use (errno:226) 
        at java.net.PlainSocketImpl.socketBind(Native Method) 
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) 
        at java.net.Socket.bind(Socket.java:575) 
        at java.net.Socket.<init>(Socket.java:363) 
        at java.net.Socket.<init>(Socket.java:266) 
        at org.apache.ftpserver.IODataConnectionFactory.createDataSocket(IODataConnectionFactory.java:268)

        at org.apache.ftpserver.IODataConnectionFactory.openConnection(IODataConnectionFactory.java:235)

        at org.apache.ftpserver.command.LIST.execute(LIST.java:90) 
        at org.apache.ftpserver.DefaultFtpHandler.messageReceived(DefaultFtpHandler.java:79)

        at org.apache.ftpserver.listener.mina.FtpHandlerAdapter.messageReceived(FtpHandlerAdapter.java:54)

        at org.apache.mina.common.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:743)

        at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)

        at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)

        at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:823)

        at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54) 
        at org.apache.mina.filter.logging.MdcInjectionFilter.filter(MdcInjectionFilter.java:137)

        at org.apache.mina.filter.util.CommonEventFilter.messageReceived(CommonEventFilter.java:67)

        at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)

        at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)

        at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:823)

        at org.apache.ftpserver.filter.FtpLoggingFilter.messageReceived(FtpLoggingFilter.java:78)

        at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)

        at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)

        at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:823)

        at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:379)

        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:173)

        at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)

        at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)

        at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:823)

        at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54) 
        at org.apache.mina.common.IoEvent.run(IoEvent.java:62) 
        at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(OrderedThreadPoolExecutor.java:557)

        at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(OrderedThreadPoolExecutor.java:549)

        at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThreadPoolExecutor.java:493)

        at java.lang.Thread.run(Thread.java:595) 
[DEBUG] 2008-05-14 14:57:57,276 Exception getting the output data stream 
java.net.BindException: Address already in use (errno:226) 
        at java.net.PlainSocketImpl.socketBind(Native Method) 
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) 
        at java.net.Socket.bind(Socket.java:575) 
        at java.net.Socket.<init>(Socket.java:363) 
        at java.net.Socket.<init>(Socket.java:266) 
        at org.apache.ftpserver.IODataConnectionFactory.createDataSocket(IODataConnectionFactory.java:268)

        at org.apache.ftpserver.IODataConnectionFactory.openConnection(IODataConnectionFactory.java:235)

        at org.apache.ftpserver.command.LIST.execute(LIST.java:90) 
        at org.apache.ftpserver.DefaultFtpHandler.messageReceived(DefaultFtpHandler.java:79)

        at org.apache.ftpserver.listener.mina.FtpHandlerAdapter.messageReceived(FtpHandlerAdapter.java:54)

        at org.apache.mina.common.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:743)

        at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)

        at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)

        at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:823)

        at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54) 
        at org.apache.mina.filter.logging.MdcInjectionFilter.filter(MdcInjectionFilter.java:137)

        at org.apache.mina.filter.util.CommonEventFilter.messageReceived(CommonEventFilter.java:67)

        at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)

        at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)

        at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:823)

        at org.apache.ftpserver.filter.FtpLoggingFilter.messageReceived(FtpLoggingFilter.java:78)

        at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)

        at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)

        at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:823)

        at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:379)

        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:173)

        at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)

        at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)

        at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:823)

        at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54) 
        at org.apache.mina.common.IoEvent.run(IoEvent.java:62) 
        at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(OrderedThreadPoolExecutor.java:557)

        at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(OrderedThreadPoolExecutor.java:549)

        at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThreadPoolExecutor.java:493)

        at java.lang.Thread.run(Thread.java:595) 
[ INFO] 2008-05-14 14:57:57,278 SENT: 150 File status okay; about to open data connection.


[ INFO] 2008-05-14 14:57:57,281 SENT: 425 Can't open data connection. 

[ INFO] 2008-05-14 14:57:57,324 RECEIVED: PORT 10,30,48,75,239,8 
[ INFO] 2008-05-14 14:57:57,337 SENT: 200 Command PORT okay. 

[ INFO] 2008-05-14 14:57:57,341 CLOSED 
[ INFO] 2008-05-14 14:57:57,361 CREATED 
[ INFO] 2008-05-14 14:57:57,395 OPENED 
[ INFO] 2008-05-14 14:57:57,398 SENT: 220 Service ready for new user. 

[ INFO] 2008-05-14 14:57:57,424 RECEIVED: USER SHSTEST 
[ INFO] 2008-05-14 14:57:57,427 SENT: 331 User name okay, need password for shstest. 

[ INFO] 2008-05-14 14:57:57,428 RECEIVED: PASS ***** 
[ INFO] 2008-05-14 14:57:57,430 Login success - shstest 
[ INFO] 2008-05-14 14:57:57,431 SENT: 230 User logged in, proceed.

Mime
View raw message