Hi All, I came across following error in Auto Scaler. Please help me to sort it out.
TID: [0] [STRATOS] [2014-05-08 19:55:32,937] ERROR {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} - org.apache.axis2.databinding.ADBException: Unexpected subelement { http://pojo.controller.cloud.stratos.apache.org/xsd}properties{org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement { http://pojo.controller.cloud.stratos.apache.org/xsd}properties at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.fromOM(CloudControllerServiceStub.java:3898) at org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.startInstance(CloudControllerServiceStub.java:1147) at org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient.spawnAnInstance(CloudControllerClient.java:145) at org.apache.stratos.autoscaler.rule.RuleTasksDelegator.delegateSpawn(RuleTasksDelegator.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:1104) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:987) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:377) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:143) at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159) at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115) at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85) at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:113) at org.mvel2.MVEL.executeExpression(MVEL.java:930) at org.drools.base.mvel.MVELConsequence.evaluate(MVELConsequence.java:104) at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1287) at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:1221) at org.drools.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1456) at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:710) at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:674) at org.drools.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:230) at org.apache.stratos.autoscaler.rule.AutoscalerRuleEvaluator.evaluateMinCheck(AutoscalerRuleEvaluator.java:86) at org.apache.stratos.autoscaler.monitor.ClusterMonitor.monitor(ClusterMonitor.java:99) at org.apache.stratos.autoscaler.monitor.ClusterMonitor.run(ClusterMonitor.java:72) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException: Unexpected subelement { http://pojo.controller.cloud.stratos.apache.org/xsd}properties at org.apache.stratos.cloud.controller.stub.pojo.MemberContext$Factory.parse(MemberContext.java:1467) at org.apache.stratos.cloud.controller.stub.impl.StartInstanceResponse$Factory.parse(StartInstanceResponse.java:417) at org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.fromOM(CloudControllerServiceStub.java:3745) ... 29 more Caused by: org.apache.axis2.databinding.ADBException: Unexpected subelement {http://pojo.controller.cloud.stratos.apache.org/xsd}properties at org.apache.stratos.cloud.controller.stub.pojo.MemberContext$Factory.parse(MemberContext.java:1461) ... 31 more TID: [0] [STRATOS] [2014-05-08 19:55:32,939] ERROR {org.apache.stratos.autoscaler.rule.RuleTasksDelegator} - Cannot spawn an instance {org.apache.stratos.autoscaler.rule.RuleTasksDelegator} org.apache.stratos.autoscaler.exception.SpawningException: org.apache.axis2.databinding.ADBException: Unexpected subelement { http://pojo.controller.cloud.stratos.apache.org/xsd}properties at org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient.spawnAnInstance(CloudControllerClient.java:157) at org.apache.stratos.autoscaler.rule.RuleTasksDelegator.delegateSpawn(RuleTasksDelegator.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:1104) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:987) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:377) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:143) at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159) at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115) at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85) at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:113) at org.mvel2.MVEL.executeExpression(MVEL.java:930) at org.drools.base.mvel.MVELConsequence.evaluate(MVELConsequence.java:104) at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1287) at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:1221) at org.drools.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1456) at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:710) at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:674) at org.drools.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:230) at org.apache.stratos.autoscaler.rule.AutoscalerRuleEvaluator.evaluateMinCheck(AutoscalerRuleEvaluator.java:86) at org.apache.stratos.autoscaler.monitor.ClusterMonitor.monitor(ClusterMonitor.java:99) at org.apache.stratos.autoscaler.monitor.ClusterMonitor.run(ClusterMonitor.java:72) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement { http://pojo.controller.cloud.stratos.apache.org/xsd}properties at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.fromOM(CloudControllerServiceStub.java:3898) at org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.startInstance(CloudControllerServiceStub.java:1147) at org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient.spawnAnInstance(CloudControllerClient.java:145) ... 27 more Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException: Unexpected subelement { http://pojo.controller.cloud.stratos.apache.org/xsd}properties at org.apache.stratos.cloud.controller.stub.pojo.MemberContext$Factory.parse(MemberContext.java:1467) at org.apache.stratos.cloud.controller.stub.impl.StartInstanceResponse$Factory.parse(StartInstanceResponse.java:417) at org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.fromOM(CloudControllerServiceStub.java:3745) ... 29 more Caused by: org.apache.axis2.databinding.ADBException: Unexpected subelement {http://pojo.controller.cloud.stratos.apache.org/xsd}properties at org.apache.stratos.cloud.controller.stub.pojo.MemberContext$Factory.parse(MemberContext.java:1461) ... 31 more TID: [0] [STRATOS] [2014-05-08 19:55:32,939] INFO {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} - Trying to spawn an instance via cloud controller: [cluster] puprodstratos.org.domain [partition] P1 [lb-cluster] null [network-partition-id] N1 {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient} TID: [0] [STRATOS] [2014-05-08 19:55:32,941] ERROR {org.apache.stratos.autoscaler.monitor.ClusterMonitor} - Cluster monitor: Monitor failed.ClusterMonitor [clusterId=pudevstratos.org.domain, serviceId=pudev, deploymentPolicy=Deployment Policy [id]af-deployment [partitions] [org.apache.stratos.cloud.controller.stub.deployment.partition.Partition@748996e8], autoscalePolicy=ASPolicy [id=economyPolicy, displayName=null, description=null], lbReferenceType=no.load.balancer] {org.apache.stratos.autoscaler.monitor.ClusterMonitor} Exception executing consequence for rule "Minimum Rule" in org.apache.stratos.autoscaler.rule: [Error: $delegator.delegateSpawn($ctxt, clusterId, lbRef): Cannot spawn an instance] [Near : {... $delegator.delegateSpawn($ctxt ....}] ^ [Line: 1, Column: 1] at org.drools.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39) at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1297) at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:1221) at org.drools.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1456) at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:710) at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:674) at org.drools.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:230) at org.apache.stratos.autoscaler.rule.AutoscalerRuleEvaluator.evaluateMinCheck(AutoscalerRuleEvaluator.java:86) at org.apache.stratos.autoscaler.monitor.ClusterMonitor.monitor(ClusterMonitor.java:99) at org.apache.stratos.autoscaler.monitor.ClusterMonitor.run(ClusterMonitor.java:72) at java.lang.Thread.run(Thread.java:662) Caused by: [Error: $delegator.delegateSpawn($ctxt, clusterId, lbRef): Cannot spawn an instance] [Near : {... $delegator.delegateSpawn($ctxt ....}] ^ [Line: 1, Column: 1] at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:416) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:143) at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159) at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115) at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85) at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119) at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:113) at org.mvel2.MVEL.executeExpression(MVEL.java:930) at org.drools.base.mvel.MVELConsequence.evaluate(MVELConsequence.java:104) at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1287) ... 9 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:1104) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:987) at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:377) ... 19 more Caused by: java.lang.RuntimeException: Cannot spawn an instance at org.apache.stratos.autoscaler.rule.RuleTasksDelegator.delegateSpawn(RuleTasksDelegator.java:110) ... 26 more Caused by: org.apache.stratos.autoscaler.exception.SpawningException: org.apache.axis2.databinding.ADBException: Unexpected subelement { http://pojo.controller.cloud.stratos.apache.org/xsd}properties at org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient.spawnAnInstance(CloudControllerClient.java:157) at org.apache.stratos.autoscaler.rule.RuleTasksDelegator.delegateSpawn(RuleTasksDelegator.java:92) ... 26 more Caused by: org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement { http://pojo.controller.cloud.stratos.apache.org/xsd}properties at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.fromOM(CloudControllerServiceStub.java:3898) at org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.startInstance(CloudControllerServiceStub.java:1147) at org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient.spawnAnInstance(CloudControllerClient.java:145) ... 27 more Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException: Unexpected subelement { http://pojo.controller.cloud.stratos.apache.org/xsd}properties at org.apache.stratos.cloud.controller.stub.pojo.MemberContext$Factory.parse(MemberContext.java:1467) at org.apache.stratos.cloud.controller.stub.impl.StartInstanceResponse$Factory.parse(StartInstanceResponse.java:417) at org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.fromOM(CloudControllerServiceStub.java:3745) ... 29 more Caused by: org.apache.axis2.databinding.ADBException: Unexpected subelement {http://pojo.controller.cloud.stratos.apache.org/xsd}properties at org.apache.stratos.cloud.controller.stub.pojo.MemberContext$Factory.parse(MemberContext.java:1461) -- Thanks and Regards, Punnadi Gunarathna Senior Software Engineer, WSO2, Inc.; http://wso2.com <http://wso2> Blog: http://hi-my-world.blogspot.com/ Tel : 94 11 214 5345 Fax :94 11 2145300 <http://lalajisureshika.blogspot.com/>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev