Tomaz Cerar [
https://community.jboss.org/people/ctomc] created the discussion
"Re: Variable Expansion Environment Specific"
To view the discussion, visit:
https://community.jboss.org/message/754000#754000
--------------------------------------------------------------
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
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/754000#754000]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]