Using getResponseBodyAsStream instead is recommended

Hi all,

I’m using the http plugin to fetch updates from a web site. Every time I get the following in the logs:

2011-06-06 09:44	pool-5-thread-1003	WARN	org.apache.commons.httpclient.HttpMethodBase	Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
2011-06-06 09:43	pool-5-thread-1000	WARN	org.apache.commons.httpclient.HttpMethodBase	Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
2011-06-06 09:42	pool-5-thread-1002	WARN	org.apache.commons.httpclient.HttpMethodBase	Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
2011-06-06 09:41	pool-5-thread-1000	WARN	org.apache.commons.httpclient.HttpMethodBase	Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
2011-06-06 09:40	pool-5-thread-1001	WARN	org.apache.commons.httpclient.HttpMethodBase	Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

It is filling up my logs. This started happening in Servoy 5.2.x

C.

Christian,

This is a harmless warning.
Note that in Servoy 6 the http client plugin no longer uses the commons-httpclient jar which generates this warning.

Rob

harmless

Good!

Hi all.

I added this line

log4j.logger.org.apache.commons.httpclient.HttpMethodBase=ERROR

to log4j properties in Servoy Settings to get rid of this harmless warnings, if anybody interested.