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.
Properties

Article ID: 3104183 - Last Review: 31 Oct 2015 - Revision: 1

Feedback