Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

Quick Launch

ERROR: "org.apache.commons.httpclient.HttpMethodBase getResponseBody WARNING: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream" while running Informatica cloud task which uses ServiceNow connector
Problem Description
The following error is noticed when you run Informatica Cloud task that uses ServiceNow connector:

[ERROR]org.apache.commons.httpclient.HttpMethodBase getResponseBody WARNING: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.​​
Cause
Solution
Following steps are used to handle this error:

  1. Login in Informatica Cloud Gui.
  2. In Informatica Cloud home page, click on Administrator tab.
  3. Click on Runtime Environment
  4. Select the Secure Agent which is being used by the task.
  5. Click on edit icon before your secure agent to edit some properties of secure agent.
  6. Select 'Tomcat JRE ' in 'Type' dropdown list under 'System Configuration Details' and put value '-Xms256m -Xmx2048m -XX:MaxPermSize=512m' in INFA_MEMORY as shown in following figure:Infa_Memory.JPG
  7. Select 'DTM' in 'Type' dropdown list under 'System Configuration Details' and put value  '-Xmx2048m' in JVMOption1 as shown in the following figure: DTM.JPG
  8. Click on Ok to save all Changes.
  9. Restart your secure agent and run the task.
More Information
Applies To
Product(s):
Product Version(s):
Database:
Operating System(s):
Other Software:

Reference
Attachments
Last Modified Date:12/5/2018 10:00 PMID:564329
People who viewed this also viewed

Feedback

Did this KB document help you?



What can we do to improve this information (2000 or fewer characters)