i used to start my Jboss 4.2.2 like
run.sh -b 10.11.114.12
shutdown.sh
javax.naming.CommunicationException: Could not obtain Connection to any to these urls: localhost:1099thanQ
shutdown.sh -S 10.11.114.12
go answer
shutdown.sh --server= 10.11.114.12 -S