Description
Run the following commands with a clean EAP install:
./domain.sh --host-config=host-master.xml
Edit the host-slave.xml file, by changing the default 9999 port to 29999 as shown:
<native-interface security-realm="ManagementRealm">
<socket interface="management" port="${jboss.management.native.port:29999}"/>
</native-interface>
Start up the host slave:
./domain.sh --host-config=host-slave.xml -Djboss.domain.master.address=127.0.0.1
Create a generic admin user of your choosing.
Look at the host-slave.xml file and note this section:
<!-- server-two avoids port conflicts by incrementing the ports in
the default socket-group declared in the server-group -->
Add in an auto-start="true" flag as shown:
<server name="server-two" group="other-server-group" auto-start="true">
<!-- server-two avoids port conflicts by incrementing the ports in
the default socket-group declared in the server-group -->
<socket-bindings port-offset="150"/>
</server>
Change in the console auto start to false:
Now more the contents of the host-slave.xml file:
<server name="server-two" group="other-server-group" auto-start="false">
<socket-bindings port-offset="150"/>
</server>
Note your comments are gone.
Imagine I was an admin for whatever reason and I had commented out a section and it was now removed. This is kind of bad.
Attachments
Issue Links
- duplicates
-
WFCORE-354 Store config file comments in the model
- Resolved