[jboss-as7-dev] CLI - change IP address

Brian Stansberry brian.stansberry at redhat.com
Fri Jul 15 11:22:28 EDT 2011


That attribute should be read-write:

https://issues.jboss.org/browse/AS7-1299

Writing the attribute will probably require a reload or restart of the 
server though.

On 7/15/11 2:18 AM, Alexey Loubyansky wrote:
> The attribute is read-only in the model, so at runtime you can't do it.
>
> Alexey
>
> On 07/14/2011 03:19 PM, Rostislav Svoboda wrote:
>> Hi guys.
>>
>> I was trying to change bind address on AS7 (standalone) using CLI.
>>
>> I did it by defining new interface and changing default-interface attribute of socket-binding-group.
>> {code}
>> /interface=publicIP:add(criteria=[("inet-address" =>   "10.34.3.154")])
>> /socket-binding-group=standard-sockets:write-attribute(name="default-interface", value="publicIP")
>> :reload
>> {code}
>>
>> How can I edit directly default interface named "public" which uses 127.0.0.1 ?
>>
>> Cheers,
>> Rosta
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat


More information about the jboss-as7-dev mailing list