]
David Lloyd moved WFLY-5994 to WFCORE-1298:
-------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-1298 (was: WFLY-5994)
Component/s: Domain Management
Remoting
Server
(was: Server)
Affects Version/s: (was: 10.0.0.CR5)
RejectedExecutionException: XNIO007007 on WFLY 10 CR5 shutdown
--------------------------------------------------------------
Key: WFCORE-1298
URL:
https://issues.jboss.org/browse/WFCORE-1298
Project: WildFly Core
Issue Type: Bug
Components: Domain Management, Remoting, Server
Reporter: Rostislav Svoboda
Assignee: David Lloyd
Priority: Blocker
WFLY 10 CR5 logs Error message on shutdown (both standalone and domain mode). This
happens regularly, platforms like Fedora 23, RHEL 6, RHEL 7. WFLY 10 CR5 does not have
clean start & stop.
*reproduce*
\# start WFLY 10 CR5
{noformat}
$ ./standalone.sh
...
10:30:46,536 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full
10.0.0.CR5 (WildFly Core 2.0.5.Final) started in 3999ms - 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 WFLY 10 CR5 was started
{noformat}
10:30:53,937 ERROR [org.jboss.remoting.resource] (MSC service thread 1-3) Close action
for Connection handler for Remoting connection 4181b134 to /127.0.0.1:51703 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:327)
at org.jboss.remoting3.remote.RemoteConnection.send(RemoteConnection.java:142)
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}
10:30:53,936 ERROR [org.jboss.remoting.resource] (Remoting "rs:MANAGEMENT"
task-8) Close action for Channel ID 1158edde (inbound) of Remoting connection 4181b134 to
/127.0.0.1:51703 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:327)
at org.jboss.remoting3.remote.RemoteConnection.send(RemoteConnection.java:138)
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}