Also, the following patch for AS product

Index:
modules/samples/common/webapp/src/main/resources/carbon/authentication/login.jsp
===================================================================
---
modules/samples/common/webapp/src/main/resources/carbon/authentication/login.jsp
(revision
110927)
+++
modules/samples/common/webapp/src/main/resources/carbon/authentication/login.jsp
(working
copy)
@@ -34,6 +34,7 @@
     AuthenticationAdminClient authAdmin =
             new AuthenticationAdminClient(configCtx, serverURL, null,
session, true);
     boolean status = authAdmin.login(username, password,
request.getRemoteAddr());
+    configCtx.terminate();
     if (status) {
         session.setAttribute("logged-in", "true");
         session.setAttribute("username", username);


On Tue, Aug 2, 2011 at 7:04 PM, Isuru Suriarachchi <[email protected]> wrote:

>
>
> On Tue, Aug 2, 2011 at 7:22 PM, Afkham Azeez <[email protected]> wrote:
>
>> Here is the patch that will fix this. Can the AS team take over from here.
>
>
> Sure..
>
> Thanks,
> ~Isuru
>
>
>>
>> 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
>>
>>
>
>
> --
> 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

Reply via email to