java.io.IOException: org.jboss.remoting3.remote.OutboundMessage$1@449ef49f: cancelled because ack timeout has expired, no acks for this message received from client within 300000 milliseconds

Solution Verified - Updated -

Issue

java.io.IOException: org.jboss.remoting3.remote.OutboundMessage$1@449ef49f: cancelled because ack timeout has expired, no acks for this message received from client within 300000 milliseconds
    at org.jboss.remoting3.remote.OutboundMessage$1.accept(OutboundMessage.java:170)
    at org.xnio.streams.BufferPipeOutputStream.send(BufferPipeOutputStream.java:122)
    at org.xnio.streams.BufferPipeOutputStream.send(BufferPipeOutputStream.java:110)
    at org.xnio.streams.BufferPipeOutputStream.getBuffer(BufferPipeOutputStream.java:74)
    at org.xnio.streams.BufferPipeOutputStream.write(BufferPipeOutputStream.java:92)
    at org.jboss.remoting3.remote.OutboundMessage.write(OutboundMessage.java:292)
    at org.jboss.remoting3.AbstractDelegatingMessageOutputStream.write(AbstractDelegatingMessageOutputStream.java:105)
    at org.jboss.marshalling.OutputStreamByteOutput.write(OutputStreamByteOutput.java:52)
    at org.jboss.ejb.protocol.remote.NoFlushByteOutput.write(NoFlushByteOutput.java:34)
    at org.jboss.marshalling.SimpleDataOutput.write(SimpleDataOutput.java:108)
    at org.jboss.marshalling.river.BlockMarshaller.write(BlockMarshaller.java:104)
    at org.jboss.marshalling.river.BlockMarshaller.write(BlockMarshaller.java:82)
  • We tried to set higher value but still the operation is failing
    -Dorg.jboss.remoting3.remote.message.ack.timeout=1800000 (30 mins. Default value is 5 min (DEFAULT_MESSAGE_ACK_TIMEOUT=300000))
2022-01-21 06:32:18,565+0200 ERROR [com.xyz.STREAMING_TRADE_ARRAY] (default task-2624) [xyz] Unable to send error to client: Stream is closed
java.io.IOException: org.jboss.remoting3.remote.OutboundMessage$1@449ef49f: cancelled because ack timeout has expired, no acks for this message received from client within 1800000 milliseconds

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 7.3.8
    • 7.4.1+

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