Thanks Raj,
I will check if sample is using artifacts correctly. Thanks. On Sat, Mar 7, 2015 at 6:06 PM, Rajkumar Rajaratnam <[email protected]> wrote: > Either application policy is not there in registry or there can be a bug > in code where we are passing wrong application-policy-id to read from > policy manager. I will have look at this issue. > > On Saturday, March 7, 2015, Lahiru Sandaruwan <[email protected]> wrote: > >> Hi, >> >> $subject. >> >> Thanks. >> >> [1] >> >> [2015-03-07 14:45:16,530] INFO >> {org.apache.stratos.autoscaler.rule.RuleLog} - [scale-up] Required member >> count based on stat based scaling is higher than max, hence notifying to >> parent for possible group scaling or app bursting. [cluster] >> my-tomcat.tomcat.domain [instance id]dependency-scaling-cartridges-app-1 >> [max] 2 [number of required instances] 3 [additional instances to be >> created] 1 >> >> [2015-03-07 14:45:16,530] INFO >> {org.apache.stratos.autoscaler.monitor.component.ApplicationMonitor} - >> Handling application busting, since resources are exhausted in this >> application instance >> >> [2015-03-07 14:45:16,531] DEBUG >> {org.apache.stratos.autoscaler.rule.RuleLog} - [scale-up] [has scaling >> dependents] true [cluster] my-tomcat.tomcat.domain >> >> [2015-03-07 14:45:16,531] ERROR >> {org.apache.stratos.autoscaler.monitor.component.ApplicationMonitor} - >> Application policy not found in registry or in-memory [application-id] >> dependency-scaling-cartridges-app >> >> [2015-03-07 14:45:16,531] DEBUG >> {org.apache.stratos.autoscaler.rule.RuleLog} - [scale-up] Notifying >> dependencies [cluster] my-tomcat.tomcat.domain >> >> Exception in thread "pool-36-thread-8" java.lang.RuntimeException: >> Application policy not found in registry or in-memory [application-id] >> dependency-scaling-cartridges-app >> >> at >> org.apache.stratos.autoscaler.monitor.component.ApplicationMonitor.handleApplicationBursting(ApplicationMonitor.java:422) >> >> at >> org.apache.stratos.autoscaler.monitor.component.ApplicationMonitor.handleScalingMaxOut(ApplicationMonitor.java:148) >> >> at >> org.apache.stratos.autoscaler.monitor.component.ApplicationMonitor.access$300(ApplicationMonitor.java:64) >> >> at >> org.apache.stratos.autoscaler.monitor.component.ApplicationMonitor$1.run(ApplicationMonitor.java:120) >> >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> >> at java.lang.Thread.run(Thread.java:745) >> >> -- >> -- >> Lahiru Sandaruwan >> Committer and PMC member, Apache Stratos, >> Senior Software Engineer, >> WSO2 Inc., http://wso2.com >> lean.enterprise.middleware >> >> email: [email protected] blog: http://lahiruwrites.blogspot.com/ >> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> >> > > -- > Rajkumar Rajaratnam > Committer & PMC Member, Apache Stratos > Software Engineer, WSO2 > > Mobile : +94777568639 > Blog : rajkumarr.com > > -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware email: [email protected] blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
