XNIO007007: Thread is terminating is logged during shutdown in JBoss EAP 7.0

Solution Verified - Updated -

Issue

The following error message is sometimes logged in server.log during shutdown JBoss EAP 7.0.z:

2024-09-04 12:27:32,481 INFO  [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0236: Suspending server with no timeout.
2024-09-04 12:27:32,493 INFO  [org.jboss.as.server] (Management Triggered Shutdown) WFLYSRV0241: Shutting down in response to management operation 'shutdown'
...
2024-09-04 12:27:35,284 ERROR [org.xnio.listener] (default I/O-23) XNIO001007: A channel event listener threw an exception: java.util.concurrent.RejectedExecutionException: XNIO007007: Thread is terminating
        at org.xnio.nio.WorkerThread.executeAfter(WorkerThread.java:627)
        at io.undertow.server.protocol.ParseTimeoutUpdater.handleSchedule(ParseTimeoutUpdater.java:85)
        at io.undertow.server.protocol.ParseTimeoutUpdater.connectionIdle(ParseTimeoutUpdater.java:64)
        at io.undertow.server.protocol.http.HttpReadListener.newRequest(HttpReadListener.java:114)
        at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:143)
        at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:92)
        at io.undertow.server.protocol.http.HttpOpenListener.handleEvent(HttpOpenListener.java:51)
        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
        at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:291)
        at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286)
        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
        at org.xnio.nio.QueuedNioTcpServer$1.run(QueuedNioTcpServer.java:131)
        at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:592)
        at org.xnio.nio.WorkerThread.run(WorkerThread.java:472)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0.z

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