Modify the group
in the server's host.xml
file.
JBOSS_HOME
/domain/host.xml
file, look for the <servers>
tag. Change value of the group
attribute to the server group which the server should belong to.
Modify the <domain-controller>
localhost
, signified by the <local/>
tag. If your server group is hosted by a domain on a different server, remove the <local/>
tag, and replace it with a <remote/>
tag which refers either the host and port or the JNDI location of your domain controller.
<remote/>
tags<!-- A host and port --> <remote host="192.168.100.1" port="9999"/>
<!-- A JNDI location --> <remote location="http://somehost.example.com/domain-controller" callback-location="http://dakldjskal" outbound-interface="public" callback-outbound-interface="public"/>
Restart the server.