[jboss-as7-dev] Parameterized config of datasources in standalone.xml

Stuart Douglas stuart.w.douglas at gmail.com
Mon Feb 6 21:42:39 EST 2012


I can't reproduce this on upstream. Which AS7 version are you using, and if it is a recent version which properties do you see this happening with?

Stuart



On 07/02/2012, at 1: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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev




More information about the jboss-as7-dev mailing list