Apparently this should be considered a workaround. Read this https://community.jboss.org/message/720944
I opened a JIRA about it.
Reply to this message by going to Community
Start a new discussion in JBoss AS 7 Development at Community