10.8. Define a Custom Directory for Deployed Content
By default, deployed content in Standalone Mode is stored in the EAP_HOME/standalone/data/content
directory.
- This location can be changed by passing in the
-Djboss.server.deploy.dir
argument when starting the server:./standalone.sh -Djboss.server.deploy.dir=/path/to/new_deployed_content
- The chosen location should be unique among JBoss EAP instances.
Note
jboss.server.deploy.dir
specifies the directory used for storing content that has been deployed via the Management Console or Management CLI. For defining a custom deployments directory to be monitored by the deployment scanner, see Section 10.5.9, “Define a Custom Deployment Scanner”.
By default, deployed content in Domain Mode is stored in the EAP_HOME/domain/data/content
directory.
- This location can be changed by passing in the
-Djboss.domain.deployment.dir
argument when starting the domain:./domain.sh -Djboss.domain.deployment.dir=/path/to/new_deployed_content
- The chosen location should be unique among JBoss EAP instances.