What you posted is pre-AS 7 configuration which uses native configuration format (ie. of JBoss Web / Tomcat). See https://community.jboss.org/message/775021#775021 for how to do this on AS7.
Reply to this message by going to Community
Start a new discussion in Performance Tuning at Community