java.util.concurrent.RejectedExecutionException: XNIO007007: Thread is terminating

GitHub | wildfly-ci | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 8562#171041472

    GitHub | 1 year ago | wildfly-ci
    java.util.concurrent.RejectedExecutionException: XNIO007007: Thread is terminating
  2. 0

    GitHub comment 8572#171587163

    GitHub | 1 year ago | wildfly-ci
    java.util.concurrent.RejectedExecutionException: XNIO007007: Thread is terminating
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    'Exit' doesn't work if sync is running.

    GitHub | 2 years ago | binwiederhier
    java.util.concurrent.RejectedExecutionException: XNIO007007: Thread is terminating
  5. 0

    EAP logs Error message on shutdown (both standalone and domain mode). This happens on all tested platforms, we hit it by acceptance startup jobs. We do not have clean start & stop of EAP. This is serious issue, it is regression against 6.4.0 and 7.0.0.ER3. *reproduce* \# start EAP {noformat} $ ./standalone.sh ... 08:15:17,863 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: JBoss EAP 7.0.0.GA (WildFly Core 2.0.6.Final-redhat-1) started in 2065ms - Started 267 of 569 services (386 services are lazy, passive or on-demand) {noformat} \# shutdown via CLI {noformat} $ ./jboss-cli.sh -c shutdown {noformat} \# check console where EAP was started {noformat} 08:17:05,679 INFO [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0211: Suspending server with 0ms timeout. 08:17:05,686 INFO [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested. 08:17:05,693 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS] 08:17:05,709 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0019: Host default-host stopping 08:17:05,713 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) WFLYJCA0019: Stopped Driver service with driver-name = h2 08:17:05,716 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0008: Undertow HTTP listener default suspending 08:17:05,715 ERROR [org.jboss.remoting.resource] (MSC service thread 1-1) Close action for Connection handler for Remoting connection 6a54ce47 to /127.0.0.1:45278 failed to execute (resource may be left in an indeterminate state): java.util.concurrent.RejectedExecutionException: XNIO007007: Thread is terminating at org.xnio.nio.WorkerThread.execute(WorkerThread.java:588) at org.jboss.remoting3.remote.RemoteConnection$RemoteWriteListener.send(RemoteConnection.java:311) at org.jboss.remoting3.remote.RemoteConnection.send(RemoteConnection.java:126) at org.jboss.remoting3.remote.RemoteConnectionHandler.sendCloseRequestBody(RemoteConnectionHandler.java:289) at org.jboss.remoting3.remote.RemoteConnectionHandler.sendCloseRequestBody(RemoteConnectionHandler.java:278) at org.jboss.remoting3.remote.RemoteConnectionHandler.sendCloseRequest(RemoteConnectionHandler.java:235) at org.jboss.remoting3.remote.RemoteConnectionHandler.closeAction(RemoteConnectionHandler.java:413) at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:372) at org.jboss.remoting3.ConnectionImpl.closeAction(ConnectionImpl.java:54) at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:372) at org.jboss.remoting3.EndpointImpl.closeAction(EndpointImpl.java:225) at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:372) at org.jboss.as.remoting.EndpointService.stop(EndpointService.java:98) at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056) at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {noformat} {noformat} 08:17:05,722 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080 08:17:05,723 INFO [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0004: Undertow 1.3.12.Final-redhat-1 stopping 08:17:05,725 ERROR [org.jboss.remoting.resource] (Remoting "dhcp-10-40-5-167:MANAGEMENT" task-8) Close action for Channel ID 7640d11e (inbound) of Remoting connection 6a54ce47 to /127.0.0.1:45278 failed to execute (resource may be left in an indeterminate state): java.util.concurrent.RejectedExecutionException: XNIO007007: Thread is terminating at org.xnio.nio.WorkerThread.execute(WorkerThread.java:588) at org.jboss.remoting3.remote.RemoteConnection$RemoteWriteListener.send(RemoteConnection.java:311) at org.jboss.remoting3.remote.RemoteConnection.send(RemoteConnection.java:122) at org.jboss.remoting3.remote.RemoteConnectionChannel.closeReadsAndWrites(RemoteConnectionChannel.java:261) at org.jboss.remoting3.remote.RemoteConnectionChannel.closeAction(RemoteConnectionChannel.java:534) at org.jboss.remoting3.spi.AbstractHandleableCloseable.closeAsync(AbstractHandleableCloseable.java:372) at org.jboss.remoting3.remote.RemoteConnectionHandler.closeAllChannels(RemoteConnectionHandler.java:437) at org.jboss.remoting3.remote.RemoteConnectionHandler.handleConnectionClose(RemoteConnectionHandler.java:114) at org.jboss.remoting3.remote.RemoteReadListener$1$1.run(RemoteReadListener.java:57) at org.jboss.remoting3.EndpointImpl$TrackingExecutor$1.run(EndpointImpl.java:717) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {noformat}

    JBoss Issue Tracker | 1 year ago | Petr Kremensky
    java.util.concurrent.RejectedExecutionException: XNIO007007: Thread is terminating

    1 unregistered visitors

    Root Cause Analysis

    1. java.util.concurrent.RejectedExecutionException

      XNIO007007: Thread is terminating

      at org.xnio.nio.WorkerThread.execute()
    2. XNIO NIO Implementation
      WorkerThread.execute
      1. org.xnio.nio.WorkerThread.execute(WorkerThread.java:588)
      1 frame
    3. JBoss Remoting
      RemoteConnectionHandler.closeAction
      1. org.jboss.remoting3.remote.RemoteConnection$RemoteWriteListener.send(RemoteConnection.java:327)
      2. org.jboss.remoting3.remote.RemoteConnection.send(RemoteConnection.java:142)
      3. org.jboss.remoting3.remote.RemoteConnectionHandler.sendCloseRequestBody(RemoteConnectionHandler.java:289)
      4. org.jboss.remoting3.remote.RemoteConnectionHandler.sendCloseRequestBody(RemoteConnectionHandler.java:278)
      5. org.jboss.remoting3.remote.RemoteConnectionHandler.sendCloseRequest(RemoteConnectionHandler.java:235)
      6. org.jboss.remoting3.remote.RemoteConnectionHandler.closeAction(RemoteConnectionHandler.java:413)
      6 frames