JBoss Community

AS7 - deployments dir sharing question

created by lmcdasi in JBoss AS7 Development - View the full discussion

Hi,

 

   I would like to know if there is a way to have the deployments directory configurable via an "envrionment" variable in AS7 or via other means rather than being static defined into the standalone.xml based on the "jboss.server.base.dir".

 

   For example, if I pass -DHOST=${HOST} to the jboss startup && in the standalone.xml file I have path="deployments_${HOST}", then the ${HOST} is replaced via the enviroment variable at startup && the deployment path is changed accordingly.

 

BR,

Dan S.

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community