Which version of JBossAS do you use? And what exactly happens when you say "JBoss hangs"? If it really stops responding, then please collect the thread dump http://www.jboss.org/community/docs/DOC-12300 and post it here.
While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.