Why do we see JBAS015203 WARNING in EAP 6 log ?

Solution Verified - Updated -

Issue

  • Getting the following WARNING messages in console log while trying to use custom Realm with the mgmt-users.properties and mgmt-groups.properties files:
WARN  [org.jboss.as.domain.management] (MSC service thread 1-6) JBAS015203: The realm name of the defined security realm `NativeManagementRealm` does not match the realm name within the properties file `ManagementRealm`.
  • Configuration in host.xml :
            <security-realm name="NativeManagementRealm">
                <authentication>
                    <!--<local default-user="$local" />-->
                    <properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
                </authentication>
                <authorization map-groups-to-roles="false">
                    <properties path="mgmt-groups.properties" relative-to="jboss.domain.config.dir"/>
                </authorization>                
            </security-realm>
        </security-realms>
        ...
        <management-interfaces>
            <native-interface security-realm="NativeManagementRealm">
                <socket interface="management" port="${jboss.management.native.port:9999}"/>
            </native-interface>
            ...
    </management>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.2.0

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.