Uploaded image for project: 'Confluence Server and Data Center'
  1. Confluence Server and Data Center
  2. CONFSERVER-31331

Warning messages in logs caused by sub-optimal use of commons httpclient

    XMLWordPrintable

    Details

      Description

      Catalina.out shows the following type of messages:

      "com.atlassian.mywork.client.reliability.DefaultUnreliableWorker:thread-1 WARN <username> 941x62x1 16zb5b2 <workstation ip address> /rest/api/2/issue/<issue key>/comment [apache.commons.httpclient.HttpMethodBase] Going to buffer response body of large or unknown size.  Using getResponseBodyAsStream instead is recommended."
      

      As a workaround solution, you can add these two lines at the end of the file log4j.properties:

      log4j.logger.org.apache.commons.httpclient = ERROR, console, filelog
      log4j.additivity.org.apache.commons.httpclient = false
      

      To disable this warning message.

      More background at JRA-31786

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              honguyen Hoang Nguyen (Inactive)
              Reporter:
              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              Votes:
              16 Vote for this issue
              Watchers:
              26 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: