On a multi-node cluster scenario, when nodes are shutting down in WildFly (see WFLY-18371), we can see this stack trace:
2023-08-20 10:28:19,923 INFO [org.infinispan.CLUSTER] (ServerService Thread Pool -- 97) [Context=org.infinispan.PERMISSIONS] ISPN100002: Starting rebalance with members [wildfly2, wildfly3, wildfly4], phase READ_OLD_WRITE_ALL, topology id 15 2023-08-20 10:28:19,926 INFO [org.infinispan.CONTAINER] (ServerService Thread Pool -- 97) ISPN000390: Persisted state, version=14.0.13.Final timestamp=2023-08-20T10:28:19.926022Z 2023-08-20 10:28:19,968 INFO [org.infinispan.CLUSTER] (ServerService Thread Pool -- 99) [Context=http-remoting-connector] ISPN100008: Updating cache members list [wildfly2, wildfly3, wildfly4], topology id 14 2023-08-20 10:28:19,968 INFO [org.infinispan.CLUSTER] (ServerService Thread Pool -- 99) [Context=http-remoting-connector] ISPN100002: Starting rebalance with members [wildfly2, wildfly3, wildfly4], phase READ_OLD_WRITE_ALL, topology id 15 2023-08-20 10:28:19,969 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0008: Undertow HTTP listener default suspending 2023-08-20 10:28:19,969 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 10.0.179.111:8080 2023-08-20 10:28:19,970 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0004: Undertow 2.3.7.Final stopping 2023-08-20 10:28:19,972 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 99) WFLYCLINF0003: Stopped http-remoting-connector cache from ejb container 2023-08-20 10:28:19,977 ERROR [org.xnio.listener] (default I/O-1) XNIO001007: A channel event listener threw an exception: java.lang.IllegalStateException: UT000131: Buffer pool is closed at io.undertow.core@2.3.7.Final//io.undertow.server.DefaultByteBufferPool.allocate(DefaultByteBufferPool.java:117) at io.undertow.core@2.3.7.Final//io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:147) at io.undertow.core@2.3.7.Final//io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:136) at io.undertow.core@2.3.7.Final//io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:59) at org.jboss.xnio@3.8.9.Final//org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) at org.jboss.xnio@3.8.9.Final//org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) at io.undertow.core@2.3.7.Final//io.undertow.conduits.ReadTimeoutStreamSourceConduit$2.readReady(ReadTimeoutStreamSourceConduit.java:106) at org.jboss.xnio.nio@3.8.9.Final//org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89) at org.jboss.xnio.nio@3.8.9.Final//org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
- causes
-
WFLY-18371 "UT000131: Buffer pool is closed" when server is stopping
- Resolved
- is incorporated by
-
WFCORE-6695 CVE-2023-4639 Upgrade Undertow to 2.3.11.Final
- Resolved