Error after removing a profile from JBoss EAP 7 in domain mode

Solution Verified - Updated -

Issue

After deleting a specific profile, both from the JBoss web console and CLI, there is an error with the following description

Unknown error
Unexpected HTTP response: 500
Request
{
    "address" => [("profile" => "ha_profile_name")],
    "operation" => "remove"
}

Response
Internal Server Error
{
    "outcome" => "failed",
    "failure-description" => {"host-failure-descriptions" => {
        "host1" => "WFLYCTL0368: Cannot remove capability 'org.wildfly.io.buffer-pool.default' from context 'profile=ha_profile_name' as it is required by other capabilities:
capability 'org.wildfly.undertow.listener.https' requires it for attribute 'buffer-pool' at address '/profile=ha_profile_name/subsystem=undertow/server=default-server/https-listener=https'",
        "host2" => "WFLYCTL0368: Cannot remove capability 'org.wildfly.io.buffer-pool.default' from context 'profile=ha_profile_name' as it is required by other capabilities:
capability 'org.wildfly.undertow.listener.https' requires it for attribute 'buffer-pool' at address '/profile=ha_profile_name/subsystem=undertow/server=default-server/https-listener=https'",
        "host3" => "WFLYCTL0368: Cannot remove capability 'org.wildfly.io.buffer-pool.default' from context 'profile=ha_profile_name' as it is required by other capabilities:
capability 'org.wildfly.undertow.listener.https' requires it for attribute 'buffer-pool' at address '/profile=ha_profile_name/subsystem=undertow/server=default-server/https-listener=https'",        
    }},
    "rolled-back" => true,
    "result" => {}
}

Environment

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