[jboss-jira] [JBoss JIRA] (WFCORE-1052) Add server-config parameter to :reload op

Kabir Khan (JIRA) issues at jboss.org
Tue Oct 13 07:56:00 EDT 2015


Kabir Khan created WFCORE-1052:
----------------------------------

             Summary: Add server-config parameter to :reload op
                 Key: WFCORE-1052
                 URL: https://issues.jboss.org/browse/WFCORE-1052
             Project: WildFly Core
          Issue Type: Feature Request
          Components: Domain Management
            Reporter: Kabir Khan
            Assignee: Kabir Khan


{code}
[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 director
		y
[13:48] Kabir Khan: 
[standalone at 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
{code}

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 standalone 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.




--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list