RE: [Testing] Stratos 4.1.0 Alpha - error when deploying application /deployment policy

2014-12-17 Thread Martin Eppel (meppel)
Ok, yeah, that would make sense then, any other changes ? Thanks Martin From: Imesh Gunaratne [mailto:im...@apache.org] Sent: Wednesday, December 17, 2014 9:51 AM To: dev Subject: Re: [Testing] Stratos 4.1.0 Alpha - error when deploying application /deployment policy Hi Martin, Earlier

Re: [Testing] Stratos 4.1.0 Alpha - error when deploying application /deployment policy

2014-12-17 Thread Imesh Gunaratne
failed to properly > read the deployment policy , either the format has changed again or > something else is missing. > > > > > > *From:* Imesh Gunaratne [mailto:im...@apache.org] > *Sent:* Tuesday, December 16, 2014 8:21 PM > *To:* dev > *Subject:* Re: [Test

RE: [Testing] Stratos 4.1.0 Alpha - error when deploying application /deployment policy

2014-12-17 Thread Martin Eppel (meppel)
properly read the deployment policy , either the format has changed again or something else is missing. From: Imesh Gunaratne [mailto:im...@apache.org] Sent: Tuesday, December 16, 2014 8:21 PM To: dev Subject: Re: [Testing] Stratos 4.1.0 Alpha - error when deploying application /deployment policy

Re: [Testing] Stratos 4.1.0 Alpha - error when deploying application /deployment policy

2014-12-16 Thread Imesh Gunaratne
Hi Martin, We are sorry for the inconvenience caused by the API changes. The reason for doing those refinements was to fix the application deployment process and terminology issues we identified recently when testing the complete work flow. Regarding the error you have found: Application id test_

Re: [Testing] Stratos 4.1.0 Alpha - database error deploying cartridge - Table 'userstore.IDN_OAUTH_CONSUMER_APPS' doesn't exist -schema change ?

2014-12-15 Thread Udara Liyanage
added it >>> >>> >>> >>> *From:* Imesh Gunaratne [mailto:im...@apache.org] >>> *Sent:* Monday, December 15, 2014 11:37 AM >>> *To:* dev >>> *Subject:* Re: [Testing] Stratos 4.1.0 Alpha - database error deploying >>> cartridge -

Re: [Testing] Stratos 4.1.0 Alpha - database error deploying cartridge - Table 'userstore.IDN_OAUTH_CONSUMER_APPS' doesn't exist -schema change ?

2014-12-15 Thread Imesh Gunaratne
cation-sql.mysql was missing in >> the 4.1.0-test branch so I added it >> >> >> >> *From:* Imesh Gunaratne [mailto:im...@apache.org] >> *Sent:* Monday, December 15, 2014 11:37 AM >> *To:* dev >> *Subject:* Re: [Testing] Stratos 4.1.0 Alpha - databa

RE: [Testing] Stratos 4.1.0 Alpha - database error deploying cartridge - Table 'userstore.IDN_OAUTH_CONSUMER_APPS' doesn't exist -schema change ?

2014-12-15 Thread Udara Liyanage
ler/resources /application-sql.mysql was missing in > the 4.1.0-test branch so I added it > > > > *From:* Imesh Gunaratne [mailto:im...@apache.org] > *Sent:* Monday, December 15, 2014 11:37 AM > *To:* dev > *Subject:* Re: [Testing] Stratos 4.1.0 Alpha - databas

RE: [Testing] Stratos 4.1.0 Alpha - database error deploying cartridge - Table 'userstore.IDN_OAUTH_CONSUMER_APPS' doesn't exist -schema change ?

2014-12-15 Thread Martin Eppel (meppel)
tools/stratos-installer/resources /application-sql.mysql was missing in the 4.1.0-test branch so I added it From: Imesh Gunaratne [mailto:im...@apache.org] Sent: Monday, December 15, 2014 11:37 AM To: dev Subject: Re: [Testing] Stratos 4.1.0 Alpha - database error deploying cartridge - Table

Re: [Testing] Stratos 4.1.0 Alpha - database error deploying cartridge - Table 'userstore.IDN_OAUTH_CONSUMER_APPS' doesn't exist -schema change ?

2014-12-15 Thread Imesh Gunaratne
at >>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)* >>> >>> *at >>> java.lang.reflect.Constructor.newInstance(Constructor.java:526)* >>> >>> *at com.mysql.jdbc.Util.handleN

