Simon Laws ha scritto:
In the stop() method of the Axis2ServiceClient there is the following...
// close all connections that we have initiated, so that the jetty
server
// can be restarted without seeing ConnectExceptions
HttpClient httpClient =
(HttpClient)serviceClient.getServiceContext().getConfigurationContext()
.getProperty(HTTPConstants.CACHED_HTTP_CLIENT);
if (httpClient != null)
((MultiThreadedHttpConnectionManager)httpClient.getHttpConnectionManager()).shutdown();
However this is not symetrical as the start() method has nothing in it. The
HTTP connection is created in the Axis2ServiceClient I believe. Anyone know
why it is like this?
I know, that the line httpClient...with a cached http client, was
introduced for solving the Async Call invocations problem, see JIRA 1804.
Cheers,
Giorgio.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]