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