Hi,

i get the following warning on every xmlRpcClient.execute() :

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.

What could be the reason for this? Here is the initialization code I use:

HttpClient httpClient = new HttpClient();
HttpClientParams httpClientParams = new HttpClientParams();
httpClient.setParams(httpClientParams);

HttpConnectionManager httpConnectionManager =
httpClient.getHttpConnectionManager();
httpConnectionManager.setParams(arg0)

xmlRpcClient = new XmlRpcClient();

XmlRpcCommonsTransportFactory factory = new
XmlRpcCommonsTransportFactory(xmlRpcClient);
factory.setHttpClient(httpClient);
xmlRpcClient.setTransportFactory(factory);

XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
config.setServerURL(url);
config.setBasicUserName(username);
config.setBasicPassword(password);
xmlRpcClient.setConfig(config);

Thx a lot
Chris

Reply via email to