Re: [Testing] Stratos 4.1.0 Alpha - 4.1.0-test branch fails to compile

2014-12-15 Thread Imesh Gunaratne
Hi Martin, I have now fixed this compilation issue in 4.1.0-test branch. Please take a pull and re-build. Thanks

Re: [Testing] Stratos 4.1.0 Alpha - database error deploying cartridge - Table 'userstore.IDN_OAUTH_CONSUMER_APPS' doesn't exist -schema change ?

2014-12-14 Thread Udara Liyanage
tructorAccessorImpl.java:57)* >> >> *at >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)* >> >> *at >> java.lang.reflect.Constructor.newInstance(Constructor.java:526)* >> >> * at com.mysql.jd

Re: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge

2014-12-14 Thread Reka Thirunavukkarasu
ppel (meppel) > *Sent:* Sunday, December 14, 2014 8:22 PM > *To:* dev > *Subject:* RE: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge > > > > Thanks, I will look into it once I get the python cartridge agent working > since the java based one seems to be broken >

Re: [Testing] Stratos 4.1.0 Alpha - database error deploying cartridge - Table 'userstore.IDN_OAUTH_CONSUMER_APPS' doesn't exist -schema change ?

2014-12-14 Thread Udara Liyanage
t; > *at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)* > > *at com.mysql.jdbc.Util.getInstance(Util.java:384)* > > * at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:105* > > > > > > > > > > *From:* Reka Thirunavuk

RE: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge

2014-12-14 Thread Martin Eppel (meppel)
Forgot to ask, which branch should I be using, master or test branch ? Seem like the test branch has a lot of new fixes ? From: Martin Eppel (meppel) Sent: Sunday, December 14, 2014 8:22 PM To: dev Subject: RE: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge Thanks, I will look into

RE: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge

2014-12-14 Thread Martin Eppel (meppel)
Thanks for the update Regards Martin From: Gayan Gunarathne [mailto:gay...@wso2.com] Sent: Saturday, December 13, 2014 7:04 AM To: dev@stratos.apache.org Subject: Re: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge Yeah we made category as a mandatory as every cartridge should have a

RE: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge

2014-12-14 Thread Martin Eppel (meppel)
Thanks, I will look into it once I get the python cartridge agent working since the java based one seems to be broken From: Reka Thirunavukkarasu [mailto:r...@wso2.com] Sent: Friday, December 12, 2014 8:42 PM To: dev Subject: Re: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge Hi

Re: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge

2014-12-13 Thread Gayan Gunarathne
n >>> making. This might be useful in the UI when constructing an application. >>> >>> On Sat, Dec 13, 2014 at 5:49 AM, Martin Eppel (meppel) >> > wrote: >>>> >>>> How is it (field category) being used ? >>>> >>>>

Re: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge

2014-12-12 Thread Reka Thirunavukkarasu
ation. >> >> On Sat, Dec 13, 2014 at 5:49 AM, Martin Eppel (meppel) >> wrote: >>> >>> How is it (field category) being used ? >>> >>> >>> >>> *From:* Dakshika Jayathilaka [mailto:daksh...@wso2.com] >>> *Sent:* Friday,

Re: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge

2014-12-12 Thread Lakmal Warusawithana
..@wso2.com] >> *Sent:* Friday, December 12, 2014 4:17 PM >> *To:* dev >> *Subject:* Re: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge >> >> >> >> Hi Martin, >> >> >> >> Cartridge category is use to identify types of

Re: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge

