[
https://issues.jboss.org/browse/WFCORE-3562?page=com.atlassian.jira.plugi...
]
Jean-Francois Denise commented on WFCORE-3562:
----------------------------------------------
[~vmarek], are you 100% sure of your steps?
I did:
[domain@localhost:9990 /] deployment deploy-file
../../NetBeansProjects/TestApp/dist/TestApp.war
--server-groups=main-server-group,other-server-group --name=Test2
[domain@localhost:9990 /] deployment deploy-file
../../NetBeansProjects/TestApp/dist/TestApp.war
--server-groups=main-server-group,other-server-group
[domain@localhost:9990 /] deployment disable Test2 --server-groups=other-server-group
[domain@localhost:9990 /] deployment disable TestApp.war
--server-groups=main-server-group
[domain@localhost:9990 /] deployment disable-all --all-relevant-server-groups
And it worked as expected. Am I missing something? Thank-you.
Deployment disable-all doesn't correct function at domain
---------------------------------------------------------
Key: WFCORE-3562
URL:
https://issues.jboss.org/browse/WFCORE-3562
Project: WildFly Core
Issue Type: Bug
Components: CLI
Reporter: Vratislav Marek
Assignee: Jean-Francois Denise
Domain
{noformat}
[domain@localhost:9990 /] deployment disable-all --all-relevant-server-groups
org.jboss.as.cli.operation.OperationFormatException: None of the server groups is
specified or references specified deployment.
[domain@localhost:9990 /]
{noformat}
{noformat}
[domain@localhost:9990 /] undeploy * --keep-content --all-relevant-server-groups
org.jboss.as.cli.operation.OperationFormatException: None of the server groups is
specified or references specified deployment.
[domain@localhost:9990 /]
{noformat}
{noformat}
[domain@localhost:9990 /] deployment disable-all --server-groups=main-server-group
{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that
failed:" => {"Operation step-4" => "WFLYCTL0216: Management
resource '[
(\"server-group\" => \"main-server-group\"),
(\"deployment\" => \"cli-test-app2-deploy-all.war\")
]' not found"}}
[domain@localhost:9990 /]
{noformat}
{noformat}
[domain@localhost:9990 /] undeploy * --keep-content --server-groups=main-server-group
{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that
failed:" => {"Operation step-4" => "WFLYCTL0216: Management
resource '[
(\"server-group\" => \"main-server-group\"),
(\"deployment\" => \"cli-test-app2-deploy-all.war\")
]' not found"}}
[domain@localhost:9990 /]
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)