How to delete profiles in domain mode using CLI?
Issue
- How to delete complete profile in domain mode through CLI?
- While deleting profile in domain mode using CLI in EAP 6.x, exception occurs "JBAS014804: Cannot remove resource before removing child resources " :
[domain@localhost:9999 /] /profile=ha:remove()
{
"outcome" => "failed",
"failure-description" => {"domain-failure-description" => "JBAS014804: Cannot remove resource before removing child resources [\"subsystem\" => \"logging\", \"subsystem\" => \"configadmin\", \"subsystem\" => \"datasources\", \"subsystem\" => \"ee\", \"subsystem\" => \"ejb3\", \"subsystem\" => \"infinispan\", \"subsystem\" => \"jaxrs\", \"subsystem\" => \"jca\", \"subsystem\" => \"jdr\", \
"subsystem\" => \"jgroups\", \"subsystem\" => \"jpa\", \"subsystem\" => \"jsf\", \"subsystem\" => \"mail\", \"subsystem\" => \"modcluster\", \"subsystem\" => \"naming\", \"subsystem\" => \"pojo\", \"subsystem\" => \"remoting\", \"subsystem\" => \"resource-adapters\", \"subsystem\" => \"sar\", \"subsystem\" => \"security\", \"subsystem\" => \"threads\", \"subsystem\" => \"transactions\", \"sub
system\" => \"web\", \"subsystem\" => \"webservices\", \"subsystem\" => \"weld\"]"},
"rolled-back" => true
}
Environment
- Red Hat JBoss Enterprise Application Platform (EAP).
- 6.x
- 7.x
- 8.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.