WFLYCTL0363: Capability 'org.wildfly.messaging.activemq.server.default' is already registered in context

Solution Verified - Updated -

Issue

  • Create profile using clone command :
[domain@admin:9990 /] /profile=full-ha:clone(to-profile=test)
{
    "outcome" => "success",
    "result" => undefined,
    "server-groups" => undefined
}
  • Delete newly created profile :
[domain@admin:9990 /] /profile=test:remove()
{
    "outcome" => "success",
    "result" => undefined,
    "server-groups" => undefined
}
  • try to recreate profile using same same command, it fails with WFLYCTL0363
[domain@admin:9990 /] /profile=full-ha:clone(to-profile=test)
{
    "outcome" => "failed",
    "failure-description" => {"host-failure-descriptions" => {"amos_dev_hc_eap_test_sl018073" => "WFLYCTL0158: Operation handler failed: java.lang.IllegalStateException: WFLYCTL0363: Capability 'org.wildfly.messaging.activemq.server.default' is already registered in context 'profile=test'."}},
    "rolled-back" => true,
    "result" => {}
}

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0.X
    • 7.1.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.