Re: Monitors are not created upon deployment

2015-01-11 Thread Imesh Gunaratne
Great! Thanks Lahiru! On Sun, Jan 11, 2015 at 12:51 PM, Lahiru Sandaruwan wrote: > > > On Sun, Jan 11, 2015 at 12:50 PM, Imesh Gunaratne > wrote: > >> Great work Lahiru! >> Just to clarify, have we updated the dependent scaling samples >> accordingly? >> >> > Yes Imesh. It is here. > > > https:

Re: Monitors are not created upon deployment

2015-01-10 Thread Lahiru Sandaruwan
On Sun, Jan 11, 2015 at 12:50 PM, Imesh Gunaratne wrote: > Great work Lahiru! > Just to clarify, have we updated the dependent scaling samples accordingly? > > Yes Imesh. It is here. https://github.com/rekathiru/grouping-samples/tree/master/dependency_scaling/sample_groups > Thanks > > On Sun,

Re: Monitors are not created upon deployment

2015-01-10 Thread Imesh Gunaratne
Great work Lahiru! Just to clarify, have we updated the dependent scaling samples accordingly? Thanks On Sun, Jan 11, 2015 at 12:47 PM, Lahiru Sandaruwan wrote: > Found the cause. We have updated the dependent scaling to be defined using > cartridge/group id. Earlier we had it using alias. My s

Re: Monitors are not created upon deployment

2015-01-10 Thread Lahiru Sandaruwan
Found the cause. We have updated the dependent scaling to be defined using cartridge/group id. Earlier we had it using alias. My sample was not updated to reflect that change. Issue was we were missing few null checks when we wrongly define the scaling dependents. I have fixed those and put the lo

Re: Monitors are not created upon deployment

2015-01-10 Thread Lahiru Sandaruwan
Sorry.. Issue is a different one. Looking into it. On Sun, Jan 11, 2015 at 10:41 AM, Lahiru Sandaruwan wrote: > This is happening because "ApplicationHolder.getApplications > ().getApplication(applicationId);" > returns null in "getApplicationMonitor" method. Somehow the added > application is n

Re: Monitors are not created upon deployment

2015-01-10 Thread Lahiru Sandaruwan
This is happening because "ApplicationHolder.getApplications ().getApplication(applicationId);" returns null in "getApplicationMonitor" method. Somehow the added application is not there. Thanks. On Sun, Jan 11, 2015 at 10:19 AM, Lahiru Sandaruwan wrote: > I will have a look. > > On Sun, Jan 11

Re: Monitors are not created upon deployment

2015-01-10 Thread Lahiru Sandaruwan
I will have a look. On Sun, Jan 11, 2015 at 9:28 AM, Imesh Gunaratne wrote: > Yes I can also see this problem with the above dependency scaling sample: > > [2015-01-11 09:21:08,843] INFO > {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} - Application > deployed successfully: [applica

Re: Monitors are not created upon deployment

2015-01-10 Thread Imesh Gunaratne
Yes I can also see this problem with the above dependency scaling sample: [2015-01-11 09:21:08,843] INFO {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} - Application deployed successfully: [application-id] app_group_v2 [2015-01-11 09:21:08,853] INFO {org.apache.stratos.autoscaler.app

Re: Monitors are not created upon deployment

2015-01-10 Thread Lahiru Sandaruwan
Sorry, There is no error. But this is the last set of logs i can see. On Sun, Jan 11, 2015 at 2:38 AM, Lahiru Sandaruwan wrote: > Hi, > > It seems $subject on master. > Sample : [1] > Error: [2] > > Thanks. > > [1] > https://github.com/rekathiru/grouping-samples/tree/master/dependency_scaling/sa

Monitors are not created upon deployment

2015-01-10 Thread Lahiru Sandaruwan
Hi, It seems $subject on master. Sample : [1] Error: [2] Thanks. [1] https://github.com/rekathiru/grouping-samples/tree/master/dependency_scaling/sample_groups [2] [2015-01-11 02:31:14,481] INFO {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin@carbon.super [-1234]' logge