EJBCLIENT000082: Cannot outflow the remote transaction "Remote transaction

Solution Unverified - Updated

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 7.2 CP1+

Issue

  • We have an EJB Client that is setting a low transaction timeout of 2 seconds and we are getting this exception: EJBCLIENT000082: Cannot outflow the remote transaction "Remote transaction
javax.ejb.EJBException: EJBCLIENT000082: Cannot outflow the remote transaction "Remote transaction org.wildfly.transaction.client.RemoteTransaction$Active@6ee81a24" as its timeout elapsed
        at org.jboss.ejb.protocol.remote.EJBClientChannel.processInvocation(EJBClientChannel.java:471)
        at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.lambda$handleDone$0(RemoteEJBReceiver.java:91)
        at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)
        at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
        at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
        at java.lang.Thread.run(Thread.java:745)
Caused by: javax.transaction.SystemException: EJBCLIENT000082: Cannot outflow the remote transaction "Remote transaction org.wildfly.transaction.client.RemoteTransaction$Active@6ee81a24" as its timeout elapsed
        at org.jboss.ejb.protocol.remote.EJBClientChannel.writeTransaction(EJBClientChannel.java:564)
        at org.jboss.ejb.protocol.remote.EJBClientChannel.processInvocation(EJBClientChannel.java:367)
    ... 7 more

Resolution

The client application is setting the transaction timeout to a value which is not achievable, so it needs to be raised to a value that is achievable or if the value is reasonable and only fails occasionally, look at turning the servers and make sure there are no resources being limited that causes it to timeout occasionally.

Related Solutions

Root Cause

A bug was fixed, which fixed an issue when low transaction timeouts were set but did not timeout. After the fix, the specified transaction timeout is honored and if the request does not leave the client before the specified transaction timeout expires, the client will get the exception EJBCLIENT000082 as the timeout has expired.
Content from issues.jboss.org is not included.https://issues.jboss.org/browse/JBEAP-16089

Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.