When using a full-ha profile, you need to configure HornetQ clustering security. You
can just disable it, or you need to additionally set a completely random user credential for
a JMS cluster. Find the profile settings in domain.xml , and add the following code to
the messaging subsystem:
. . .
In addition to the domain.xml file, you need to check whether your domain controller's
host.xml file contains a reference to the local host, as shown in the following code
<host name="master" xmlns="urn:jboss:domain:2.0">
The local stanza means that this host controller will take the role of a domain controller.
For all other hosts controllers, you must specify the remote domain controller host and its
port (in this example, we added some variables as placeholders). We will cover them in
the next section.
Finally, you need to create a management user that will be used to establish a connection
between the slave nodes and the domain controller. For this purpose, launch the add-
user.sh/add-user.cmd script, which is located in the JBOSS_HOME/bin direct-
ory of your distribution:
Search WWH ::