From 1cb99031f5d03dd92c7a6c96013c01d56fc6a3a8 Mon Sep 17 00:00:00 2001 From: lresende Date: Tue, 13 Oct 2009 17:42:02 +0000 Subject: Fixing invalid connection parameter for http client connection manager git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@824858 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/binding/jsonrpc/provider/JSONRPCReferenceBindingProvider.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java/sca/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCReferenceBindingProvider.java b/java/sca/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCReferenceBindingProvider.java index 2a23ff4960..cda6153aa8 100644 --- a/java/sca/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCReferenceBindingProvider.java +++ b/java/sca/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JSONRPCReferenceBindingProvider.java @@ -19,7 +19,6 @@ package org.apache.tuscany.sca.binding.jsonrpc.provider; -import org.apache.commons.httpclient.params.HttpConnectionManagerParams; import org.apache.http.HttpHost; import org.apache.http.client.HttpClient; import org.apache.http.conn.ClientConnectionManager; @@ -69,7 +68,7 @@ public class JSONRPCReferenceBindingProvider implements ReferenceBindingProvider // Create an HTTP client HttpParams defaultParameters = new BasicHttpParams(); - defaultParameters.setIntParameter(HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS, 10); + //defaultParameters.setIntParameter(HttpConnectionManagerParams.MAX_TOTAL_CONNECTIONS, 10); HttpProtocolParams.setContentCharset(defaultParameters, HTTP.UTF_8); HttpConnectionParams.setConnectionTimeout(defaultParameters, 60000); HttpConnectionParams.setSoTimeout(defaultParameters, 60000); -- cgit v1.2.3