Unable to change a datasource parameter even after disabling the resource from JBoss ON 3

Solution Verified - Updated -

Environment

  • JBoss Operations Network (JON) 3.3.x
  • Red Hat JBoss Enterprise Application Platform (EAP) 6

Issue

  • You must disable the Datasource before editing its configuration status is displayed for datasource resource after trying to change any parameter;
  • JON is still saying that the datasource resource needs to be disabled after trying to change a parameter, even if it reports a disable state.

Resolution

Please make sure that you are disabling the datasource resource properly instead of the datasource monitoring in JON. If you go to the DataSource (Standalone) group page -> Inventory -> Members, you will be able to see a Disable button. However, this option only disable the datasource monitoring in JON, it means that JON will not be able to collect metrics, availability or execute operations on that anymore.

In order to disable the resource properly (so that it will be disabled in EAP side as well), please click on the datasource resource name (i.e. HelloDS) -> Operations -> Schedules -> choose Disable operation. Note that the "allow-resource-service-restart will be displayed, you can set it to true so that it will restart only the datasource service after the operation execution. Otherwise, you will have to perform a full server reload for the server resource. Please refers to How to disable DataSource via CLI without reloading all services in JBoss EAP 6 to obtain further details regarding how allow-resource-service-restart property works. Then, you can click on Schedule button, it should disable the datasource resource in JON and EAP side. Now you should be able to perform the changes in the datasource from JON.

Note: If you have disabled the datasource monitoring, please make sure you have enabled it again before executing the Disable operation.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments