Re: DependencyBuilder / StartupOrder clarification

2014-10-11 Thread Reka Thirunavukkarasu
Hi Martin, On Fri, Oct 10, 2014 at 5:40 AM, Martin Eppel (meppel) wrote: > Hi Reka, > > > > I did some startup order / dependency testing and run into the issue that > when a subgroup has no members listed a Null pointer exception is thrown in > PaserUtils.java, line 127. Issue is that the > >

[Grouping][testing] Hierarchical Monitors with Composite Application

2014-10-11 Thread Reka Thirunavukkarasu
Hi all, I have tested the hierarchical monitors with the attached sample application which has group2 and tomcat cartridge as in top level. group2 further refers to tomcat and group1. group1 further refers to php. Their startup order has also defined in the definitions as below mentioned: For Eg:

[GitHub] stratos pull request: Fixed issues on docker testing

2014-10-11 Thread chamilad
Github user chamilad closed the pull request at: https://github.com/apache/stratos/pull/90 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is en

[IMPORTANT] Please hold your commits to master branch which are not for M2

2014-10-11 Thread Nirmal Fernando
I'm in the process of testing M2-developer preview from master branch, please hold 'not so urgent' commits to master branch. Thanks. -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/

[GitHub] stratos pull request: Fixed issues on docker testing

2014-10-11 Thread nirmal070125
Github user nirmal070125 commented on the pull request: https://github.com/apache/stratos/pull/90#issuecomment-58773746 Merged in 539dc6cf1f5d11ac0ad12b0bbeb13e965625f057 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If

