Hi Raj, Manas is using CLI subscribe-cartridge command to subscribe. So no need of providing a subscription json, right? Json is built by CLI.
On Mon, Oct 27, 2014 at 5:00 PM, Rajkumar Rajaratnam <rajkum...@wso2.com> wrote: > Hi Manas, > > If possible, can you share your subscription json and autoscale policy > json? > > Thanks. > > On Mon, Oct 27, 2014 at 4:56 PM, Manas Padegaonkar -T (mpadegao - ARICENT > TECHNOLOGIES HOLDINGS LIMITED at Cisco) <mpade...@cisco.com> wrote: > >> Hi Raj, >> >> >> >> I am not using Stratos-GUI & working from CLI only. >> >> >> >> Regards >> >> Manas >> >> >> >> *From:* Rajkumar Rajaratnam [mailto:rajkum...@wso2.com] >> *Sent:* Monday, October 27, 2014 4:53 PM >> *To:* dev@stratos.apache.org >> *Subject:* Re: Getting Cluster Monitor Failure Messages in wso2carbon.log >> >> >> >> I assumed you were using CLI or Curl commands. If you are using >> management console, did you select the autoscale policy from autoscale >> policies drop down list? And could you please tell me whether you are using >> master branch or some other branch? >> >> >> >> Thanks. >> >> >> >> On Mon, Oct 27, 2014 at 4:42 PM, Rajkumar Rajaratnam <rajkum...@wso2.com> >> wrote: >> >> Hi Manas, >> >> >> >> Reason is your autoscale policy is null. You need to give a deployed >> autoscale policy name along with subscription json. >> >> >> >> Thanks. >> >> >> >> On Mon, Oct 27, 2014 at 4:36 PM, Manas Padegaonkar -T (mpadegao - ARICENT >> TECHNOLOGIES HOLDINGS LIMITED at Cisco) <mpade...@cisco.com> wrote: >> >> Hi, >> >> >> >> I am getting following messages periodically in wso2carbon.log for all >> of the subscribed cartridges which came Active. >> >> Want to know what is triggering this error to come & what is its impact >> if any. >> >> >> >> >> >> >> >> TID: [0] [STRATOS] [2014-10-13 13:04:59,436] ERROR >> {org.apache.stratos.autoscaler.monitor.ClusterMonitor} - Cluster monitor: >> Monitor failed.ClusterMonitor [clusterId=1-14.1-14.domain, serviceId=1-14, >> deploymentPolicy=Deployment Policy [id]static-1-Core [partitions] >> [org.apache.stratos.cloud.controller.stub.deployment.partition.Partition@118c06f9], >> autoscalePolicy=null, lbReferenceType=null, hasPrimary=false ] >> {org.apache.stratos.autoscaler.monitor.ClusterMonitor} >> >> [Error: null pointer: autoscalePolicy.getLoadThresholds()] >> >> [Near : {... autoscalePolicy.getLoadThresho ....}] >> >> >> >> >> >> Regards >> >> Manas >> >> >> >> >> >> >> >> -- >> >> Rajkumar Rajaratnam >> Software Engineer | WSO2, Inc. >> >> Mobile +94777568639 | +94783498120 >> >> >> >> >> >> -- >> >> Rajkumar Rajaratnam >> Software Engineer | WSO2, Inc. >> >> Mobile +94777568639 | +94783498120 >> > > > > -- > Rajkumar Rajaratnam > Software Engineer | WSO2, Inc. > Mobile +94777568639 | +94783498120 > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897