Success with a warning (in this case due to an invalid protocol attribute on a connector):
[standalone@localhost:9999 /] /subsystem=web:migrate
{
"outcome" => "success",
"result" => {"migration-warnings" => ["WFLYWEB0002: Could not migrate resource {
\"protocol\" => \"INVALID\",
\"scheme\" => \"http\",
\"socket-binding\" => \"ajp\",
\"enable-lookups\" => undefined,
\"proxy-binding\" => undefined,
\"proxy-name\" => undefined,
\"proxy-port\" => undefined,
\"redirect-binding\" => undefined,
\"redirect-port\" => undefined,
\"secure\" => undefined,
\"max-post-size\" => undefined,
\"max-save-post-size\" => undefined,
\"enabled\" => undefined,
\"executor\" => undefined,
\"max-connections\" => undefined,
\"virtual-server\" => undefined,
\"name\" => \"ajp\",
\"operation\" => \"add\",
\"address\" => [
(\"subsystem\" => \"web\"),
(\"connector\" => \"ajp\")
]
}"]}
}
[standalone@localhost:9999 /] /subsystem=web:migrate
{
"outcome" => "failed",
"result" => {
"migration-warnings" => [],
"migration-error" => {
"operation" => {
"operation" => "add",
"address" => [
("subsystem" => "undertow"),
("server" => "default-server"),
("ajp-listener" => "ajp")
],
"socket-binding" => "ajp",
"secure" => undefined,
"redirect-socket" => undefined,
"enabled" => undefined,
"resolve-peer-address" => undefined,
"max-post-size" => undefined,
"max-connections" => "sadfadsfasdgasdfg",
"operation-headers" => {
"caller-type" => "user",
"access-mechanism" => "NATIVE"
},
"worker" => undefined,
"buffer-pool" => undefined,
"disallowed-methods" => undefined,
"max-header-size" => undefined,
"buffer-pipelined-data" => undefined,
"max-parameters" => undefined,
"max-headers" => undefined,
"max-cookies" => undefined,
"allow-encoded-slash" => undefined,
"decode-url" => undefined,
"url-charset" => undefined,
"always-set-keep-alive" => undefined,
"max-buffered-request-size" => undefined,
"record-request-start-time" => undefined,
"allow-equals-in-cookie-value" => undefined,
"no-request-timeout" => undefined,
"request-parse-timeout" => undefined,
"tcp-backlog" => undefined,
"receive-buffer" => undefined,
"send-buffer" => undefined,
"tcp-keep-alive" => undefined,
"read-timeout" => undefined,
"write-timeout" => undefined
},
"result" => {
"outcome" => "failed",
"failure-description" => "WFLYCTL0097: Wrong type for max-connections. Expected [INT] but was STRING",
"rolled-back" => true
}
}
},
"rolled-back" => true
}