Where can i find puppet based init scripts

2014-02-18 Thread Pradeep Fernando
Hi guys, where can i find the $subject. I found some init scripts at, tools/cartridge-create/init-scripts but the scripts are outdated. Shall we get rid of these old ones.. I see lot of such unused stuff under tools directory. it misleads the users IMHO thanks, --Pradeep

Re: JIRA is not accessible

2014-02-18 Thread Manula Chathurika Thantriwatte
It's working now. On Wed, Feb 19, 2014 at 9:16 AM, Manula Chathurika Thantriwatte < manu...@wso2.com> wrote: > Hi All, > > $subject. > > -- > Regards, > Manula Chathurika Thantriwatte > Software Engineer > WSO2 Inc. : http://wso2.com > lean . enterprise . middleware > > email : manu...@wso2.com

Re: Graceful shutdown for the instances when scale down

2014-02-18 Thread Reka Thirunavukkarasu
+1. IN_MAINTENANCE makes more sense in this case.. Thanks, Reka On Wed, Feb 19, 2014 at 8:52 AM, Nirmal Fernando wrote: > Agree for IN_MAINTENANCE state. > Thanks. > > > On Wed, Feb 19, 2014 at 8:24 AM, Afkham Azeez wrote: > >> Yes, this is a necessary step. Servers that support maintenance mo

Re: Removing old management console from SM

2014-02-18 Thread Pradeep Fernando
why you need to browse registry. ? On Wed, Feb 19, 2014 at 8:51 AM, Nirmal Fernando wrote: > I think we need registry browsing, since SM writes to registry AFAIK. > > > On Wed, Feb 19, 2014 at 8:44 AM, Pradeep Fernando wrote: > >> i dont see an importance in registry browsing in the stratos cont

JIRA is not accessible

2014-02-18 Thread Manula Chathurika Thantriwatte
Hi All, $subject. -- Regards, Manula Chathurika Thantriwatte Software Engineer WSO2 Inc. : http://wso2.com lean . enterprise . middleware email : manu...@wso2.com / man...@apache.org phone : +94 772492511 blog : http://manulachathurika.blogspot.com/

Re: Graceful shutdown for the instances when scale down

2014-02-18 Thread Nirmal Fernando
Agree for IN_MAINTENANCE state. Thanks. On Wed, Feb 19, 2014 at 8:24 AM, Afkham Azeez wrote: > Yes, this is a necessary step. Servers that support maintenance mode > generally have this state called IN_MAINTENANCE. > On Feb 17, 2014 6:46 PM, "Reka Thirunavukkarasu" wrote: > >> Hi all, >> >> In

Re: Removing old management console from SM

2014-02-18 Thread Nirmal Fernando
I think we need registry browsing, since SM writes to registry AFAIK. On Wed, Feb 19, 2014 at 8:44 AM, Pradeep Fernando wrote: > i dont see an importance in registry browsing in the stratos context. > However we need user-mgt aspects in our new UI. > I mean add/permissing/roles etc. > > but that

Re: Removing old management console from SM

2014-02-18 Thread Pradeep Fernando
i dont see an importance in registry browsing in the stratos context. However we need user-mgt aspects in our new UI. I mean add/permissing/roles etc. but that is a rare use case. Even if have a such requirment we can point a carbon console to stratos WS backend and do the operatiosn. On Wed, F

Re: Graceful shutdown for the instances when scale down

2014-02-18 Thread Afkham Azeez
Yes, this is a necessary step. Servers that support maintenance mode generally have this state called IN_MAINTENANCE. On Feb 17, 2014 6:46 PM, "Reka Thirunavukkarasu" wrote: > Hi all, > > In the graceful shutdown, we keep the member as active until it receives > ReadyToShutdown event. In between

Running Findbugs before pushing code & integrating code quality plugins to the build

2014-02-18 Thread Afkham Azeez
Folks, I think it is high time that we mandate running if tools such as Findbugs. We should also integrate code quality Maven plugins. We can't afford to have sloppy code such as infinite loops that consume all the CPU cycles.

Re: While(true); loops cause CPU to spin

2014-02-18 Thread Nirmal Fernando
On Feb 19, 2014 2:57 AM, "Sanjiva Weerawarana" wrote: > > Nirmal IMO we should fix this without delay. Bad code is bad code ... leaving it around is a bad idea and will lead to a bad experience for users resulting in bad reputation. > > Did I say bad enough times in that sentence? Ofcourse you di

Re: While(true); loops cause CPU to spin

