简体   繁体   English

永久更改WildFly 10配置(standalone.xml)

[英]Permanent changes to WildFly 10 configuration (standalone.xml)

How can I make these two Wildfly 10 configuration changes permanent? 如何使这两个Wildfly 10配置更改永久生效?

  • max-parameters="4000" max-parameters =“ 4000”
  • <access-log /> <access-log />

If I write them to standalone.xml and restart Wildfly, they disappear. 如果我将它们写入standalone.xml并重新启动Wildfly,它们将消失。

<subsystem xmlns="urn:jboss:domain:undertow:3.1">
  <buffer-cache name="default"/>
  <server name="default-server">
    <http-listener name="default" socket-binding="http" redirect-socket="https" max-parameters="4000" />
    <host name="default-host" alias="localhost">
      <location name="/" handler="welcome-content"/>
      <access-log/>
      <filter-ref name="server-header"/>
      <filter-ref name="x-powered-by-header"/>
    </host>
  </server>
...

Harri 哈里

在手动编辑standalone.xml之前,请先关闭服务器,或者如果要动态设置服务器,请使用命令行控制台对其进行编辑。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Wildfly 8.1-设置系统属性而不使用standalone.xml - Wildfly 8.1 - set system property without standalone.xml 将standalone.xml从Wildfly 8.1迁移到JBOSS EAP 6 - Migrating standalone.xml from Wildfly 8.1 to JBOSS EAP 6 如何在Wildfly的standalone.xml配置文件中引用环境变量? - How do I reference environment variables in Wildfly's standalone.xml config file? 如何通过wildfly 10 standalone-full.xml限制ejb mdb(messsage驱动的bean)实例 - How to restrict the ejb mdb(messsage driven beans) instances via wildfly 10 standalone-full.xml 如何在 jboss eap 6.2 应用程序中在运行时动态读取 standalone.xml 文件? - how to read standalone.xml file dynamically at runtime in jboss eap 6.2 application? JBOSS在standalone.xml中设置http.proxyHost和http.proxyPort - JBOSS Setting http.proxyHost and http.proxyPort in standalone.xml 如何在 jboss 的 standalone.xml 中的属性名称中使用环境变量? - How do I use environment variables in an attribute name in jboss' standalone.xml? Wildfly 10 CLI安全域配置 - Wildfly 10 CLI security domain configuration 如何使用Docker在Wildfly中将变量作为属性传递给xml配置文件 - How to pass variable as attribute to xml configuration file in Wildfly with Docker 由于不合理的配置异常,运行Wildfly-17 Standalone失败 - running Wildfly-17 standalone failed to run due to unreasonable configuration exception
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM