How do you set MAX_INBOUND_MESSAGES and MAX_OUTBOUND_MESSAGES for a remote EJB call?

Solution Unverified - Updated -

Issue

  • I put those remoting channel options in the ejb3 subsystem of my EJB server's standalone.xml. But those values seem to be not applied.
<remote connector-ref="remoting-connector" thread-pool-name="default">
    <channel-creation-options>
        <option name="MAX_INBOUND_MESSAGES" value="130" type="remoting"/>
        <option name="MAX_OUTBOUND_MESSAGES" value="130" type="remoting"/>
    </channel-creation-options>
</remote>
  • Should I try to adjust MAX_INBOUND_MESSAGES / MAX_OUTBOUND_MESSAGES settings when I get this error:
java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:TestRemote, moduleName:ejb, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@50e354aa

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In