The MINA v2.0 Quick Start Guide needs updating for the current API http://mina.apache.org/mina-v20-quick-start-guide.html
In the last MinaTimeServer code snippet it has... acceptor.setLocalAddress( new InetSocketAddress(PORT) ); acceptor.bind(); ...but setLocalAddress() doesn't exist (in Mina 2.0.0-M1) - should be changed to setDefaultLocalAddress() or replace those lines with acceptor.bind(new InetSocketAddress(PORT)); The other thing is the lines added in the 3rd MinaTimeServer code snippet have been dropped from the 4th(last) code snippet, i.e. acceptor.getSessionConfig().setReadBufferSize( 2048 ); acceptor.getSessionConfig().setIdleTime( IdleStatus.BOTH_IDLE, 10 ); Niall