Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Large text robjects with DeployR cause script to fail


View products that this article applies to.

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.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 3104183
Revision : 1
Created on : 1/7/2017
Published on : 10/31/2015
Exists online : False
Views : 61