Hello,
I'm using mina 0.9 snapshot, and i have the same
problem that was published by another person in the
mailing list, respect to the exception that throw the
SocketIoProcessor when a moderate load is under Mina.
Exception in thread "SocketIoProcessor"
java.nio.channels.CancelledKeyException
INFO | jvm 1 | 2005/11/03 08:13:37 | at
sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55)
INFO | jvm 1 | 2005/11/03 08:13:37 | at
sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:59)
INFO | jvm 1 | 2005/11/03 08:13:37 | at
org.apache.mina.transport.socket.nio.SocketIoProcessor.notifyWriteTimeoutSession(SocketIoProcessor.java:381)
INFO | jvm 1 | 2005/11/03 08:13:37 | at
org.apache.mina.transport.socket.nio.SocketIoProcessor.notifyIdleSession(SocketIoProcessor.java:358)
INFO | jvm 1 | 2005/11/03 08:13:37 | at
org.apache.mina.transport.socket.nio.SocketIoProcessor.notifyIdleSessions(SocketIoProcessor.java:339)
INFO | jvm 1 | 2005/11/03 08:13:37 | at
org.apache.mina.transport.socket.nio.SocketIoProcessor.access$5(SocketIoProcessor.java:320)
INFO | jvm 1 | 2005/11/03 08:13:37 | at
org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProcessor.java:548)
I dont know if this could happen, because i add some
para meters to configuring my server and clients, like
IdleTime and WriteTimeOut, and the time that the
IoThreadPoolFilter hold a thread live (keepTimeAlive).
When this happen (the error), i try to pass to a
stable version of mina (0.8), but a receive the same
error, with an intervale of time different (bigger).
Thank you very much,
Emir Rodriguez.
___________________________________________________________
Do You Yahoo!?
La mejor conexión a Internet y <b >2GB</b> extra a tu correo por $100 al mes.
http://net.yahoo.com.mx