How to enable application that is already assign to a server-group and disabled?
Issue
- When the below
CLI
command runs to enable the application the below error is generated:
[domain@localhost:9990 /] /server-group=main-server-group/deployment=sample.war:add(enabled=true)
{
"outcome" => "failed",
"failure-description" => {"domain-failure-description" => "WFLYCTL0212: Duplicate resource [
(\"server-group\" => \"main-server-group\"),
(\"deployment\" => \"sample.war\")
]"},
"rolled-back" => true
}
- How to solve the above error when trying to enable the application that is already assigned in the
server-group
?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.