[jboss-jira] [JBoss JIRA] (WFCORE-3649) 'deploy' command mandates use of --replace but fails with "Unrecognized arguments: [--replace]"
Radoslav Husar (JIRA)
issues at jboss.org
Mon Feb 26 07:01:00 EST 2018
Radoslav Husar created WFCORE-3649:
--------------------------------------
Summary: 'deploy' command mandates use of --replace but fails with "Unrecognized arguments: [--replace]"
Key: WFCORE-3649
URL: https://issues.jboss.org/browse/WFCORE-3649
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 4.0.0.Beta2
Reporter: Radoslav Husar
Assignee: Radoslav Husar
{noformat}
[rhusar at syrah x]$ ./bin/jboss-cli.sh -c
[standalone at localhost:9990 /] deploy ~/git/clusterbench/clusterbench-ee7-ear/target/clusterbench-ee7.ear
[standalone at localhost:9990 /] deploy ~/git/clusterbench/clusterbench-ee7-ear/target/clusterbench-ee7.ear
org.jboss.as.cli.CommandFormatException: 'clusterbench-ee7.ear' already exists in the deployment repository (use --replace to replace the existing content in the repository).
[standalone at localhost:9990 /] deploy --replace ~/git/clusterbench/clusterbench-ee7-ear/target/clusterbench-ee7.ear
Unrecognized arguments: [--replace]
[standalone at localhost:9990 /] deploy --force ~/git/clusterbench/clusterbench-ee7-ear/target/clusterbench-ee7.ear
[standalone at localhost:9990 /]
{noformat}
same in domain
{noformat}
[domain at localhost:9990 /] deploy --all-server-groups ~/git/clusterbench/clusterbench-ee7-ear/target/clusterbench-ee7.ear
org.jboss.as.cli.CommandFormatException: 'clusterbench-ee7.ear' already exists in the deployment repository (use --replace to replace the existing content in the repository).
[domain at localhost:9990 /] deploy --all-server-groups --replace ~/git/clusterbench/clusterbench-ee7-ear/target/clusterbench-ee7.ear
Unrecognized arguments: [--replace]
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list