Why do we see JBAS015203 WARNING in EAP 6 log ?
Issue
- Getting the following WARNING messages in console log while trying to use custom Realm with the
mgmt-users.propertiesandmgmt-groups.propertiesfiles:
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, tools, and much more.