apart from the configuration in the web.xml please add a context.xml in the META-INF folder of your web app with these contents
<?xml version="1.0" encoding="UTF-8"?><context priveleged="true"/>
tested on JBoss AS 7.1
Reply to this message by going to Community
Start a new discussion in JBoss AS 7 Development at Community