Re: [Dev] Disable reloading super tenant themes to the registry in each server start

2014-08-08 Thread Shameera Rathnayaka
Hi All, With the provided patch, there is a side effect when someone accidentally delete one file(lets say *.gif image) in the theme location, that file not get replace with server restart. However we can resolve this by a workaround which is ask user to restart by setting "true" to ReloadThemeOnS

Re: [Dev] Disable reloading super tenant themes to the registry in each server start

2014-08-08 Thread Shameera Rathnayaka
Hi Eranda et al, ​ Little bit concern regarding the 4th configuration value decision, Please see my comment inline.​ On Sat, Apr 19, 2014 at 5:03 AM, Eranda Sooriyabandara wrote: > > Here is the configuration which we will be adding to the carbon.xml > > true > > There can be several cases,

Re: [Dev] Disable reloading super tenant themes to the registry in each server start

2014-04-21 Thread Eranda Sooriyabandara
Hi Sameera, On Tue, Apr 22, 2014 at 10:58 AM, Sameera Jayasoma wrote: > HI AmilaM, > > Please see my comments below. > > > On Sun, Apr 20, 2014 at 12:03 AM, Amila Maha Arachchi wrote: > >> Few questions: >> >> 1. How much of an effect you get by this startup delay (I mean in >> seconds)? What w

Re: [Dev] Disable reloading super tenant themes to the registry in each server start

2014-04-21 Thread Sameera Jayasoma
HI AmilaM, Please see my comments below. On Sun, Apr 20, 2014 at 12:03 AM, Amila Maha Arachchi wrote: > Few questions: > > 1. How much of an effect you get by this startup delay (I mean in > seconds)? What will be the advantage of stoping this theme being copied? We > know, once in production,

Re: [Dev] Disable reloading super tenant themes to the registry in each server start

2014-04-20 Thread Amila Maha Arachchi
Few questions: 1. How much of an effect you get by this startup delay (I mean in seconds)? What will be the advantage of stoping this theme being copied? We know, once in production, we do not restart servers frequently. Even if we do so, there should be other servers to handle the traffic. So, if

Re: [Dev] Disable reloading super tenant themes to the registry in each server start

2014-04-19 Thread Eranda Sooriyabandara
Hi Azeez, I agree that it shouldn't be added to the carbon.xml, but at the current moment we don't have a place to keep this value. Shall we go ahead with this solution for C4 until we fix it properly in C5? thanks Eranda On Sat, Apr 19, 2014 at 8:31 PM, Afkham Azeez wrote: > I don't like the

Re: [Dev] Disable reloading super tenant themes to the registry in each server start

2014-04-19 Thread Afkham Azeez
I don't like the idea of adding random stuff into the carbon.xml file. Anyway, with C5, we will not allow such things. So there should be a different way of getting this value. On Sat, Apr 19, 2014 at 5:03 AM, Eranda Sooriyabandara wrote: > Hi All, > Currently we are loading super tenant themes

Re: [Dev] Disable reloading super tenant themes to the registry in each server start

2014-04-18 Thread Danushka Fernando
+1. I think this is a good solution. Currently we are writing to registry no matter what. Specially when it comes to stratos environments no need to write it from each server restart. Since the solution is configurable i think this is a good solution. On Apr 18, 2014 4:33 PM, "Eranda Sooriyabandara

[Dev] Disable reloading super tenant themes to the registry in each server start

2014-04-18 Thread Eranda Sooriyabandara
Hi All, Currently we are loading super tenant themes to the registry in each server startup, when the themes-mgt bundle start. Since this involves registry calls this cause considerable startup delay. So here we are proposing a configuration which we can enable to stop loading themes. Here is the