When you say "main JBoss execution window", do you mean a console window displaying output?
Are you running this on Windows? Are you sure you aren't clicking your mouse in the console window, thus causing it to enter "Select" mode? When in Select mode, it will block. Pressing Escape, CTRL+C or almost any other key takes it out of select mode.
Just a thought.
Thanks a lot for your reply, Yes I do mean a console window displaying output, and I am running in a windows environment. I did not know about the select Mode. It is quite possible, that I have been running in select mode. Is there some place where I can read more on the select mode? You have been a big Help, thanks alot.
As you can tell, I am a newbie. I did follow Tim's advice, and yes I was running in select Mode. I did a couple of test, and it works fine now. Just to confirm "I was running in select Mode"