diff --git a/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AxisServlet.java b/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AxisServlet.java index 77875126ec..f070788576 100644 --- a/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AxisServlet.java +++ b/modules/transport/http/src/main/java/org/apache/axis2/transport/http/AxisServlet.java @@ -593,15 +593,6 @@ public void destroy() { } catch (Exception e) { log.info(e.getMessage()); } - // AXIS2-4898: MultiThreadedHttpConnectionManager starts a thread that is not stopped by the - // shutdown of the connection manager. If we want to avoid a resource leak, we need to call - // shutdownAll here. - try { - Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager").getMethod("shutdownAll").invoke(null); - } catch (Exception ex) { - log.error("Failed to shut down MultiThreadedHttpConnectionManager", ex); - } - } private String getHTTPClientVersion() {