On 23/09/2009, Christoph Jaehnigen <[email protected]> wrote: > I get the following warning from the SimpleHttpConnectionManager: > > org.apache.commons.httpclient.SimpleHttpConnectionManager > getConnectionWithTimeout > WARNUNG: SimpleHttpConnectionManager being used incorrectly. Be sure > that HttpMethod.releaseConnection() is always called and that only one > thread and/or method is using this connection manager at a time. > > Is there a way to supress these warning messages from the console? > Under which circumstances can this warning appear? > > For the background: I use the HttpClient in an Apache XML-RPC client > context in a single-threaded library. The warning just appears when I > use this library via JPype in Python scripts, which are also > single-threaded. > > Any idea how to fix this small issue? Or an explanation why it happens?
Does the code do what the error message says? The error message says it all really... > Thx > Chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
