Seeing "Internal Error" when trying to applying a patch to JBoss EAP through the Management Console in an RPM installation.

Solution Verified - Updated -

Issue

  • I'm not able to apply patch from JBoss console as I'm getting the below error while clicking the patching tab: Failed to create security context, and getting the below error while trying to do it from jboss cli:
[disconnected /] patch apply /var/opt/rh/eap7/log/wildfly/standalone/jboss-eap-7.1.6-patch.zip
Unexpected command 'patch apply /var/opt/rh/eap7/log/wildfly/standalone/jboss-eap-7.1.6-patch.zip'. Type 'help --commands' for the list of supported commands.
[disconnected /]
  • The issue we see is when "Patching" is selected we get the following error message: Failed to create security context.
Unexpected HTTP response: 500

Request
{
    "operation" => "composite",
    "address" => [],
    "steps" => [
        {
            "address" => undefined,
            "operation" => "read-resource-description",
            "operations" => true,
            "access-control" => "combined-descriptions",
            "locale" => "en",
            "include-aliases" => true
        },
        {
            "address" => [("core-service" => "patching")],
            "operation" => "read-resource-description",
            "operations" => true,
            "access-control" => "combined-descriptions",
            "locale" => "en",
            "include-aliases" => true
        }
    ]
}

Response

Internal Server Error
{
    "outcome" => "failed",
    "result" => {
        "step-1" => undefined,
        "step-2" => undefined
    },
    "failure-description" => "WFLYCTL0030: No resource definition is registered for address [(\"core-service\" => \"patching\")]",
    "rolled-back" => true
}
  • Patching behavior with RPM is confusing. When using domain mode and clicking on "Patching" tab, it pops an "Internal error" box with the following details:
------------------------------------
Unable to load required resources for column 'patching-domain': {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "WFLYCTL0030: No resource definition is registered for address [
    (\"host\" => \"*\"),
    (\"core-service\" => \"patching\")
]"}}
------------------------------------

Also, when I attempt to apply a patch I get this error:

[domain@hostname:9999 /] patch apply /var/tmp/jboss-eap-7.2.1-patch.zip
Unexpected command 'patch apply /var/tmp/jboss-eap-7.2.1-patch.zip'. Type 'help --commands' for the list of supported commands.
  • We get this error when trying to look at patch management. I am trying from the GUI to look at Patch management. RPM installation and I did see that we might have to update over Satellite. However, we are wanting to control the process via the console. Is this possible with RPM installed Jboss?
  • Unable to load required resources for column 'patching-domain': "WFLYCTL0063: Composite operation was rolled back". Every time "Patching" web-console tab is clicked, we get "Internal Error" in an rpm installation with a configured domain (1 domain controller, 2 hosts).

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