This content has been marked as final.
Show 1 reply
-
1. Re: Using the cli to update standalone-full.xml - modify interfaces doesnt work ?
lafr Oct 18, 2014 4:23 AM (in response to martinm1000)When removing the interface wildfly probably not dies but closes the all the connections using this interface including yours from jboss-cli.sh/.bat.
Adding an interface probably needs an ":add", but your "/interface=public:write-attribute(name=any-ipv4-address)" does not.
Working example for adding mail: /subsystem=mail/mail-session="java:/Mail":add(jndi-name=java:/Mail,from="...",debug=false)
But influencing the socket bindings is done easier in your startup command:
$JBOSS_HOME/bin/standalone.sh -Djboss.bind.address=0.0.0.0 -Djboss.socket.binding.port-offset=0 --server-config=standalone-langfr.xml