[
https://issues.apache.org/jira/browse/DIRMINA-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16965529#comment-16965529
]
Srikanth Chadalavada commented on DIRMINA-989:
----------------------------------------------
I am experiencing this cancelledkeyException a few times in Linux environment
but not an windows 2.0.8. is this a specific to linux enviroment. please let me
know. Thanks.
> Frequent CancelledKeyException
> ------------------------------
>
> Key: DIRMINA-989
> URL: https://issues.apache.org/jira/browse/DIRMINA-989
> Project: MINA
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.8
> Environment: Debian 7.6 x86_64, JRE 1.7.0_67
> Reporter: Hidden
> Priority: Minor
> Fix For: 2.0.9
>
>
> I was told by Mr. Lécharny to post this here so that it can be linked in a
> changelog.
> Since we've updated to MINA 2.0.8, we've been getting this exception every
> few minutes:
> java.nio.channels.CancelledKeyException
> at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
> at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:77)
> at
> org.apache.mina.transport.socket.nio.NioProcessor.setInterestedInWrite(NioProcessor.java:287)
> at
> org.apache.mina.transport.socket.nio.NioProcessor.setInterestedInWrite(NioProcessor.java:45)
> at
> org.apache.mina.core.polling.AbstractPollingIoProcessor.flushNow(AbstractPollingIoProcessor.java:880)
> at
> org.apache.mina.core.polling.AbstractPollingIoProcessor.flush(AbstractPollingIoProcessor.java:778)
> at
> org.apache.mina.core.polling.AbstractPollingIoProcessor.access$700(AbstractPollingIoProcessor.java:67)
> at
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1126)
> at
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> It only occurs in a production environment when there are many clients.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]