Thanks tomaz, it worked!
Thanks for this post! I can verified the same thing happens on my MacOSX 10.7.4 with JDK 1.7.0_05 and JBossAS 7.1.1.Final.
What this post didn't also mention is that both the server and CLI client must use the workaround system properties! So for those who encounter the same, this is how I get the "standalone" config set working.
Start the server:
$ bin/standalone.sh -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.KQueueSelectorProvider ... 18:37:22,555 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 1686ms - Started 133 of 208 services (74 services are passive or on-demand)
The on separate terminal, try the CLI:
$JAVA_OPTS="-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.KQueueSelectorProvider" bin/jboss-cli.sh --connect [standalone@localhost:9999 /]
Same problem occured to me....
I could resolve it thanks to you....