[AMQ] java.nio.channels.ClosedChannelException thrown in broker log

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content