2014-12-12 Thread Imesh Gunaratne
laka [mailto:daksh...@wso2.com] > *Sent:* Friday, December 12, 2014 4:17 PM > *To:* dev > *Subject:* Re: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge > > > > Hi Martin, > > > > Cartridge category is use to identify types of the cartridge. Currently

RE: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge

2014-12-12 Thread Martin Eppel (meppel)
How is it (field category) being used ? From: Dakshika Jayathilaka [mailto:daksh...@wso2.com] Sent: Friday, December 12, 2014 4:17 PM To: dev Subject: Re: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge Hi Martin, Cartridge category is use to identify types of the cartridge. Currently

Re: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge

2014-12-12 Thread Dakshika Jayathilaka
wInstance(DelegatingConstructorAccessorImpl.java:45) > > at java.lang.reflect.Constructor.newInstance(Constructor.java:526) > > at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) > > at com.mysql.jdbc.Util.getInstance(Util.java:384) > > at c

RE: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge

2014-12-12 Thread Martin Eppel (meppel)
From: Martin Eppel (meppel) Sent: Friday, December 12, 2014 12:55 PM To: dev@stratos.apache.org Subject: RE: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge With the latest code from the master I get the exception below when I try to deploy a cartridge, what is “Category is not specified

RE: [Testing] Stratos 4.1.0 Alpha - error deploying cartridge

