Deleting Profiles in Domain mode using CLI

Solution Verified - Updated -

Issue

  • How to delete complete profile in domain mode through CLI ?

  • While deleting profile in domain mode using CLI, 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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.