What version of AS7 are you using?
Jboss application server 7.1.1
That won't work.
not all attributes support expressions, 7.2 had lots of changes in this area, where most of attributes now support them.
I would recommend you to upgrade to some newer version, i would recommend WildFly 8