[jboss-jira] [JBoss JIRA] (AS7-5110) Destructive Change to the .xml file ie Losing comments in the file.
Jim Tyrrell (JIRA)
jira-events at lists.jboss.org
Tue Jul 3 14:46:12 EDT 2012
Jim Tyrrell created AS7-5110:
--------------------------------
Summary: Destructive Change to the .xml file ie Losing comments in the file.
Key: AS7-5110
URL: https://issues.jboss.org/browse/AS7-5110
Project: Application Server 7
Issue Type: Feature Request
Components: Console
Affects Versions: 7.1.2.Final (EAP)
Reporter: Jim Tyrrell
Assignee: Heiko Braun
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list