Hi all, I face $subject in master,
My command is, curl -X POST -H "Content-Type: application/json" -d @'autoscale-policy.json' -k -v -u admin:admin https://23.2.2.2:9443/api/autoscalePolicies Which gives error [1]. Anything changed recently? Thanks. [1] [2014-12-03 07:26:38,218] INFO {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} - Deploying autoscaling policy: [id] autoscale_policy_mysql [2014-12-03 07:26:38,298] ERROR {org.apache.axis2.description.ClientUtils} - Address information does not exist in the Endpoint Reference (EPR).The system cannot infer the transport mechanism. [2014-12-03 07:26:38,299] ERROR {org.apache.stratos.rest.endpoint.api.StratosApiV41Utils} - Address information does not exist in the Endpoint Reference (EPR).The system cannot infer the transport mechanism. org.apache.axis2.AxisFault: Address information does not exist in the Endpoint Reference (EPR).The system cannot infer the transport mechanism. at org.apache.axis2.description.ClientUtils.inferOutTransport(ClientUtils.java:73) at org.apache.axis2.client.OperationClient.prepareMessageContext(OperationClient.java:288) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:176) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) at org.apache.stratos.autoscaler.stub.AutoScalerServiceStub.addAutoScalingPolicy(AutoScalerServiceStub.java:3158) at org.apache.stratos.manager.client.AutoscalerServiceClient.deployAutoscalingPolicy(AutoscalerServiceClient.java:212) at org.apache.stratos.rest.endpoint.api.StratosApiV41Utils.deployAutoscalingPolicy(StratosApiV41Utils.java:368) at org.apache.stratos.rest.endpoint.api.StratosApiV41.deployAutoscalingPolicyDefintion(StratosApiV41.java:417) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180) at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) -- -- 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
