Re: [Architecture] Unwanted application deployment notifications in AppFactory

2014-07-16 Thread Anuruddha Premalal
Hi, Since there are some concerns[1] in calculating md5sum for application artifacts, [1] Cannot generate a single md5 for a directory.( in jaggery case) When we run application servers with EXPLODED_MODE = ON (which is the recommended way for production) war files will get extracted in the

Re: [Architecture] Unwanted application deployment notifications in AppFactory

2014-07-04 Thread Ajanthan Balachandran
On Tue, Jul 1, 2014 at 5:48 PM, Anuruddha Premalal anurud...@wso2.com wrote: Hi All, Following is the problem-solution description regards to jira APPFAC-2252 https://wso2.org/jira/browse/APPFAC-2252 *Problem :* AppServer tenant get unloaded when there is no activity for 30mins. When a

Re: [Architecture] Unwanted application deployment notifications in AppFactory

2014-07-04 Thread Ashansa Perera
If lastAccessedTime is -1 at the time tenant is loading, I feel that this is a good approach. On Jul 4, 2014 12:07 PM, Ajanthan Balachandran ajant...@wso2.com wrote: On Tue, Jul 1, 2014 at 5:48 PM, Anuruddha Premalal anurud...@wso2.com wrote: Hi All, Following is the problem-solution

Re: [Architecture] Unwanted application deployment notifications in AppFactory

2014-07-04 Thread Dimuthu Leelarathne
Hi Ajanthan and all, 1 - Artifact is getting deployed for the first time and tenant is already loaded sometime ago 2 - Artifact is getting deployed for the first time while tenant is getting loaded 3 - Artifact is getting redeployed and the tenant is already loaded sometime ago 4 - Artifact is

[Architecture] Unwanted application deployment notifications in AppFactory

2014-07-01 Thread Anuruddha Premalal
Hi All, Following is the problem-solution description regards to jira APPFAC-2252 https://wso2.org/jira/browse/APPFAC-2252 *Problem :* AppServer tenant get unloaded when there is no activity for 30mins. When a user deploy an app to this unloaded tenant, it will load and deploy all previously

Re: [Architecture] Unwanted application deployment notifications in AppFactory

2014-07-01 Thread Manjula Rathnayake
Hi Anuruddha, How do we handle a scenario where developer1 click on deploy of 1.0.0 version and at the same time, developer2 click on deploy of 2.0.0 version of same application? AFAIU, both developer1 and developer2 will notice that 1.0.0 and 2.0.0 both deployment messages in App wall. IMO this

Re: [Architecture] Unwanted application deployment notifications in AppFactory

2014-07-01 Thread Danushka Fernando
I think this will apply to everything deployed in WSO2 servers. Currently we only have app server based app types only. So Anuruddha remember to change data service path as well (service deployment listener) and you will need to test for all app types. And Dimuthu what's happening to jaggery apps?

Re: [Architecture] Unwanted application deployment notifications in AppFactory

2014-07-01 Thread Dimuthu Leelarathne
Hi Anuraddha, Need to test with Jaggery apps as well. thanks, dimuthu On Tue, Jul 1, 2014 at 6:03 PM, Danushka Fernando danush...@wso2.com wrote: I think this will apply to everything deployed in WSO2 servers. Currently we only have app server based app types only. So Anuruddha remember to

Re: [Architecture] Unwanted application deployment notifications in AppFactory

2014-07-01 Thread Danushka Fernando
What I mentioned was last time remember jaggery app is not an single artifact. Its a folder. So how we can handle md5sum? On Jul 1, 2014 6:07 PM, Dimuthu Leelarathne dimut...@wso2.com wrote: Hi Anuraddha, Need to test with Jaggery apps as well. thanks, dimuthu On Tue, Jul 1, 2014 at

Re: [Architecture] Unwanted application deployment notifications in AppFactory

2014-07-01 Thread Ashansa Perera
Yes Danushka, if we are going to avoid user deploying the same artifact it will be fine. And +1 for implementing that ( avoid deployment and notify user ) On Tue, Jul 1, 2014 at 6:20 PM, Danushka Fernando danush...@wso2.com wrote: There are two sides to that. But IMO There is no point in

Re: [Architecture] Unwanted application deployment notifications in AppFactory

2014-07-01 Thread Harsha Thirimanna
Hi, For the WebApplication there may be some initialization process with the context listeners when it deploy. Because of some reason, developer wants to redeploy the same app to check or redo the initialization process using that context listeners, we are unable to support it if we allow the