[AMQ] java.nio.channels.ClosedChannelException thrown in broker log
Issue
From time to time the broker raises a java.nio.channels.ClosedChannelException.
The full error and call stack reads
INFO | 2018/10/09 08:12:26 | java.nio.channels.ClosedChannelException
INFO | 2018/10/09 08:12:26 | at java.nio.channels.spi.AbstractSelectableChannel.register(AbstractSelectableChannel.java:197)
INFO | 2018/10/09 08:12:26 | at org.apache.activemq.transport.nio.SelectorSelection$1.run(SelectorSelection.java:45)
INFO | 2018/10/09 08:12:26 | at org.apache.activemq.transport.nio.SelectorWorker.processIoTasks(SelectorWorker.java:74)
INFO | 2018/10/09 08:12:26 | at org.apache.activemq.transport.nio.SelectorWorker.run(SelectorWorker.java:89)
INFO | 2018/10/09 08:12:26 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
INFO | 2018/10/09 08:12:26 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
INFO | 2018/10/09 08:12:26 | at java.lang.Thread.run(Thread.java:748)
INFO | 2018/10/09 08:12:26 | java.lang.NullPointerException
INFO | 2018/10/09 08:12:26 | at org.apache.activemq.transport.nio.SelectorSelection$2.run(SelectorSelection.java:62)
INFO | 2018/10/09 08:12:26 | at org.apache.activemq.transport.nio.SelectorWorker.processIoTasks(SelectorWorker.java:74)
INFO | 2018/10/09 08:12:26 | at org.apache.activemq.transport.nio.SelectorWorker.run(SelectorWorker.java:89)
INFO | 2018/10/09 08:12:26 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
INFO | 2018/10/09 08:12:26 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
INFO | 2018/10/09 08:12:26 | at java.lang.Thread.run(Thread.java:748)
INFO | 2018/10/09 08:12:26 | java.lang.NullPointerException
INFO | 2018/10/09 08:12:26 | at org.apache.activemq.transport.nio.SelectorSelection$4.run(SelectorSelection.java:87)
INFO | 2018/10/09 08:12:26 | at org.apache.activemq.transport.nio.SelectorWorker.processIoTasks(SelectorWorker.java:74)
INFO | 2018/10/09 08:12:26 | at org.apache.activemq.transport.nio.SelectorWorker.run(SelectorWorker.java:89)
INFO | 2018/10/09 08:12:26 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
INFO | 2018/10/09 08:12:26 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
INFO | 2018/10/09 08:12:26 | at java.lang.Thread.run(Thread.java:748)
Environment
- Red Hat A-MQ 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
