JBoss system property replacement does not work



My JBoss version is Jboss-as-7.1.1.Final. I have some system properties in standalone.xml:



<system-properties>
<property name="ims.eas.service.registerSystem" value="registerSystem"/>
<property name="ims.developerMode" value="false"/>
...
</system-properties>


In web.xml refer to them as ${ims.developerMode}. But it does not work. Watched System.getProperties() in debug mode, system properties are there. It reads them from standalone.xml but not replaces in web.xml. With jboss-eap-6.1 it works pretty well.


No comments:

Post a Comment