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?

Thanks

Simon

Reply via email to