2 Replies Latest reply on Apr 20, 2016 6:58 AM by Arun Raj

    Variable Substitution in standalone.xml

    Johannes Kleinlercher Newbie

      Is it possible to use variables in the standalone.xml and define those variables in an external file? We need a feature like this to substitute environment specific values (database host, database port) during deployment in different environments.

      I found something like this on openshift Environment Variables | OpenShift Developers but it seems to be a openshift feature and no wildfly feature. On openshift the variables get subsituted before wildfly starts with this script s2i-wildfly/standalone.conf at master · openshift-s2i/s2i-wildfly · GitHub .

      Wouldn't it be a cool wildfly feature so that developers could also use it in their environment without sed or other scripts?