Bug 1299123

Summary: Admin and Config Guide: Need clarification on how to setup message size in remoting
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Lyle Wang <lywang>
Component: DocumentationAssignee: David Michael <dmichael>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.5CC: dmichael, eap-docs, sgilda
Target Milestone: post-GAKeywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-20 19:13:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lyle Wang 2016-01-16 05:28:07 UTC
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:

Comment 1 Lyle Wang 2016-01-16 05:46:40 UTC
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>
--------------------------------------------