-
1. Re: Variable Expansion Environment Specific
jmighion Aug 15, 2012 6:19 PM (in response to jmighion)I just tried on our linux dev box with the same setup of EAP 6.0 GA and same jdk, but to no avail. Still fails and in the exception it lists the ${key}.
-
2. Re: Variable Expansion Environment Specific
ctomc Aug 16, 2012 7:48 AM (in response to jmighion)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>
for more info you can read http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/6/html/Administration_and_Configuration_Guide/EnablingDisabling_Descriptor_Based_Property_Replacement.html
--
tomaz
-
3. Re: Variable Expansion Environment Specific
jmighion Aug 16, 2012 9:16 AM (in response to ctomc)We have a winner! Thank you so much! Apparently all the local installs got that set to true, but none of our dev boxes.
-
4. Re: Variable Expansion Environment Specific
arunsanjay Sep 25, 2012 1:18 PM (in response to ctomc)Is this property available in JBoss AS 7.1.1-Final. When i try to set it via cli get the error as unknown attribute "jboss-descriptor-property-replacement"
-
5. Re: Variable Expansion Environment Specific
arunsanjay Sep 25, 2012 3:29 PM (in response to arunsanjay)I am replying to my question here, which was answered in another issue https://community.jboss.org/message/761464#761464 . It is not available in 7.1.1