Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1052

Add server-config parameter to :reload op

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Alpha1
    • None
    • Management
    • None

      [13:48] Kabir Khan: @BrianStansberry @JasonGreene $./build/target/wildfly-core-2.0.0.CR7-SNAPSHOT/bin/standalone.sh --server-config=20151013-134726769standalone.xml
 looks for that file in the snapshots directory
      [13:48] Kabir Khan: 
      [standalone@localhost:9990 /] :list-snapshots
      		{
          "outcome" => "success",
          "result" => {
              "directory" => "/Users/kabir/sourcecontrol/wildfly/git/wildfly-core/build/target/wildfly-core-2.0.0.CR7-SNAPSHOT/standalone/configuration/standalone_xml_history/snapshot",
              "names" => [
                  "20151013-134523280standalone.xml",
                  "20151013-134726769standalone.xml"
              ]
          }
      		}
      		Show less
      
      [13:50] Kabir Khan: server-config should probably be a parameter to the :reload operation
      

      Similarly we should add host-config and domain-config parameters to the host's reload operation. Using domain-config on a non-DC host should fail.

      For a domain server, we should not have the server-config parameter.

      We should check the existence of the file before the reload actually is done, or we will end up in a sticky situation.

              kkhan1@redhat.com Kabir Khan
              kkhan1@redhat.com Kabir Khan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: