-
1. Re: How to change management host name in standalone.xml?
wdfink Oct 26, 2012 4:07 AM (in response to connie.yang)In AS7 there are two interfaces, application (e.g. 8080 and 4447) and management (e.g. 9990 and 9999).
The default is 'localhost 127.0.0.1' for both if you want to change you can use the command line option '-b <ip app> -bmanagement <ip mngmt>
Or you change the interface section in the standalone.xml
Port change is very simple, you might add '-Djboss.socket.binding.port-offset=100' to add an offset of 100 for each port.
Or you might change each single port in the socket-binding section of the configuration if you want to have special portnumbers.
-
2. Re: How to change management host name in standalone.xml?
erasmomarciano Oct 26, 2012 10:52 AM (in response to connie.yang)Hi
If you want to change the values into the configuration file standolone.xml
you check this part
<interfaces>
<interface name="management">
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
</interface>
<interface name="public">
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
</interface>
<interface name="unsecure">
<inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
</interface>
</interfaces>
-
3. Re: How to change management host name in standalone.xml?
dlofthouse Oct 26, 2012 12:59 PM (in response to erasmomarciano)One point to remember is that the host name or IP address you specify need to be valid on the host that you are running JBoss AS i.e. the host name must have already been mapped to an IP address on that machine before you even start JBoss.
-
4. Re: How to change management host name in standalone.xml?
connie.yang Oct 26, 2012 1:03 PM (in response to erasmomarciano)I would like to change the standalone.xml. For automation purposes, can the host name be a variable?
-
5. Re: How to change management host name in standalone.xml?
wdfink Oct 26, 2012 1:25 PM (in response to connie.yang)The variable is still in place, you can use the parameter '-Djboss.bind.address.management=x.x.x.x -Djboss.bind.address=x.x.x.x' if you run standalone.sh