Hi Rick,

On Jun 24, 2009, at 4:59 PM, Rick wrote:

> Hi,
>    I've written the client for my web serv ice program. This client  
> is also in Java.
>
>    Whenever I invoke the client through my shell script, it gives me  
> the following message:
>
> [code]
> [mybox:/var/]$ ./validate.sh
> Jun 24, 2009 9:49:55 PM com.noelios.restlet.http.StreamClientHelper  
> start
> INFO: Starting the HTTP client
> Jun 24, 2009 9:49:55 PM com.noelios.restlet.http.HttpClientCall  
> getResponseEntity
> INFO: The length of the message body is unknown. The entity must be  
> handled carefully and consumed entirely in order to surely release  
> the connection.
> [mybox:/var/]$
> [/code]
>
> Can I ignore this message or is it some problem with the code? How  
> can I skip the message without ignoring through log4j properties?

If you control the service, I believe you can avoid this by making  
sure that it includes an accurate Content-Length header in the response.

Rhett

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2365373

Reply via email to