[jboss-as7-dev] CLI - change IP address
Rostislav Svoboda
rsvoboda at redhat.com
Fri Oct 21 09:41:34 EDT 2011
Hi Brian.
I noticed that AS7-1299 is resolved so I tried to change IP address for public interface.
First attempt was fine
/interface=public:write-attribute(name="criteria",value="any-ipv4-address")
I failed when I tried to add specific IP address
/interface=public:write-attribute(name="criteria",value=[("inet-address"="10.34.3.154")])
{
"outcome" => "failed",
"failure-description" => "Illegal interface criteria [(\"inet-address\"=\"10.34.3.154\")]; must be any-address, any-ipv4-address or any-ipv6-address or a list of criteria elements",
"rolled-back" => true,
"response-headers" => {"process-state" => "reload-required"}
}
I tried few variations but without success. What is the right format?
Please add few lines into https://docs.jboss.org/author/display/AS71/Admin+Guide#AdminGuide-CLIRecipes it would help others too.
Thanks,
Rosta
More information about the jboss-as7-dev
mailing list