JBoss:Developer's Guide
上QQ阅读APP看书,第一时间看更新

Setting up the domain host and interfaces

This section covers the domain controller host configuration; we will update the host0/domain/host-master.xml file.

Using your favorite text editor, rename the first line to set a correct hostname (host0-master):

$ cd host0/domain/configuration/
$ vi host-master.xml
edit host name to be host0-master
<host xmlns="urn:jboss:domain:4.1" name="host0-master">

With this modification, the host0 name is set to host0-master and will prevent confusion in the domain configuration dashboard.