-
1. Re: JBAS7 ejb-jar.xml properties placeholder
sfcoy Nov 23, 2011 5:51 PM (in response to osnetwork)You can add:
<system-properties> <property name="font.files" value=""/> </system-properties>
to your standalone.xml file. If you poke around you may find a way to drag in a properties file too.
-
2. Re: JBAS7 ejb-jar.xml properties placeholder
osnetwork Nov 23, 2011 7:02 PM (in response to sfcoy)Well, the problem is not about how to add the properties file, I can add the single properties without using a separate file. The problem is that the placeholder values ${name_of_the_property} in the ejb-jar.xml file does not get replaced with the property value while the deployment is performed.
-
3. Re: JBAS7 ejb-jar.xml properties placeholder
sfcoy Nov 23, 2011 7:17 PM (in response to osnetwork)I wondered about that. Property expansion in the ejb-jar.xml file would be a non-portable extension provided in some versions of JBoss (between 5.1 and 6.0 I think).
This feature had worked for sometime in the jboss*.xml deployment descriptors, but NOT the standard deployment descriptors.
That said, it's probably about time that this functionality was formally added to the various JEE specs. It's pretty darn handy.
-
4. Re: JBAS7 ejb-jar.xml properties placeholder
jeisen Dec 6, 2014 1:42 PM (in response to osnetwork)It must be enabled in the standalone.xml:
<subsystem xmlns="urn:jboss:domain:ee:1.2">
<spec-descriptor-property-replacement>true</spec-descriptor-property-replacement>
<jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>
<annotation-property-replacement>true</annotation-property-replacement>
</subsystem>
More information can be found here: