The root cause of this is something going wrong on the server (you'll probably have to dig into the logs). The hang is actually a side-effect and is a bug https://jira.jboss.org/browse/JBREM-1188. Ideally, the remoting threads should have timed out, but due to the bug, they just hang around. Do you see any exceptions in the logs which might cause this side effect? Also, when does this happen? During undeployment or during deployment or during runtime?