We have a 4 nodes cluster running with the standalone-ha profile and the following configuration (we create a connection to an external postgresql Database):
embed-server --server-config=standalone-ha.xml 08:39:25 /subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcp) 08:39:25 data-source add --name=testDS --jndi-name=java:jboss/datasources/testDS --driver-name=postgresql-connector.jar --connection-url=jdbc:postgresql://HOST:PORT/DATABASE --enabled=true --jta=true --use-java-context=true --transaction-isolation=TRANSACTION_READ_COMMITTED --min-pool-size=1 --max-pool-size=5 --pool-prefill=true --user-name=USER --password=PASSWORD --prepared-statements-cache-size=32 --share-prepared-statements=true
We deploy second-level-cache.ear on every node;
We fail each node in a sequence by shutting down EAP;
We observe the following exception on some nodes when shutting down the server (complete logs and configuration in ):
2023-09-27 08:45:30,667 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0004: Undertow 2.3.7.SP1-redhat-00001 stopping 2023-09-27 08:45:30,691 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.SP1-redhat-00001//io.undertow.server.DefaultByteBufferPool.allocate(DefaultByteBufferPool.java:117) at io.undertow.core@2.3.7.SP1-redhat-00001//io.undertow.server.protocol.http.HttpReadListener.handleEventWithNoRunningRequest(HttpReadListener.java:147) at io.undertow.core@2.3.7.SP1-redhat-00001//io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:136) at io.undertow.core@2.3.7.SP1-redhat-00001//io.undertow.server.protocol.http.HttpReadListener.handleEvent(HttpReadListener.java:59) at org.jboss.xnio@3.8.9.Final-redhat-00001//org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) at org.jboss.xnio@3.8.9.Final-redhat-00001//org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) at io.undertow.core@2.3.7.SP1-redhat-00001//io.undertow.conduits.ReadTimeoutStreamSourceConduit$2.readReady(ReadTimeoutStreamSourceConduit.java:106) at org.jboss.xnio.nio@3.8.9.Final-redhat-00001//org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:89) at org.jboss.xnio.nio@3.8.9.Final-redhat-00001//org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
- duplicates
-
JBEAP-25428 (8.0.z) "UT000131: Buffer pool is closed" when server is stopping
- Reopened