[jira] [Updated] (STRATOS-886) List Kubernetets Hosts method does to work in REST API

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-886: Summary: List Kubernetets Hosts method does to work in REST API (was: List Kubernetets Hos

[jira] [Resolved] (STRATOS-886) List Kubernetets Host method does to work in REST API

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne resolved STRATOS-886. - Resolution: Fixed Fixed with commit revision: 5d24241a4c66467f90384d508fbc9958efbb9a82 >

[jira] [Updated] (STRATOS-886) List Kubernetets Host method does to work in REST API

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-886: Fix Version/s: 4.1.0 M2 > List Kubernetets Host method does to work in REST API > -

[jira] [Updated] (STRATOS-886) List Kubernetets Host method does to work in REST API

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-886: Affects Version/s: 4.1.0 M1 > List Kubernetets Host method does to work in REST API > -

[jira] [Created] (STRATOS-886) List Kubernetets Host method does to work in REST API

2014-10-11 Thread Imesh Gunaratne (JIRA)
Imesh Gunaratne created STRATOS-886: --- Summary: List Kubernetets Host method does to work in REST API Key: STRATOS-886 URL: https://issues.apache.org/jira/browse/STRATOS-886 Project: Stratos

[jira] [Updated] (STRATOS-884) CLI has duplicated command implementations in RestCommandLineService class

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-884: Component/s: CLI > CLI has duplicated command implementations in RestCommandLineService cla

[jira] [Updated] (STRATOS-883) CLI does not show error messages when unknown server errors occur

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-883: Component/s: CLI > CLI does not show error messages when unknown server errors occur >

[jira] [Updated] (STRATOS-882) [CLI] Invalid Error Handling at Login

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-882: Component/s: CLI > [CLI] Invalid Error Handling at Login >

[jira] [Resolved] (STRATOS-122) Improve Stratos Installer

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne resolved STRATOS-122. - Resolution: Fixed Fix Version/s: 4.0.0 > Improve Stratos Installer > -

[jira] [Resolved] (STRATOS-127) Cartridge Agent Implementation for Stratos 4.0.0

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne resolved STRATOS-127. - Resolution: Fixed Fix Version/s: 4.0.0 > Cartridge Agent Implementation for Strato

[jira] [Updated] (STRATOS-885) CLI command classes are not using a proper naming convention

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-885: Component/s: CLI > CLI command classes are not using a proper naming convention > -

[jira] [Resolved] (STRATOS-885) CLI command classes are not using a proper naming convention

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne resolved STRATOS-885. - Resolution: Fixed Fixed with commit revision: 70d646b74b122950763001fdccaca8c84c37343d >

[jira] [Updated] (STRATOS-885) CLI command classes are not using a proper naming convention

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-885: Description: Currently there are around thirty to forty commands in CLI but they are not p

[jira] [Updated] (STRATOS-885) CLI command classes are not using a proper naming convention

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-885: Fix Version/s: 4.1.0 M2 > CLI command classes are not using a proper naming convention > --

[jira] [Created] (STRATOS-885) CLI command classes are not using a proper naming convention

2014-10-11 Thread Imesh Gunaratne (JIRA)
Imesh Gunaratne created STRATOS-885: --- Summary: CLI command classes are not using a proper naming convention Key: STRATOS-885 URL: https://issues.apache.org/jira/browse/STRATOS-885 Project: Stratos

[jira] [Resolved] (STRATOS-884) CLI has duplicated command implementations in RestCommandLineService class

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne resolved STRATOS-884. - Resolution: Fixed Refactored by introducing a new set of methods in RestClient class. Com

[jira] [Updated] (STRATOS-884) CLI has duplicated command implementations in RestCommandLineService class

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-884: Fix Version/s: 4.1.0 M2 > CLI has duplicated command implementations in RestCommandLineServ

[jira] [Created] (STRATOS-884) CLI has duplicated command implementations in RestCommandLineService class

2014-10-11 Thread Imesh Gunaratne (JIRA)
Imesh Gunaratne created STRATOS-884: --- Summary: CLI has duplicated command implementations in RestCommandLineService class Key: STRATOS-884 URL: https://issues.apache.org/jira/browse/STRATOS-884 Proj

[jira] [Updated] (STRATOS-883) CLI does not show error messages when unknown server errors occur

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-883: Fix Version/s: 4.1.0 M2 > CLI does not show error messages when unknown server errors occur

[jira] [Resolved] (STRATOS-883) CLI does not show error messages when unknown server errors occur

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne resolved STRATOS-883. - Resolution: Fixed Refactored CLI command implementation and introduced SOP statements to

[jira] [Created] (STRATOS-883) CLI does not show error messages when unknown server errors occur

2014-10-11 Thread Imesh Gunaratne (JIRA)
Imesh Gunaratne created STRATOS-883: --- Summary: CLI does not show error messages when unknown server errors occur Key: STRATOS-883 URL: https://issues.apache.org/jira/browse/STRATOS-883 Project: Stra

[jira] [Resolved] (STRATOS-873) [Sonar Findings] [Critical] Array is Stored Directly

2014-10-11 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne resolved STRATOS-873. - Resolution: Fixed > [Sonar Findings] [Critical] Array is Stored Directly > -

[GitHub] stratos pull request: Fixed issues on docker testing

2014-10-11 Thread chamilad
GitHub user chamilad opened a pull request: https://github.com/apache/stratos/pull/90 Fixed issues on docker testing Two more lines of code that had similar issues as the last commit fixed You can merge this pull request into a Git repository by running: $ git pull https://gith

[GitHub] stratos pull request: Fixed issue in Python agent in a Kubernetes ...

2014-10-11 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/89 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enab

[GitHub] stratos pull request: Fixed issue in Python agent in a Kubernetes ...

2014-10-11 Thread chamilad
GitHub user chamilad opened a pull request: https://github.com/apache/stratos/pull/89 Fixed issue in Python agent in a Kubernetes + Docker setup You can merge this pull request into a Git repository by running: $ git pull https://github.com/chamilad/stratos master Alternative

[GitHub] stratos pull request: Python implementation of the Cartridge Agent

2014-10-11 Thread chamilad
Github user chamilad commented on the pull request: https://github.com/apache/stratos/pull/88#issuecomment-58759678 Checked and closed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this f

[GitHub] stratos pull request: Python implementation of the Cartridge Agent

2014-10-11 Thread chamilad
Github user chamilad closed the pull request at: https://github.com/apache/stratos/pull/88 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is en

Re: Error while CEP publish member fault event

2014-10-11 Thread Chamila De Alwis
I also came across this when writing the Python agent. The publishing topic should be specific. Raj's suggestion is the correct way to go. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Sat, Oct 11, 2014 at 10:54 PM, Rajkumar Rajaratnam wrot

Re: Error while CEP publish member fault event

2014-10-11 Thread Rajkumar Rajaratnam
Removing /# avoids this error. I tested and verified it. On Sat, Oct 11, 2014 at 10:53 PM, Nirmal Fernando wrote: > I'm also hitting this error! > > TID: [0] [STRATOS] [2014-10-11 22:46:10,223] WARN > {org.apache.stratos.messaging.message.processor.topology.MemberActivatedMessageProcessor} > -

Re: Error while CEP publish member fault event

2014-10-11 Thread Nirmal Fernando
I'm also hitting this error! TID: [0] [STRATOS] [2014-10-11 22:46:10,223] WARN {org.apache.stratos.messaging.message.processor.topology.MemberActivatedMessageProcessor} - Member already activated: [service] php [cluster] myphp.php.domain [member] 1ffd9476-516a-11e4-90e0-080027dcc108 {org.apache.

Re: CEP in 4.0.0 stratos all-in-one

2014-10-11 Thread Nirmal Fernando
Hi Martin, When we normally start the server, it uses default profile. But if someone wants a specific profile to be started -Dprofile= should be passed to the stratos.sh file as an argument. On Sat, Oct 11, 2014 at 9:48 PM, Martin Eppel (meppel) wrote: > Nirmal, > > > > How can I

RE: CEP in 4.0.0 stratos all-in-one

2014-10-11 Thread Martin Eppel (meppel)
Nirmal, How can I check if a system is started using the default profile or some custom profile ? Where is this configured ? Thanks Martin From: Nirmal Fernando [mailto:nirmal070...@gmail.com] Sent: Friday, October 10, 2014 6:13 PM To: dev Subject: Re: CEP in 4.0.0 stratos all-in-one It's bun

Re: Hardcoded username and password for CEP publishing

2014-10-11 Thread Nirmal Fernando
+1, please send a PR :) On Sat, Oct 11, 2014 at 9:19 PM, Chamila De Alwis wrote: > Hi, > > In the class > org.apache.stratos.common.statistics.publisher.WSO2CEPStatisticsPublisher, > the username and the password for the CEP is hardcoded as admin:admin. > > Is there any particular reason for thi

