jbossas/jboss-as — pull request #929 by kabir (2011-12-16 11:10:47+00:00)
Title: [AS7-3057] Handle ipv6 addresses in cli

To try it out

Change standalone.conf to use -Djava.net.preferIPv6Stack=true instead of -Djava.net.preferIPv4Stack=true

Change the management interface in standalone.xml
{code}

{code}

Start CLI and connect:

[~/sourcecontrol/jboss-as7/git/jboss-as]
$./build/target/jboss-as-7.1.0.CR1-SNAPSHOT/bin/jboss-admin.sh
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /] connect [::1]:9999
host [::1]
[standalone@[::1]:9999 /]