-
Bug
-
Resolution: Done
-
Major
-
3.2.8.Final
-
None
-
None
Since HAL 3.0.0.Final, if we change the domain.xml/management configuration to this:
<management> <access-control provider="simple"> <host-scoped-roles> <role name="custom-role-name" base-role="Administrator"> </role> </host-scoped-roles> <role-mapping> <role name="SuperUser"> <include> <user name="$local"/> </include> </role> </role-mapping> </access-control> </management>
The console is broken after this change, it's not able to access to the HAL and report a Bootstrap error.
13:36:37.318 ERROR o.j.h.c.bootstrap.HalBootstrapper Bootstrap error: null hal-0.js:84776:67 org_jboss_hal_client_logging_LogHandler_publish__Ljava_util_logging_LogRecord_2V hal-0.js:84776 java_util_logging_Logger_actuallyLog__Ljava_util_logging_LogRecord_2V hal-0.js:44568 java_util_logging_Logger_actuallyLog__Ljava_util_logging_Level_2Ljava_lang_String_2Ljava_lang_Throwable_2V hal-0.js:44555 java_util_logging_Logger_log__Ljava_util_logging_Level_2Ljava_lang_String_2Ljava_lang_Throwable_2V hal-0.js:44644 ru_finam_slf4jgwt_logging_gwt_GWTLoggerAdapter_formatAndLog__Ljava_util_logging_Level_2Ljava_lang_String_2_3Ljava_lang_Object_2V hal-0.js:143622 ru_finam_slf4jgwt_logging_gwt_GWTLoggerAdapter_error__Ljava_lang_String_2Ljava_lang_Object_2V hal-0.js:143607 org_jboss_hal_client_bootstrap_HalBootstrapper$1_onError__Lorg_jboss_hal_flow_FlowContext_2Ljava_lang_Throwable_2V hal-0.js:63512 org_jboss_hal_client_bootstrap_HalBootstrapper$1_onError__Ljava_lang_Object_2Ljava_lang_Throwable_2V hal-0.js:63504 org_jboss_hal_flow_Outcome_onError__Ljava_lang_Throwable_2V hal-0.js:61256 rx_internal_operators_OnSubscribeSingle$1_onError__Ljava_lang_Throwable_2V hal-0.js:147697 rx_internal_operators_OperatorSingle$ParentSubscriber_onError__Ljava_lang_Throwable_2V hal-0.js:148021 rx_internal_operators_DeferredScalarSubscriber_onError__Ljava_lang_Throwable_2V hal-0.js:146867 rx_internal_operators_OnSubscribeDoOnEach$DoOnEachSubscriber_onError__Ljava_lang_Throwable_2V hal-0.js:147058 rx_internal_operators_OnSubscribeDoOnEach$DoOnEachSubscriber_onError__Ljava_lang_Throwable_2V hal-0.js:147058 rx_observers_Subscribers$5_onError__Ljava_lang_Throwable_2V hal-0.js:149653 rx_internal_operators_OnSubscribeFlatMapSingle$FlatMapSingleSubscriber_drain__V hal-0.js:147179 rx_internal_operators_OnSubscribeFlatMapSingle$FlatMapSingleSubscriber_innerError__Lrx_internal_operators_OnSubscribeFlatMapSingle$FlatMapSingleSubscriber$InnerSubscriber_2Ljava_lang_Throwable_2V hal-0.js:147264 rx_internal_operators_OnSubscribeFlatMapSingle$FlatMapSingleSubscriber$InnerSubscriber_onError__Ljava_lang_Throwable_2V hal-0.js:147342 rx_Completable$33$1_onError__Ljava_lang_Throwable_2V hal-0.js:144386 rx_Completable$11$1_onError__Ljava_lang_Throwable_2V hal-0.js:144172 rx_Single$1_call__Lrx_SingleSubscriber_2V hal-0.js:144952 rx_Single$1_call__Ljava_lang_Object_2V hal-0.js:144948 rx_Single_subscribe__Lrx_SingleSubscriber_2Lrx_Subscription_2 hal-0.js:144896 rx_internal_operators_SingleOperatorOnErrorResumeNext$2_onError__Ljava_lang_Throwable_2V hal-0.js:148681 rx_internal_operators_SingleDoOnEvent$SingleDoOnEventSubscriber_onError__Ljava_lang_Throwable_2V hal-0.js:148319 rx_exceptions_Exceptions_throwOrReport__Ljava_lang_Throwable_2Lrx_SingleSubscriber_2Ljava_lang_Object_2V hal-0.js:145358 rx_internal_operators_SingleDoOnEvent$SingleDoOnEventSubscriber_onSuccess__Ljava_lang_Object_2V hal-0.js:148331 rx_internal_operators_SingleOnSubscribeMap$MapSubscriber_onSuccess__Ljava_lang_Object_2V hal-0.js:148617 rx_internal_operators_SingleFromEmitter$SingleEmitterImpl_onSuccess__Ljava_lang_Object_2V hal-0.js:148422 org_jboss_hal_dmr_dispatch_Dispatcher$0methodref$onSuccess$Type_accept__Ljava_lang_Object_2V hal-0.js:130441 org_jboss_hal_dmr_dispatch_Dispatcher_lambda$16__Lorg_jboss_hal_dmr_dispatch_PayloadProcessor_2Ljava_util_function_Consumer_2Lorg_jboss_hal_dmr_dispatch_Dispatcher$OnFail_2Lorg_jboss_hal_dmr_Operation_2Ljava_lang_String_2Lorg_jboss_hal_dmr_dispatch_Dispatcher$OnError_2Lelemental2_dom_XMLHttpRequest_2V hal-0.js:130153 org_jboss_hal_dmr_dispatch_Dispatcher$lambda$16$Type_onLoad__Lelemental2_dom_XMLHttpRequest_2V hal-0.js:130663 org_jboss_hal_dmr_dispatch_Dispatcher_lambda$17__Lorg_jboss_hal_dmr_dispatch_Dispatcher$OnLoad_2Lelemental2_dom_XMLHttpRequest_2Lelemental2_dom_ProgressEvent_2V hal-0.js:130042 org_jboss_hal_dmr_dispatch_Dispatcher$lambda$17$Type_onInvoke__Lelemental2_dom_ProgressEvent_2V hal-0.js:130679 lambda hal-0.js:159
The workaround is adding at least one host element as :
<host-scoped-roles> <role name="dbaish" base-role="Administrator"> <host name="master"/> </role> </host-scoped-roles>
- is cloned by
-
JBEAP-19051 [GSS](7.3.z) HAL-1677 - Broken 'domain.xml' after migration of <host-scoped-roles> leading to 'Boostrap error' in HAL
- Closed
- is incorporated by
-
WFLY-13315 Upgrade HAL to 3.2.9.Final
- Closed
-
WFLY-13478 Upgrade HAL to 3.2.9.Final
- Closed
- is related to
-
WFCORE-4882 Correct minOccurts value for host element in XSD
- Closed
- relates to
-
JBEAP-17564 [GSS](7.2.z) HAL-1677 - Broken 'domain.xml' after migration of <host-scoped-roles> leading to 'Boostrap error' in HAL
- Closed