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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content