Hi,
expression support (aka variable expansion) support is not universal, as it is supported only in contexts that allow that.
you are looking for expression support for use in standard descriptors aka ejb-jar.xml
support for that is not enabled by default, but you can enable it by editing standalone.xml
and finding ee subsystem where you should set element "spec-descriptor-property-replacement" to true
for example:
<subsystem xmlns="urn:jboss:domain:ee:1.1">
<spec-descriptor-property-replacement>true</spec-descriptor-property-replacement>
<jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>
</subsystem>
p.s.
as you did not mention what version you use, this feature works only in 7.1.1 and has been improved in later versions.
--
tomaz