Document URL: https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.4/html/Administration_and_Configuration_Guide/sect-Remoting.html#Configuration_of_Message_Size_in_Remoting Section Number and Name: 5.4.1. Configuration of Message Size in Remoting Describe the issue: Section "5.4.1. Configuration of Message Size in Remoting" talks about that we can configure "MAX_INBOUND_MESSAGE_SIZE" / "MAX_OUTBOUND_MESSAGE_SIZE" to limit the message size but does't clarify where / how to setup this. Suggestions for improvement: Add some example config snippet, and CLI commands showing how / where to setup this MAX_INBOUND_MESSAGE_SIZE / MAX_OUTBOUND_MESSAGE_SIZE Additional information:
Tested on EAP 6.4.5 it needs to be set as below in ejb3 subsystem, and the unit seems to be in byte. -------------------------------------------- <subsystem xmlns="urn:jboss:domain:ejb3:1.5"> ...... <remote connector-ref="remoting-connector" thread-pool-name="default"> <channel-creation-options> <option name="MAX_INBOUND_MESSAGE_SIZE" value="xxxxx" type="remoting"/> <option name="MAX_OUTBOUND_MESSAGE_SIZE" value="xxxxx" type="remoting"/> </channel-creation-options> </remote> ...... </subsystem> --------------------------------------------
Verified here: https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.4/html-single/Administration_and_Configuration_Guide/index.html#Configuration_of_Message_Size_in_Remoting Revision 6.4.0-45 Thursday September 22 2016