如何在JBoss standalone.xml中添加注释?

如何在JBoss standalone.xml中添加注释?,jboss,wildfly,Jboss,Wildfly,我正在使用JBoss EAP。我想在standalone.xml中添加注释 如何做到这一点 它与xml中的类似吗 <!-- <subsystem xmlns="urn:jboss:domain:remoting:1.2"> <connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/> </subsystem> -->

我正在使用JBoss EAP。我想在standalone.xml中添加注释

如何做到这一点

它与xml中的类似吗

<!--
<subsystem xmlns="urn:jboss:domain:remoting:1.2">
<connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>
</subsystem>
-->

没有办法做到这一点。当您使用管理API进行更改时,
standalone.xml
文件将被服务器覆盖。建议您通过web控制台、CLI或其他管理API进行更改