Large text robjects with DeployR cause script to fail

Requests containing large text payloads may cause a DeployR script to fail due to limits in Tomcat POST size. By default, this limit is 2 MB but can be increased or removed to enable arbitrary size strings in the POST.

Edit Tomcat's conf/server.xml and add the maxPostSize property to Connector stanza as shown below:
<Connector port="7300" protocol="org.apache.coyote.http11.Http11NioProtocol" compression="1024" compressableMimeType="text/html,text/xml,text/json,text/plain, application/xml,application/json,image/svg+xml" connectionTimeout="20000" maxPostSize="0" redirectPort="7301" />
Value is in bytes and defaults to 2097152 . Set to "0" to remove the limit. Restart Tomcat to enable the change.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
Properties

Article ID: 3104183 - Last Review: 10/31/2015 06:47:00 - Revision: 1.0

Revolution Analytics

  • KB3104183
Feedback