I don't know.
Do your run that code from within the server VM?
Did you start the Messaging server?
Do you see the MBean in the jmx console?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007342#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...