The deletion of a workstation fails with the "AWSJOM179E error

You want to delete a workstation either using Composer or the Dynamic Workload Console and the following error occurs:
AWSJOM179E An error occurred deleting definition of the workstation {0}.
The workload broker server is currently unreachable.

Cause and solution:

This problem occurs if you removed a dynamic domain manager without following the procedure that describes how to uninstall a dynamic domain manager in the IBM Workload Scheduler: Planning and Installation.

To remove workstations connected to the dynamic domain manager, perform the following steps:
  1. Verify that the dynamic domain manager was deleted, not just unavailable, otherwise when the dynamic domain manager restarts, you must wait until the workstations register again on the master domain manager before using them.
  2. Delete the workstations using the following command:
    composer del ws <workstation_name>;force