Re: Listening for topology events in 4.1.0

2015-05-01 Thread Imesh Gunaratne
Hi Matt, You could refer below client: https://github.com/imesh/stratos-event-publisher This may not up to date, however you should be able to get an idea. I will be updating this soon to match with the master branch. Thanks On Fri, May 1, 2015 at 5:33 PM, Gayan Gunarathne wrote: > Hi Matt, >

Re: [Gsoc][proposal] Showing health statistics in GUI

2015-05-01 Thread Imesh Gunaratne
Hi Ashan, Will it be possible for you to start a Ubuntu 12.04 server VM with VirtualBox and try the following steps: - Download Oracle JDK 1.7.0_79 (this is the version I'm using at the moment) tar.gz and extract it. - SCP Stratos distribution to the VM - export JAVA_HOME= - Execute /bin/stratos.s

Re: [GSoC 2015] Python CLI for Stratos : Weekly Update

2015-05-01 Thread Imesh Gunaratne
It was good to have the Hangout Milindu! Thanks for joining! Please keep your remote Git repository up to date with the changes you do and it would be wise to add some documentation may be using a gist or a README.md file. As we discussed in the meeting please try to draw a high level architectur

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-01 Thread Imesh Gunaratne
Hi Asanka, Good to hear that you were able to resolve the compilation issue. I'm not sure whether we have a GCE account for Stratos, will check with Lakmal. Your partition.json looks ok for me, will you be able to share a screen shot of the UI where it was displayed as "mock"? Thanks On Fri, Ma

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-01 Thread Asanka Sanjaya Herath
​​ Hi All, I added a network partition using CLI by using the attached JSON file. Then I looked at the stratos UI and the Network Partition provider is listed as 'mock' instead of gce for the partition I added. Will that be a problem when I deploy an application using stratos? On Fri, May 1, 201

Re: [Gsoc][proposal] Showing health statistics in GUI

2015-05-01 Thread Chamila De Alwis
Hi Ashan, I believe what you meant was the message broker related communication in Stratos? Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Fri, May 1, 2015 at 3:14 PM, Rajkumar Rajaratnam wrote: > > > On Thu, Apr 30, 2015 at 6:02 PM, Ashan

Re: [GSoC 2015] Python CLI for Stratos : Weekly Update

2015-05-01 Thread Chamila De Alwis
Thanks for the update Milindu! Could you point us to your Stratos fork? Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Fri, May 1, 2015 at 5:30 PM, Milindu Sanoj Kumarage < agentmili...@gmail.com> wrote: > Hi, > > I had a Google Hangout sess

Re: Listening for topology events in 4.1.0

2015-05-01 Thread Gayan Gunarathne
Hi Matt, In that case you can reuse the messaging library in such as way we are using it in Stratos component.In the messaging module we already have all the receivers, so you can reuse them as it is with your utility. I think you can first refer how the event receiver classes used in Stratos com

[GSoC 2015] Python CLI for Stratos : Weekly Update

2015-05-01 Thread Milindu Sanoj Kumarage
Hi, I had a Google Hangout session with Chamila and Imesh yesterday. We discussed on how to push the commits. We agreed to use a separate branch on my Stratos fork. Therefor I created a branch as 'python-cli' after checking other branches for branch naming convention used. In this branch I added

Listening for topology events in 4.1.0

2015-05-01 Thread Matt Turner (matttur)
Hi Devs, I want to write a utility that listens for topology events using the org.apache.stratos.messaging library. There seem to be several ways to use this library. What is the proper way to do this in Stratos 4.1.0? Is there an example I can look at? Thanks, Matt Turner Software Engineer Ci

Re: [Q?] Undefined property in samples?

2015-05-01 Thread Mariangela Hills
Thanks Imesh and Raj, for your quick feedback! Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. m: +94 773 500185 w: http://wso2.com On Fri, May 1, 2015 at 9:15 AM, Rajkumar Rajaratnam wrote: > Lets remove i

[jira] [Updated] (STRATOS-1360) Wrong HTTP status code and status message returned - PUT /applications

2015-05-01 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1360: -- Description: The following errors were identified in [1]. 1) HTTP status code returned

[jira] [Updated] (STRATOS-1360) Wrong HTTP status code and status message returned - PUT /applications

2015-05-01 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1360: -- Description: 1) HTTP status code is returned should be 200 not 201 as it is executing

[jira] [Updated] (STRATOS-1360) Wrong HTTP status code and status message returned - PUT /applications

2015-05-01 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1360: -- Assignee: Reka Thirunavukkarasu > Wrong HTTP status code and status message returned -

[jira] [Created] (STRATOS-1360) Wrong HTTP status code and status message returned - PUT /applications

2015-05-01 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-1360: - Summary: Wrong HTTP status code and status message returned - PUT /applications Key: STRATOS-1360 URL: https://issues.apache.org/jira/browse/STRATOS-1360 Pr

Re: Exceptions while starting startos.sh

2015-05-01 Thread Rajkumar Rajaratnam
Could you please enable DEBUG log for mock iaas component, restart stratos, deploy the sample and paste the complete log (including server startup) here? To enable debug log the mock component, add *log4j.logger.org.apache.stratos.mock.iaas=DEBUG* in /Stratos-Home/repository/conf/log4j.properties

Re: Exceptions while starting startos.sh

2015-05-01 Thread Ashan Dhananjaya
Yes i did. Thank You! Best Regards, Ashan On Fri, May 1, 2015 at 4:05 PM, Rajkumar Rajaratnam wrote: > Did you enable the mock iaas in mock-iaas.xml? > > > > Thanks. > > > On Fri, May 1, 2015 at 4:03 PM, Ashan Dhananjaya > wrote: > >> Hi all, >> >> I could able to start the stratos i forgot t

Re: Exceptions while starting startos.sh

2015-05-01 Thread Ashan Dhananjaya
Hi all, I could able to start the stratos i forgot to start the activemq before.(my bad) I tried to run the stratos sample using the steps mentioned in the [1] documentation and i got following exceptions in the stratos console. ./applications/single-cartridge/scripts/mock/deploy.sh [2015-05-01 1

Re: Exceptions while starting startos.sh

2015-05-01 Thread Rajkumar Rajaratnam
Did you enable the mock iaas in mock-iaas.xml? Thanks. On Fri, May 1, 2015 at 4:03 PM, Ashan Dhananjaya wrote: > Hi all, > > I could able to start the stratos i forgot to start the activemq > before.(my bad) > I tried to run the stratos sample using the steps mentioned in the [1] > documenta

Re: Exceptions while starting startos.sh

2015-05-01 Thread Rajkumar Rajaratnam
Please make sure that your activemq is running. *telnet localhost 61616* would do. Thanks. On Fri, May 1, 2015 at 3:07 PM, Ashan Dhananjaya wrote: > Hi All, > > I used the IaaS mock which given by imesh to start the stratos. I got this > exceptions while starting it.Attaching the stack trace,

Re: Exceptions while starting startos.sh

2015-05-01 Thread Gayan Gunarathne
Seems ActiveMQ message broker is not running. Please start the ActiveMQ and check again. Thanks, Gayan On Fri, May 1, 2015 at 3:07 PM, Ashan Dhananjaya wrote: > Hi All, > > I used the IaaS mock which given by imesh to start the stratos. I got this > exceptions while starting it.Attaching the st

Re: [Gsoc][proposal] Showing health statistics in GUI

2015-05-01 Thread Rajkumar Rajaratnam
If you have already built without integration tests, build the integration tests alone and paste the complete log here, so that we can help you building the product. Thanks. On Fri, May 1, 2015 at 3:03 PM, Ashan Dhananjaya wrote: > Hi all, > > Again i try to build only the integration test alon

Re: [Gsoc][proposal] Showing health statistics in GUI

2015-05-01 Thread Rajkumar Rajaratnam
On Thu, Apr 30, 2015 at 6:02 PM, Ashan Dhananjaya wrote: > Hi All, > Followings are the notes for the discussion with mentor today. > > 1. Mastering Git/GitHub. > 2. Research on stratos MB. > I didn't quite get this note. What is Stratos MB? Thanks. > 3. Dashboard Improvements. > > These are

Exceptions while starting startos.sh

2015-05-01 Thread Ashan Dhananjaya
Hi All, I used the IaaS mock which given by imesh to start the stratos. I got this exceptions while starting it.Attaching the stack trace, [2015-05-01 14:58:08,201] ERROR {org.apache.stratos.messaging.broker.connect.amqp.AmqpTopicConnector} - Could not connect to message broker javax.jms.JMSExce

Re: [Gsoc][proposal] Showing health statistics in GUI

2015-05-01 Thread Ashan Dhananjaya
Hi all, Again i try to build only the integration test alone where did i failed before.And i could able to change the java the java home from jvm/java-7-oracle/jre/bin to jvm/java-7-oracle/bin/java.Still i'm getting the same errors. Adding some log info which i feel will be important to look into

Re: Google Compute Engine Load Balancing Support for Stratos - GSoC 2015

2015-05-01 Thread Asanka Sanjaya Herath
Build succeeded once I remove the .m2 folder. I'm just wondering whether I should use my own GCE account or an account provided by you. Because the trial period of my existing GCE account will end in 19 days. On Thu, Apr 30, 2015 at 10:25 AM, Asanka Sanjaya Herath wrote: > Thanks Imesh for the i

Re: Testing Stratos 4.1 - Exception when defining startup order, not sure what's wrong ?

2015-05-01 Thread Reka Thirunavukkarasu
Hi Martin, On Fri, May 1, 2015 at 7:52 AM, Martin Eppel (meppel) wrote: > Hi Reka, > > > > Why is it circular ? > > > > Probably I defined it incorrectly: What I want is the following start up > sequence: > > > > After group n-st-G2-t-a-2 starts up c3 should start up, when c3 is up > then c2, w