Seeing JGRP000027 RejectedExecutionException for UNICAST3 in EAP 7 Cluster.

Solution Unverified - Updated -

Issue

Lots of Jgroups Messages tasks in hibernate channel caused in the java.util.concurrent.RejectedExecutionException.

Exception Strack Trace :

ERROR [org.jgroups.protocols.TCP] (thread-2) JGRP000027: failed passing message up: java.util.concurrent.RejectedExecutionException: Task org.jgroups.protocols.UNICAST3$3@60b39aa2 rejected from java.util.concurrent.ThreadPoolExecutor@66daea84[Running, pool size = 30, active threads = 3, queued tasks = 0, completed tasks = 6729459]
        at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063)
        at org.jgroups.util.ShutdownRejectedExecutionHandler.rejectedExecution(ShutdownRejectedExecutionHandler.java:33)
        at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830)
        at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379)
        at org.jgroups.protocols.UNICAST3.processInternalMessage(UNICAST3.java:842)
        at org.jgroups.protocols.UNICAST3.handleDataReceived(UNICAST3.java:796)
        at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:433)
        at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:649)
        at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:155)
        at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:200)
        at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:325)
        at org.jgroups.protocols.MERGE3.up(MERGE3.java:292)
        at org.jgroups.protocols.Discovery.up(Discovery.java:296)
        at org.jgroups.protocols.TP.passMessageUp(TP.java:1658)
        at org.jgroups.protocols.TP$SingleMessageHandler.run(TP.java:1876)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.jboss.as.clustering.jgroups.ClassLoaderThreadFactory.lambda$newThread$0(ClassLoaderThreadFactory.java:52)
        at java.lang.Thread.run(Thread.java:748)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content