Configuration attributes that support expressions (aka system property
substitution) should *not* be writing the resolved values back to the
xml file.If you are seeing this with a build of the current AS 7 master
branch, it's a bug, and I'd very much appreciate your filing an issue in
JIRA.
Thanks!
On 2/6/12 8:26 PM, Richard Kilcoyne wrote:
I'm working on parameterizing my datasources in standalone.xml.
Specifying system properties as ${DB_URL} for connection url, username, password works
great using properties passed to jboss via -Dapp.properties, but after the first run, the
values are permanently substituted in this file. If my external property file is changed,
standalone.xml no longer picks up the change. To re-substitute, I have to get the initial
version from the standalone_xml_history dir and overwrite the current version.
Is there a better we to handle external configuration of datasources and if not, is there
a better way to reset the standalone.xml config?
Thanks,
Rick
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat