0 Replies Latest reply on Feb 4, 2018 8:38 AM by arkadyz

    Wildfly 11: Correct CLI to update parameter of "http-connector"

    arkadyz

      I am working with Wildfly 11 and has following in standalone.xml:

       

              <subsystem xmlns="urn:jboss:domain:messaging-activemq:2.0">

                     <server name="default">

                               ...........

                              <http-connector name="http-connector" socket-binding="https" endpoint="http-acceptor">

                                      <param name="ssl-enabled" value="true" />

                                       ..........................

                              </http-connector>

       

      I want to update value of parameter "ssl-enabled".

       

      Trying following command from my Windows batch file:

       

      call jboss-cli.bat --connect --commands=/subsystem=messaging-activemq/server=default/http-connector=http-connector/param=ssl-enabled:write-attribute(name=value,value=%SSL_ENABLED%)

       

      The response is:

       

      Failed to get the list of the operation properties: "WFLYCTL0030: No resource definition is registered for address [

          ("subsystem" => "messaging-activemq"),

          ("server" => "default"),

          ("http-connector" => "http-connector"),

          ("param" => "ssl-enabled")

       

      How to write the command correctly ?

       

      Thank you,

      Arkady