Jean-Sebastien, I was trying to do some tests as well. The quick hack I was looking to do was to modify Axis2ServiceClient in the method createServiceClient() . >From the Axis documentation I planned on adding first these lines : MultiThreadedHttpConnectionManager conmgr = new MultiThreadedHttpConnectionManager(); conmgr.getParams().setDefaultMaxConnectionsPerHost(10); HttpClient client = new HttpClient(conmgr); configContext.setProperty(HTTPConstants.CACHED_HTTP_CLIENT, client);
The other dirty hack is to change axis2.xml. This might be a short term solution , since the main issue remains , the binding underlying communication is shared by all the components. So I guess , we need a way to have an individual HttpClient and MultiThreadedHttpConnectionManager per binding , with the number of connections configurable per binding. A bientot, Catalin > Date: Fri, 18 Jan 2008 14:59:34 -0800 > From: tuscany-dev@ws.apache.org > To: [EMAIL PROTECTED] > Subject: [jira] Commented: (TUSCANY-1997) Axis binding does not allow > external configuration to increase the number of the maximum connections > opened. > > > [ > https://issues.apache.org/jira/browse/TUSCANY-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560585#action_12560585 > ] > > Jean-Sebastien Delfino commented on TUSCANY-1997: > ------------------------------------------------- > > I am able to reproduce the problem and investigating the best way to fix it. > > > 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. > _________________________________________________________________