It requires different packaging. It needs to go into a .war and have a proper web.xml with it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132150#4132150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132150