2014-12-12 Thread Martin Eppel (meppel)
With the latest code from the master I get the exception below when I try to deploy a cartridge, what is “Category is not specified” - what is missing ? Also, seems like RestAPI’s got changed again (autoscaler) – it would be great if we could stabilize and freeze them, Thanks Martin TID: [0]

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-11 Thread Reka Thirunavukkarasu
] > *Sent:* Wednesday, December 10, 2014 5:46 AM > *To:* Reka Thirunavukkarasu > *Cc:* dev; Mariangela Hills > *Subject:* Re: [Testing] Stratos 4.1.0 Alpha > > > > Hi Martin, > > I put together a brief guide at [1]. Please note, there are few details > missing, however

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-10 Thread Chamila De Alwis
at 11:43 AM, Martin Eppel (meppel) > wrote: > >> Please see inline >> >> >> >> *From:* Reka Thirunavukkarasu [mailto:r...@wso2.com] >> *Sent:* Tuesday, December 09, 2014 9:07 PM >> *To:* dev >> *Subject:* Re: [Testing] Stratos 4.1.0 Alpha >&g

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-10 Thread Lahiru Sandaruwan
> We haven't documented the python agent yet. Added Chamila who worked on >> python agent. >> >> @Chamila, Do you have the steps to configure python agent puppet module? >> >> Thanks, >> Reka >> >> On Wed, Dec 10, 2014 at 11:43 AM, Martin Eppel

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-10 Thread Chamila De Alwis
e inline >> >> >> >> *From:* Reka Thirunavukkarasu [mailto:r...@wso2.com] >> *Sent:* Tuesday, December 09, 2014 9:07 PM >> *To:* dev >> *Subject:* Re: [Testing] Stratos 4.1.0 Alpha >> >> >> >> Hi Martin, >> >> >>

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-10 Thread Reka Thirunavukkarasu
t; > *From:* Reka Thirunavukkarasu [mailto:r...@wso2.com] > *Sent:* Tuesday, December 09, 2014 9:07 PM > *To:* dev > *Subject:* Re: [Testing] Stratos 4.1.0 Alpha > > > > Hi Martin, > > > > From 4.1.0 onwards, we recommend to use python agent as discussed in > str

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-09 Thread Reka Thirunavukkarasu
CartridgeAgentConfiguration.getInstance().isInitialized()) {* > > *try {* > > * > if (log.isInfoEnabled()) {* > > * > log.info <http://log.info>("Martin Waiting for Cartridge Agent to be > initialized

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-09 Thread Reka Thirunavukkarasu
t; "childId": "mytomcat", > > > > *From:* Reka Thirunavukkarasu [mailto:r...@wso2.com] > *Sent:* Tuesday, December 09, 2014 8:29 AM > > *To:* dev > *Subject:* Re: [Testing] Stratos 4.1.0 Alpha > > > > Hi Martin, > > > >

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-09 Thread Reka Thirunavukkarasu
artin Eppel (meppel) wrote: > Reka, > > > > Should I pull the master or temporary branch (*4.1.0-test) ?* > > > > *Thanks* > > > > *Martin* > > > > *From:* Reka Thirunavukkarasu [mailto:r...@wso2.com] > *Sent:* Monday, December 08, 2014 11:19 PM &

RE: [Testing] Stratos 4.1.0 Alpha

2014-12-09 Thread Martin Eppel (meppel)
Reka, Should I pull the master or temporary branch (4.1.0-test) ? Thanks Martin From: Reka Thirunavukkarasu [mailto:r...@wso2.com] Sent: Monday, December 08, 2014 11:19 PM To: dev Subject: Re: [Testing] Stratos 4.1.0 Alpha Hi Martin, I saw a log saying the unable to retrieve registry data

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Reka Thirunavukkarasu
loyment policy and application (note that the >> application has no group defined), should just spin up a single cartridge >> >> >> >> Attached is log, see line ~ 1096 for exception … >> >> >> >> Thanks >> >> >> >> Martin &g

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Reka Thirunavukkarasu
… > > > > Thanks > > > > Martin > > > > > > *From:* Udara Liyanage [mailto:ud...@wso2.com] > *Sent:* Monday, December 08, 2014 9:21 PM > > *To:* dev > *Subject:* Re: [Testing] Stratos 4.1.0 Alpha > > > > Hi Martin, > > > > Hav

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Udara Liyanage
apache.stratos.autoscaler.api.AutoScalerServiceImpl.validateDeploymentPolicy(AutoScalerServiceImpl.java:155) > > at > org.apache.stratos.autoscaler.api.AutoScalerServiceImpl.addDeploymentPolicy(AutoScalerServiceImpl.java:107) > > ... 45 more > > > > > > > > > > *From:*

RE: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Martin Eppel (meppel)
: Reka Thirunavukkarasu [mailto:r...@wso2.com] Sent: Monday, December 08, 2014 6:59 PM To: dev Subject: Re: [Testing] Stratos 4.1.0 Alpha Hi Martin, The artefacts order is as below. In the sample script too having it in the same order. Let me explain the order. - Deploy autoscale policy - Deploy

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Reka Thirunavukkarasu
t > org.apache.stratos.autoscaler.event.receiver.topology.AutoscalerTopologyEventReceiver$2.onEvent(AutoscalerTopologyEventReceiver.java:140) > > at > org.apache.stratos.messaging.listener.EventListener.update(EventListener.java:42) > > at java.util.Observable.notifyObservers(Observable

RE: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Martin Eppel (meppel)
, 2014 2:30 PM To: dev@stratos.apache.org Subject: RE: [Testing] Stratos 4.1.0 Alpha I am running into some issues trying to deploy a deployment policy. I am using today’s code from the master and tried to deploy the sample deployment policy provided. I am getting the exception below (at

RE: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Martin Eppel (meppel)
to invoke service method addDeploymentPolicy {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} From: Martin Eppel (meppel) Sent: Monday, December 08, 2014 12:56 PM To: dev@stratos.apache.org Subject: RE: [Testing] Stratos 4.1.0 Alpha Thanks, This should help me getting started on the new

RE: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Martin Eppel (meppel)
Thanks, This should help me getting started on the new format From: Reka Thirunavukkarasu [mailto:r...@wso2.com] Sent: Monday, December 08, 2014 12:06 PM To: dev Subject: Re: [Testing] Stratos 4.1.0 Alpha Hi Martin, Really sorry for not providing the correct steps to test on this..I have

RE: [Testing] Stratos 4.1.0 Alpha

2014-12-08 Thread Martin Eppel (meppel)
Hi Reka, The format to define application, service groups and deployment policies has changed, so I am not entirely sure what it is supposed to look like. To do meaningful testing I need either the new format(s) documented or a set of examples which will help me build applicable (and more compl