ofcourse 'messaging' being your application policy defined in yoru
login-config.xml (I see you have defined as messaging)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042516#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...