2014-02-18 Thread Sanjiva Weerawarana
Nirmal IMO we should fix this without delay. Bad code is bad code ... leaving it around is a bad idea and will lead to a bad experience for users resulting in bad reputation. Did I say bad enough times in that sentence? Very bad. Sanjiva. On Tue, Feb 18, 2014 at 5:56 PM, Nirmal Fernando wrote:

[jira] [Created] (STRATOS-464) Stratos Manager failed to start with ClassNotFoundException

2014-02-18 Thread Jeffrey (JIRA)
Jeffrey created STRATOS-464: --- Summary: Stratos Manager failed to start with ClassNotFoundException Key: STRATOS-464 URL: https://issues.apache.org/jira/browse/STRATOS-464 Project: Stratos Issue Ty

Re: Removing old management console from SM

2014-02-18 Thread Isuru Perera
Hi, On Wed, Feb 19, 2014 at 12:09 AM, Nirmal Fernando wrote: > Hi All, > > Shouldn't we do $subject? IMO we should remove it with immediate effect > +1 We should remove old cartridge management component. > and try to get the necessary functionality to the jaggery based UI > (registry browser i

Removing old management console from SM

2014-02-18 Thread Nirmal Fernando
Hi All, Shouldn't we do $subject? IMO we should remove it with immediate effect and try to get the necessary functionality to the jaggery based UI (registry browser is missing, what else?). Also, if we do above, we need to redirect all the contexts to the current 'console' context. Further IMO w

Re: While(true); loops cause CPU to spin

2014-02-18 Thread Nirmal Fernando
Yes, it would be a better solution, but it would need some refactoring and probably will do it for beta release. Adding thread.sleep made all the Stratos processes run with 0-1% CPU usage where earlier some of them were 100-200%. On Tue, Feb 18, 2014 at 11:17 PM, Afkham Azeez wrote: > Nice wor

Re: While(true); loops cause CPU to spin

2014-02-18 Thread Afkham Azeez
Nice work on finding this issue. There is no excuse for writing such sloppy code since all modern IDEs show such code as warnings. BTW the correct fix for this would be to use an executor, not Thread.sleep On Feb 17, 2014 5:20 PM, "Nirmal Fernando" wrote: > Add a bit more, > > * how I found that

[jira] [Commented] (STRATOS-461) Provide validation for the add new teanat page

2014-02-18 Thread Reka Thirunavukkarasu (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13904016#comment-13904016 ] Reka Thirunavukkarasu commented on STRATOS-461: --- applied in 5c2b5a0cc8a152c

[jira] [Created] (STRATOS-463) NPE while unsubscribe to a cartridge

2014-02-18 Thread Reka Thirunavukkarasu (JIRA)
Reka Thirunavukkarasu created STRATOS-463: - Summary: NPE while unsubscribe to a cartridge Key: STRATOS-463 URL: https://issues.apache.org/jira/browse/STRATOS-463 Project: Stratos Issu

[jira] [Created] (STRATOS-462) Filter out attributes that don't make sense from describe-partition operation

2014-02-18 Thread Nirmal Fernando (JIRA)
Nirmal Fernando created STRATOS-462: --- Summary: Filter out attributes that don't make sense from describe-partition operation Key: STRATOS-462 URL: https://issues.apache.org/jira/browse/STRATOS-462 P

[jira] [Updated] (STRATOS-461) Provide validation for the add new teanat page

2014-02-18 Thread Chanaka Jayasena (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chanaka Jayasena updated STRATOS-461: - Attachment: favicon.png 0001-STRATOS-461-fix.patch Please apply the patc

[jira] [Created] (STRATOS-461) Provide validation for the add new teanat page

2014-02-18 Thread Chanaka Jayasena (JIRA)
Chanaka Jayasena created STRATOS-461: Summary: Provide validation for the add new teanat page Key: STRATOS-461 URL: https://issues.apache.org/jira/browse/STRATOS-461 Project: Stratos Issu

Re: Request for Access on Editing Apache Stratos Wiki Docs

2014-02-18 Thread Nirmal Fernando
Hi Praneesha, Welcome to the Stratos project! Please also do subscribe to the dev@ list by sending an email to dev-subscr...@stratos.incubator.apache.org On Tue, Feb 18, 2014 at 12:41 PM, Isuru Perera wrote: > Hi, > > That's great. Please sign up with Apache Confluence [1] and let us know > th

[jira] [Commented] (STRATOS-436) Erro in delete tenant

2014-02-18 Thread Manula Chathurika Thantriwatte (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13903917#comment-13903917 ] Manula Chathurika Thantriwatte commented on STRATOS-436: Are we e