4.3. CLI 嵌入式模式
如果这样做与单机服务器位于同一个机器上,并且您希望在服务器未激活时发出命令,您可以将服务器嵌入到 CLI 中,并在禁止传入的请求的特殊模式下进行更改。要做到这一点,首先使用您要更改的配置文件执行 embed-server
命令。
embed-server
[disconnected /] embed-server --server-config=standalone.xml [standalone@embedded /]
[disconnected /] embed-server --server-config=standalone.xml
[standalone@embedded /]