It seems that you used simple thread for IoHandler. You can use a thread
pool as below:
acceptor.getFilterChain().addLast("exceutor", new ExecutorFilter());2011/4/11 박준범 <[email protected]> > Hi > > I am writing Client/Server network program Using MiNA based on char server > example. > > I have a problem to connect server from client . Connection Time out occurs > while MINA Server broadcasts message(about 100kb) to all > > connected Servers. It looks like client's connect operation blocked until > broadcast operation ended. It looks like I/O Connenting handle > > thread wait until broadcast ends. I don't know how exactly MINA's threading > model to process I/O action. > > Broadcast opration occurred in messageReceived method on IOHandler > instance. > > > If I increase Client Time-out property more than broadcasting time. No > Connection Time-out occurs on client > > How can i get over this situation? I'd like for client applications to > connect to MINA Server concurrently while there are broadcasting > > I am using MINA 2.0.2 (NioSocketAcceptor ) and sun JDK 6 on CentOS 5.3 > > I am not good at english. So Please excuse me for my clumsy english . > > Regards, > > Park >
