[
https://issues.jboss.org/browse/WFCORE-3563?page=com.atlassian.jira.plugi...
]
Vratislav Marek commented on WFCORE-3563:
-----------------------------------------
*I found it in version Jboss EAP7 to*
{noformat}
[domain@localhost:9990 /] version
JBoss Admin Command-line Interface
JBOSS_HOME: /media/Data/TestArea/Install/EAP
Release: 3.0.10.Final-redhat-1 "Kenny"
Product: JBoss EAP 7.1.0.GA
JAVA_HOME: /var/jdk-stable/
java.version: 1.8.0_151
java.vm.vendor: Oracle Corporation
java.vm.version: 25.151-b12
os.name: Linux
os.version: 4.13.16-100.fc25.x86_64
[domain@localhost:9990 /]
{noformat}
{noformat}
[domain@localhost:9990 /] deploy --server-groups=main-server-group,other-server-group
/media/Data/Repos/Remote/Public/tmp/Resource/Part000.war
[domain@localhost:9990 /] deployment-info --server-group=main-server-group
NAME RUNTIME-NAME STATE
Part000.war Part000.war enabled
[domain@localhost:9990 /] deployment-info --server-group=other-server-group
NAME RUNTIME-NAME STATE
Part000.war Part000.war enabled
[domain@localhost:9990 /]
[domain@localhost:9990 /] undeploy Part000.war --keep-content
--server-groups=main-server-group,other-server-group
[domain@localhost:9990 /] deployment-info --server-group=main-server-group
NAME RUNTIME-NAME STATE
Part000.war Part000.war added
[domain@localhost:9990 /] deployment-info --server-group=other-server-group
NAME RUNTIME-NAME STATE
Part000.war Part000.war added
[domain@localhost:9990 /] undeploy Part000.war --keep-content
--server-groups=main-server-group,other-server-group
[domain@localhost:9990 /] deploy --name=Part000.war
--server-groups=main-server-group,other-server-group
{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that
failed:" => {"Operation step-1" => "WFLYCTL0212: Duplicate
resource [
(\"server-group\" => \"main-server-group\"),
(\"deployment\" => \"Part000.war\")
[domain@localhost:9990 /]
{noformat}
Could not enable application deployment on two server groups in
domain
----------------------------------------------------------------------
Key: WFCORE-3563
URL:
https://issues.jboss.org/browse/WFCORE-3563
Project: WildFly Core
Issue Type: Bug
Components: CLI
Reporter: Vratislav Marek
Assignee: Jean-Francois Denise
{noformat}
[domain@localhost:9990 /] deployment enable
--server-groups=other-server-group,main-server-group cli-test-app-deploy-all.ear
{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that
failed:" => {"Operation step-1" => "WFLYCTL0212: Duplicate
resource [
(\"server-group\" => \"other-server-group\"),
(\"deployment\" => \"cli-test-app-deploy-all.ear\")
]"}}
[domain@localhost:9990 /]
{noformat}
{noformat}
[domain@localhost:9990 /] deploy --name=cli-test-app-deploy-all.ear
--server-groups=other-server-group,main-server-group
{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that
failed:" => {"Operation step-1" => "WFLYCTL0212: Duplicate
resource [
(\"server-group\" => \"other-server-group\"),
(\"deployment\" => \"cli-test-app-deploy-all.ear\")
]"}}
[domain@localhost:9990 /]
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)