Hardcoded username and password for CEP publishing

2014-10-11 Thread Chamila De Alwis
Hi, In the class org.apache.stratos.common.statistics.publisher.WSO2CEPStatisticsPublisher, the username and the password for the CEP is hardcoded as admin:admin. Is there any particular reason for this or is this being developed in a separate branch? We could simply look for system properties *

[GitHub] stratos pull request: Fixes for error in publishing artifact updat...

2014-10-11 Thread nirmal070125
Github user nirmal070125 commented on the pull request: https://github.com/apache/stratos/pull/87#issuecomment-58753105 Gayan, Could you please rebase and send a new PR? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If

[jira] [Commented] (STRATOS-791) MQTT protocol support for the messaging module

2014-10-11 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14168202#comment-14168202 ] ASF GitHub Bot commented on STRATOS-791: Github user nirmal070125 commented on th

Master branch build failing

2014-10-11 Thread Rajkumar Rajaratnam
Hi, Master branch build is failing. Here is the trace. [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project org.apache.stratos.cli: Compilation failu

[GitHub] stratos pull request: Python implementation of the Cartridge Agent

2014-10-11 Thread nirmal070125
Github user nirmal070125 commented on the pull request: https://github.com/apache/stratos/pull/88#issuecomment-58748448 Merged this PR in series of commits 6d3855929fb1311fe1a0ae278cb340ac2f676188 - a6f4dfa303838c8ccb7aa7ca4da6dd07eace4292 --- If your project is set up for it, you c

Re: Error while CEP publish member fault event

2014-10-11 Thread Gayan Gunarathne
We need to remove the # sign from the message topic.That's why the IllegalArgumentException happens with the topic validation. I guess this is fixed with the commit id 166b4d6 of https://github.com/apache/stratos/pull/87 PR Thanks, Gayan On Sat, Oct 11, 2014 at 12:54 PM, Rajkumar Rajaratnam wro

Re: Error in Python Agent

2014-10-11 Thread Nirmal Fernando
Thanks Chamila. On Sat, Oct 11, 2014 at 5:04 PM, Chamila De Alwis wrote: > Hi Nirmal, > > This is because the deploymentPolicy is missing from a container > environment. I'll have a patch sent immediately. > > > Regards, > Chamila de Alwis > Software Engineer | WSO2 | +94772207163 > Blog: code.c

Re: Error in Python Agent

2014-10-11 Thread Chamila De Alwis
Hi Nirmal, This is because the deploymentPolicy is missing from a container environment. I'll have a patch sent immediately. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Sat, Oct 11, 2014 at 4:41 PM, Nirmal Fernando wrote: > After adding

Re: Error in Python Agent

2014-10-11 Thread Nirmal Fernando
After adding those, agent got started but hangs on CompleteTopologyEvent as per the agent.log file. 2014-10-11 11:06:36,011:INFO:Reading hostname from container 2014-10-11 11:06:36,011:INFO: INTERNAL payload parameter is not found 2014-10-11 11:06:36,012:INFO:Cartridge agent configuration initia

Re: Error in Python Agent

2014-10-11 Thread Nirmal Fernando
I faced the same issue and had to add following payload parameters to subscription json. { "name": "payload_parameter.APP_PATH", "value": "/var/www/www" }, { "name": "payload_parameter.LB_CLUSTER_ID", "value": "bogus

[GitHub] stratos pull request: Python implementation of the Cartridge Agent

2014-10-11 Thread chamilad
GitHub user chamilad opened a pull request: https://github.com/apache/stratos/pull/88 Python implementation of the Cartridge Agent Implemented the cartridge agent in Python 1) Subscribing and publishing to topics on the message broker 2) Extension handling on events

Re: Cannot subscribe to Docker based cartridge through Kubernetes

2014-10-11 Thread Nirmal Fernando
Please use the setup mentioned in the release guide : https://github.com/nirmal070125/vagrant-kubernetes-setup On Sat, Oct 11, 2014 at 1:16 PM, Chamila De Alwis wrote: > Hi all, > > I commented out the line in the up.sh script and started out with a fresh > Stratos installation. But I'm still ge

Re: Cannot subscribe to Docker based cartridge through Kubernetes

2014-10-11 Thread Chamila De Alwis
Hi all, I commented out the line in the up.sh script and started out with a fresh Stratos installation. But I'm still getting the same error. This time, kubecfg is working, and there is no 8080 bound process in the host machine. Is this something to do with a wrong IP address in the stratos confi

Re: Container-autoscaling branch created [Fwd: Git Push Summary]

2014-10-11 Thread Rajkumar Rajaratnam
+1 On Sat, Oct 11, 2014 at 11:27 AM, Sajith Kariyawasam wrote: > +1 > > On Sat, Oct 11, 2014 at 11:20 AM, Nirmal Fernando > wrote: > >> Guys, >> >> I think it's time to move to master? Wdyt? If you all agree, let's commit >> only to master. >> >> On Sat, Oct 11, 2014 at 9:48 AM, Nirmal Fernando

Re: Error while CEP publish member fault event

2014-10-11 Thread Rajkumar Rajaratnam
Yes, I am getting other events from CEP. On Sat, Oct 11, 2014 at 11:05 AM, Manula Chathurika Thantriwatte < manu...@wso2.com> wrote: > Hi Raj, > > Is message broker up and running. > > On Sat, Oct 11, 2014 at 9:26 AM, Rajkumar Rajaratnam > wrote: > >> Hi, >> >> TID: [0] [STRATOS] [2014-10-11 09