commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Waldhoff, Rodney" <>
Subject RE: HttpClient Hanging on executeMethod(HttpMethod)
Date Fri, 03 May 2002 11:53:28 GMT
Try turning on Http Client's logging to get a better sense of what's going

1. Set the system property:
via -D on your java command line or something similiar

2. Create a file in your classpath called, and add the

Now you should see the http conversation dumped out to standard out. This
might provide a better idea on where the problem is happening.

You could also add this property:

which will give you pretty verbose debugging messages from various HTTP
Client classes.  Add lines like this:

to trim out the categories that aren't helping you.

(If you know how to use/prefer Log4J, set the property
httpclient.log=org.apache.commons.httpclient.log.Log4JCategoryLog, and
configure log4j as you normally would, or don't set the httpclient.log
property at all and simply have log4j in your classpath).

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message