Ok, I figured it out.
The solution for those facing the same problem:
Make sure jboss-client.jar and jbossmq-client.jar are in your classpath and DO NOT set a
security manager.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037417#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...