Remote EJB client hangs with high CPU after several hours and large number of invocations in EAP 7

Solution Verified - Updated -


  • The server seem to stop processing EJB requests. When running a load test against a JBoss EAP 7.2 CP7 or JBoss EAP 7.3 CP1 server with stateful EJB calls from a Java client, after a some time, the server seem to stop responding to requests. On the client side there is no error, but on the client side is blocked with CPU at 100%. It does not matter if the client is a standalone Java client or if the Java client is located in another JBoss EAP server.
  • Migrated from EAP 6.4 to 7.2 and under production load system becomes unresponsive.

  • Thread dump shows:

    "default-threads - 47" #1718 prio=5 os_prio=0 tid=0x000000000f786800 nid=0x3f4e runnable [0x00007f4c9a094000]
        java.lang.Thread.State: RUNNABLE
            at org.jboss.remoting3._private.IntIndexHashMap.doGet(
            at org.jboss.remoting3._private.IntIndexHashMap.containsKey(
            at org.jboss.remoting3.util.InvocationTracker.addInvocation(
            at org.jboss.ejb.protocol.remote.EJBClientChannel.processInvocation(
            at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.lambda$handleDone$0(
            at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1$$Lambda$1556/1096920767.notify(Unknown Source)
            at org.xnio.FinishedIoFuture.addNotifier(
            at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.handleDone(
            at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.handleDone(
            at org.xnio.IoFuture$HandlingNotifier.notify(
            at org.xnio.AbstractIoFuture$
            at org.xnio.IoUtils$2.execute(
            at org.xnio.AbstractIoFuture.runNotifier(
            at org.xnio.AbstractIoFuture$CompleteState.withNotifier(
            at org.xnio.AbstractIoFuture.addNotifier(
            at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.processInvocation(


  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.2 CP8
    • 7.3 CP1

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