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.dirargument 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.dirargument 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.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.