How did you start JBoss AS? The IP bindings used for startup must be used with the shutdown command (the shutdown command used localhost by default). Also, did you change the ports used by JNDI or other services? That also has to be reflected in shutdown.