Here is the patch that will fix this. Can the AS team take over from here.
Index: modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
===================================================================
--- modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java (revision
110927)
+++ modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java (working
copy)
@@ -1449,6 +1449,9 @@
if (this.engagedModules != null) {
this.engagedModules.clear();
}
+ for (TransportOutDescription transportOutDescription :
transportsOut.values()) {
+ transportOutDescription.getSender().stop();
+ }
this.configurator = null;
}
Index:
modules/transport/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
===================================================================
---
modules/transport/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
(revision
110927)
+++
modules/transport/http/src/org/apache/axis2/transport/http/CommonsHTTPTransportSender.java
(working
copy)
@@ -192,6 +192,7 @@
public void stop() {
// Any code that , need to invoke when sender stop
+ MultiThreadedHttpConnectionManager.shutdownAll();
}
public InvocationResponse invoke(MessageContext msgContext)
On Tue, Aug 2, 2011 at 6:21 PM, Isuru Suriarachchi <[email protected]> wrote:
> Here is the JIRA that I created for this issue..
>
> https://wso2.org/jira/browse/CARBON-11044
>
> Thanks,
> ~Isuru
>
> On Tue, Aug 2, 2011 at 6:15 PM, Afkham Azeez <[email protected]> wrote:
>
>> There is a related JIRA AXIS2-4898 but the fi has been done in the
>> AxisServlet only, which does not completely fix the problem.
>>
>>
>> On Tue, Aug 2, 2011 at 5:39 PM, Afkham Azeez <[email protected]> wrote:
>>
>>> This seems to be an Axis2 bug, which showed up as a memory leak in our
>>> webapp sample.
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>**
>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Isuru Suriarachchi
> Technical Lead & Product Manager, WSO2 Application Server
>
> WSO2 Inc. http://wso2.com
> email : [email protected]
> blog : http://isurues.wordpress.com/
>
> lean . enterprise . middleware
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
--
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev