+1. We must cleanup & call cleanup of all relevant deployers when the CApp
deployer's cleanup method is called.

On Tue, Nov 18, 2014 at 2:28 PM, Srinath Perera <[email protected]> wrote:

> We need to fix this? chat with Azeez
>
> On Wed, Oct 15, 2014 at 8:31 PM, KasunG Gajasinghe <[email protected]>
> wrote:
>
>> Hi,
>>
>> I've been testing the CAppDeployer functionality these days. One thing I
>> noticed was that the cleanup operation in CappAxis2Deployer is an empty
>> code block!
>>
>> Usually, the cleanup operation of an axis2 deployer gets called during
>> the termination of ConfigurationContext. ie. during a tenant unload for
>> tenants, and during a server shutdown for super-tenant. Is there any
>> special reason we have not implemented this method?
>>
>> I think we have to implement this method, and call the cleanup operation
>> of the deployers of artifacts packed inside the CApp. Further,
>> CappAxis2Deployer maintains a list of currently deployed CApps in the
>> tenant. We have to remove all these references too. Otherwise, this will
>> cause severe memory leaks, isn't it?
>>
>> WDYT?
>>
>> Thanks,
>> KasunG
>>
>> --
>>
>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>> email: kasung AT spamfree wso2.com
>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> blog: http://kasunbg.org
>>
>>
>>
>> _______________________________________________
>> Architecture mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> ============================
> Srinath Perera, Ph.D.
>    http://people.apache.org/~hemapani/
>    http://srinathsview.blogspot.com/
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
*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 3320919blog: **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
<http://lk.linkedin.com/in/afkhamazeez>*

*Lean . Enterprise . Middleware*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to