Shutdown JBoss 7 AS along with host-controller

泄露秘密 提交于 2020-01-05 04:40:12

问题


I use JBoss 7.1.1-FINAL AS. Its configured to startup in domain mode with default settings. I use the domain.sh file to start up the server which starts 4 java processes:

  1. Host-controller
  2. Process-controller
  3. server-one
  4. server-two

In order to shutdown the server, i invoke the following command:

./jboss-cli.sh --connect controller=host:9999 /host=master:shutdown

This brings down the 2 servers, server-one and server-two.

I would like to know how to stop host-controller and process-controller.

Thanks for the help.


回答1:


The command mentioned above is the command to shutdown the server. Apparently, this started working recently. I do not know what the issue was. The host-controller and the process-controller also shutdown with this command.




回答2:


You can try either command. They both work for me;stopping all processes. #1 is the shorthand command connecting to the controller.

./jboss-cli.sh --connect /host=master:shutdown
./jboss-cli.sh --connect controller=localhost:9999 /host=master:shutdown

Cheers.



来源:https://stackoverflow.com/questions/12165363/shutdown-jboss-7-as-along-with-host-controller

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!