Hi Punnadi and all,
When I run the script I am getti ghte flowing issue.
What could be the error? Could you tell me how to debug this please? Is
there an flow to help us guide?
thanks,
dimuthu
* About to connect() to 10.100.1.19 port 9463 (#0)
* Trying 10.100.1.19...
* Adding handle: conn: 0x7febfb000000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7febfb000000) send_pipe: 1, recv_pipe: 0
* Connected to 10.100.1.19 (10.100.1.19) port 9463 (#0)
* TLS 1.0 connection using TLS_RSA_WITH_AES_128_CBC_SHA
* Server certificate: localhost
* Server auth using Basic with user 'admin'
> POST /stratos/admin/policy/deployment/partition HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.30.0
> Host: 10.100.1.19:9463
> Accept: */*
> Content-Type: application/json
> Content-Length: 175
>
* upload completely sent off: 175 out of 175 bytes
< HTTP/1.1 400 Bad Request
< Date: Mon, 21 Apr 2014 05:20:38 GMT
< Content-Type: application/json
< Content-Length: 92
< Connection: close
* Server WSO2 Carbon Server is not blacklisted
< Server: WSO2 Carbon Server
<
* Closing connection 0
{"Error":{ "errorCode": " 400", "errorMessage": " Error in deploying
partition definition"}}* About to connect() to 10.100.1.19 port 9463 (#0)
* Trying 10.100.1.19...
* Adding handle: conn: 0x7fb2a980aa00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fb2a980aa00) send_pipe: 1, recv_pipe: 0
* Connected to 10.100.1.19 (10.100.1.19) port 9463 (#0)
* TLS 1.0 connection using TLS_RSA_WITH_AES_128_CBC_SHA
* Server certificate: localhost
* Server auth using Basic with user 'admin'
> POST /stratos/admin/policy/autoscale HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.30.0
> Host: 10.100.1.19:9463
> Accept: */*
> Content-Type: application/json
> Content-Length: 705
>
* upload completely sent off: 705 out of 705 bytes
< HTTP/1.1 400 Bad Request
< Date: Mon, 21 Apr 2014 05:20:38 GMT
< Content-Type: application/json
< Content-Length: 101
< Connection: close
* Server WSO2 Carbon Server is not blacklisted
< Server: WSO2 Carbon Server
<
* Closing connection 0
{"Error":{ "errorCode": " 400", "errorMessage": " Error in deploying
autoscaling policy definition"}}* About to connect() to 10.100.1.19 port
9463 (#0)
* Trying 10.100.1.19...
* Adding handle: conn: 0x7fd331804e00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fd331804e00) send_pipe: 1, recv_pipe: 0
* Connected to 10.100.1.19 (10.100.1.19) port 9463 (#0)
* TLS 1.0 connection using TLS_RSA_WITH_AES_128_CBC_SHA
* Server certificate: localhost
* Server auth using Basic with user 'admin'
> POST /stratos/admin/policy/deployment HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.30.0
> Host: 10.100.1.19:9463
> Accept: */*
> Content-Type: application/json
> Content-Length: 265
>
* upload completely sent off: 265 out of 265 bytes
< HTTP/1.1 400 Bad Request
< Date: Mon, 21 Apr 2014 05:20:38 GMT
< Content-Type: application/json
< Content-Length: 100
< Connection: close
* Server WSO2 Carbon Server is not blacklisted
< Server: WSO2 Carbon Server
<
* Closing connection 0
{"Error":{ "errorCode": " 400", "errorMessage": " Error in deploying
deployment policy definition"}}* About to connect() to 10.100.1.19 port
9463 (#0)
* Trying 10.100.1.19...
* Adding handle: conn: 0x7fc52b00bc00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fc52b00bc00) send_pipe: 1, recv_pipe: 0
* Connected to 10.100.1.19 (10.100.1.19) port 9463 (#0)
* TLS 1.0 connection using TLS_RSA_WITH_AES_128_CBC_SHA
* Server certificate: localhost
* Server auth using Basic with user 'admin'
> POST /stratos/admin/cartridge/definition HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.30.0
> Host: 10.100.1.19:9463
> Accept: */*
> Content-Type: application/json
> Content-Length: 1409
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
< HTTP/1.1 400 Bad Request
< Date: Mon, 21 Apr 2014 05:20:38 GMT
< Content-Type: application/json
< Content-Length: 95
< Connection: close
* Server WSO2 Carbon Server is not blacklisted
< Server: WSO2 Carbon Server
<
* Closing connection 0
{"Error":{ "errorCode": " 400", "errorMessage": " Error while deploying
cartridge definition"}}* About to connect() to 10.100.1.19 port 9463 (#0)
* Trying 10.100.1.19...
* Adding handle: conn: 0x7f84f4000000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7f84f4000000) send_pipe: 1, recv_pipe: 0
* Connected to 10.100.1.19 (10.100.1.19) port 9463 (#0)
* TLS 1.0 connection using TLS_RSA_WITH_AES_128_CBC_SHA
* Server certificate: localhost
* Server auth using Basic with user 'admin'
> POST /stratos/admin/service/definition HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.30.0
> Host: 10.100.1.19:9463
> Accept: */*
> Content-Type: application/json
> Content-Length: 301
>
* upload completely sent off: 301 out of 301 bytes
< HTTP/1.1 400 Bad Request
< Date: Mon, 21 Apr 2014 05:20:38 GMT
< Content-Type: application/json
< Content-Length: 98
< Connection: close
* Server WSO2 Carbon Server is not blacklisted
< Server: WSO2 Carbon Server
<
* Closing connection 0
{"Error":{ "errorCode": " 400", "errorMessage": " Error in deploying
service cluster definition"}}* About to connect() to 10.100.1.19 port 9464
(#0)
* Trying 10.100.1.19...
* Adding handle: conn: 0x7fd87a80b000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fd87a80b000) send_pipe: 1, recv_pipe: 0
* Connected to 10.100.1.19 (10.100.1.19) port 9464 (#0)
* TLS 1.0 connection using TLS_RSA_WITH_AES_128_CBC_SHA
* Server certificate: localhost
* Server auth using Basic with user 'admin'
> POST /stratos/admin/cartridge/definition HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.30.0
> Host: 10.100.1.19:9464
> Accept: */*
> Content-Type: application/json
> Content-Length: 1412
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
< HTTP/1.1 400 Bad Request
< Date: Mon, 21 Apr 2014 05:20:39 GMT
< Content-Type: application/json
< Content-Length: 95
< Connection: close
* Server WSO2 Carbon Server is not blacklisted
< Server: WSO2 Carbon Server
<
* Closing connection 0
{"Error":{ "errorCode": " 400", "errorMessage": " Error while deploying
cartridge definition"}}* About to connect() to 10.100.1.19 port 9464 (#0)
* Trying 10.100.1.19...
* Adding handle: conn: 0x7fbb6d80aa00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fbb6d80aa00) send_pipe: 1, recv_pipe: 0
* Connected to 10.100.1.19 (10.100.1.19) port 9464 (#0)
* TLS 1.0 connection using TLS_RSA_WITH_AES_128_CBC_SHA
* Server certificate: localhost
* Server auth using Basic with user 'admin'
> POST /stratos/admin/service/definition HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.30.0
> Host: 10.100.1.19:9464
> Accept: */*
> Content-Type: application/json
> Content-Length: 303
>
* upload completely sent off: 303 out of 303 bytes
< HTTP/1.1 400 Bad Request
< Date: Mon, 21 Apr 2014 05:20:39 GMT
< Content-Type: application/json
< Content-Length: 98
< Connection: close
* Server WSO2 Carbon Server is not blacklisted
< Server: WSO2 Carbon Server
<
* Closing connection 0
{"Error":{ "errorCode": " 400", "errorMessage": " Error in deploying
service cluster definition"}}* About to connect() to 10.100.1.19 port 9466
(#0)
* Trying 10.100.1.19...
* Adding handle: conn: 0x7f8fb500b000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7f8fb500b000) send_pipe: 1, recv_pipe: 0
* Connected to 10.100.1.19 (10.100.1.19) port 9466 (#0)
* TLS 1.0 connection using TLS_RSA_WITH_AES_128_CBC_SHA
* Server certificate: localhost
* Server auth using Basic with user 'admin'
> POST /stratos/admin/cartridge/definition HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.30.0
> Host: 10.100.1.19:9466
> Accept: */*
> Content-Type: application/json
> Content-Length: 1412
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
< HTTP/1.1 400 Bad Request
< Date: Mon, 21 Apr 2014 05:20:39 GMT
< Content-Type: application/json
< Content-Length: 95
< Connection: close
* Server WSO2 Carbon Server is not blacklisted
< Server: WSO2 Carbon Server
<
* Closing connection 0
{"Error":{ "errorCode": " 400", "errorMessage": " Error while deploying
cartridge definition"}}* About to connect() to 10.100.1.19 port 9466 (#0)
* Trying 10.100.1.19...
* Adding handle: conn: 0x7fc55280aa00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fc55280aa00) send_pipe: 1, recv_pipe: 0
* Connected to 10.100.1.19 (10.100.1.19) port 9466 (#0)
* TLS 1.0 connection using TLS_RSA_WITH_AES_128_CBC_SHA
* Server certificate: localhost
* Server auth using Basic with user 'admin'
> POST /stratos/admin/service/definition HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.30.0
> Host: 10.100.1.19:9466
> Accept: */*
> Content-Type: application/json
> Content-Length: 303
>
* upload completely sent off: 303 out of 303 bytes
< HTTP/1.1 400 Bad Request
< Date: Mon, 21 Apr 2014 05:20:39 GMT
< Content-Type: application/json
< Content-Length: 98
< Connection: close
* Server WSO2 Carbon Server is not blacklisted
< Server: WSO2 Carbon Server
<
* Closing connection 0
{"Error":{ "errorCode": " 400", "errorMessage": " Error in deploying
service cluster definition"}}bash-3.2$
--
Dimuthu Leelarathne
Architect & Product Lead of App Factory
WSO2, Inc. (http://wso2.com)
email: [email protected]
Mobile : 0773661935
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev