Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-25428

"UT000131: Buffer pool is closed" when server is stopping

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 8.0.0.GA-CR1, 8.0.0.GA-CR2, 8.0.0.GA
    • Undertow
    • False
    • None
    • False
    • Known Issue
    • Hide

      Obtain the application to deploy

      git clone git@github.com:clusterbench/clusterbench.git
      cd clusterbench
      mvn install -q -P singleton-deployment-specific-descriptor -DskipTests -Denforcer.skip=true
      

      after the build completes, you will have clusterbench-ee10-ear/target/clusterbench-ee10.ear

      Start a cluster

      Start a 4 nodes cluster using the standalone-ha.xml profile

      deploy the application

      deploy the the clusterbench-ee10.ear application on all nodes

      create replicated sessions

      make some HTTP calls to every node to the context path /clusterbench/session: this will cause some HTTP sessions to be created and replicated across the cluster nodes

      simulate fail-over

      • Shutdown and restart node1
      • Shutdown and restart node2
      • Shutdown and restart node3
      • Shutdown and restart node4
      Show
      Obtain the application to deploy git clone git@github.com:clusterbench/clusterbench.git cd clusterbench mvn install -q -P singleton-deployment-specific-descriptor -DskipTests -Denforcer.skip=true after the build completes, you will have clusterbench-ee10-ear/target/clusterbench-ee10.ear Start a cluster Start a 4 nodes cluster using the standalone-ha.xml profile deploy the application deploy the the clusterbench-ee10.ear application on all nodes create replicated sessions make some HTTP calls to every node to the context path /clusterbench/session : this will cause some HTTP sessions to be created and replicated across the cluster nodes simulate fail-over Shutdown and restart node1 Shutdown and restart node2 Shutdown and restart node3 Shutdown and restart node4

      Scenario: we have a 4 nodes cluster where we deploy a singleton-deployment application;

      When the nodes are stopping, on some of them, we observe the following error:

      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)
      

            flaviarnn Flavia Rainone
            tborgato@redhat.com Tommaso Borgato
            Tommaso Borgato Tommaso Borgato
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: