Author: keith
Date: Sat May 10 06:06:14 2008
New Revision: 16772

Log:
Removing the use of MultiThreaded HTTPClient. Looks like this causes problems 
for windows and is a potential cause of test failures in windows. 
(http://forum.java.sun.com/thread.jspa?threadID=430179&messageID=4429682)


Modified:
   
trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/wsrequest/WSRequestHostImpl.java

Modified: 
trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/wsrequest/WSRequestHostImpl.java
==============================================================================
--- 
trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/wsrequest/WSRequestHostImpl.java
      (original)
+++ 
trunk/mashup/java/modules/hostobjects/src/org/wso2/mashup/hostobjects/wsrequest/WSRequestHostImpl.java
      Sat May 10 06:06:14 2008
@@ -38,7 +38,6 @@
 import org.apache.axis2.util.JavaUtils;
 import org.apache.axis2.util.XMLUtils;
 import org.apache.axis2.wsdl.WSDLConstants;
-import org.apache.commons.httpclient.MultiThreadedHttpConnectionManager;
 import org.apache.commons.httpclient.cookie.CookiePolicy;
 import org.apache.neethi.Policy;
 import org.apache.neethi.PolicyEngine;
@@ -556,12 +555,6 @@
     }
 
     private static void setCommonProperties(Context cx, WSRequestHostImpl 
wsRequest) {
-        // Axis2 used to support sending of multiple messages with single
-        // ServiceClient. Now it seems we need to set the following explicitly
-        // in order to do that.
-        wsRequest.sender.getServiceContext().setProperty(
-                HTTPConstants.MUTTITHREAD_HTTP_CONNECTION_MANAGER,
-                new MultiThreadedHttpConnectionManager());
 
         wsRequest.responseText = null;
         wsRequest.responseXML = null;

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to