Hi, Axis2 1.5.1 creates its own MultithreadedHttpConnectionManager. Is there any way to override this ?
Thanks, Naren Even though I am creating MultithreadedHttpConnectionManager, Axis On Wed, Jun 23, 2010 at 7:01 PM, Deepal Jayasinghe <[email protected]>wrote: > Did you try to set the connection timeout value, try that one too. > > Deepal > > > On Tue, Jun 22, 2010 at 11:52 PM, naren <[email protected]> wrote: > >> Hi, >> I am using Axis2 1.5.1 for creating a webservice client. >> I am getting a ConnectionPoolTimeoutException with concurrent threads. >> >> So far I have tried the below options but without success: >> 1) options. >> setCallTransportCleanup(true); >> >> 2) serviceClient.cleanupTransport(); >> >> 3) HttpConnectionManagerParams params = new >> HttpConnectionManagerParams(); >> params.setDefaultMaxConnectionsPerHost(1); >> multiThreadedHttpConnectionManager.setParams(params); >> >> operationalClient.getOptions().setProperty(HTTPConstants.REUSE_HTTP_CLIENT, >> MWConstants.TRUE); >> >> operationalClient.getOptions().setProperty(HTTPConstants.AUTO_RELEASE_CONNECTION, >> true); >> HttpClient httpClient = new >> HttpClient(multiThreadedHttpConnectionManager); >> >> httpClient.setHttpConnectionManager(multiThreadedHttpConnectionManager); >> >> operationalClient.getOptions().setProperty(HTTPConstants.CACHED_HTTP_CLIENT,httpClient); >> >> >> Any pointers would be helpful. >> Thanks in Advance. >> >> >> Regards, >> Naren >> > >
