tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catalin Boloaja (JIRA)" <tuscany-...@ws.apache.org>
Subject [jira] Commented: (TUSCANY-1997) Axis binding does not allow external configuration to increase the number of the maximum connections opened.
Date Mon, 21 Jan 2008 17:02:34 GMT

    [ https://issues.apache.org/jira/browse/TUSCANY-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561064#action_12561064
] 

Catalin Boloaja commented on TUSCANY-1997:
------------------------------------------

It looks like the following is needed to change the default Axis settings :

                    MultiThreadedHttpConnectionManager conmgr = new MultiThreadedHttpConnectionManager();
	            conmgr.getParams().setDefaultMaxConnectionsPerHost(10);
	            HttpClient client = new HttpClient(conmgr);
	            Options options = new Options();
	            options.setTo(targetEPR);
	            options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
	            options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, "true");
	            options.setProperty(HTTPConstants.CACHED_HTTP_CLIENT, client);
	            
	            options.setCallTransportCleanup(true);

Can you modify Axis2ServiceClient createServiceClient() and see if it solves the problem ?

> Axis binding does not allow external configuration to increase the number of the maximum
connections opened.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1997
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1997
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>         Environment: Solaris , Windows , Websphere , Tomcat
>            Reporter: Catalin Boloaja
>            Assignee: Jean-Sebastien Delfino
>
> In a high volume situation the default setting for Axis2 is 2 connections per host.
> The default protocol being HTTP 1.1 , this means that only 2 POST requests can be issued
at the same time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Mime
View raw message