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 /]