Este conteúdo não está disponível no idioma selecionado.

10.8. Define a Custom Directory for Deployed Content


JBoss EAP provides the option to define the location that the server will use for storing deployed content.
Define a Custom Directory for Deployed Content in Standalone Mode

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”.
Define a Custom Directory for Deployed Content in Domain Mode

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.

Red Hat logoGithubRedditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

© 2024 Red Hat, Inc.