2

Is there a deployment folder where a war can be placed in the master node so that it gets deployed to all the slave nodes in a domain managed setup in JBoss AS7?

I know that we can use the JBoss CLI to deploy to a server group which places the artifact in the JBOSS_HOME/domain/data//content directory.

However I would like to find out if there is a way that it can be placed in a deployments folder under the domain of the master node (e.g. JBOSS_HOME/domain/deployments) that is similar to the one available in the standalone mode (i.e. JBOSS_HOME/standalone/deployments) so that the deployment scanner picks it up and makes it available to the slave nodes in the domain without the explicit deploy command via CLI.

4

1 回答 1

2

总结上面的评论: 域模式下没有部署目录。

  • 您可以使用 CLI
  • 网络控制台
  • maven插件
  • 或创建您自己的部署管理器。

我写了一篇关于如何在独立服务器上执行此操作的旧博客文章,但可以稍作更改以在域服务器上使用。看看它是如何完成的jboss-as-maven-plugin,例如。

于 2013-01-30T17:23:45.267 回答