[
https://issues.jboss.org/browse/WFCORE-1052?page=com.atlassian.jira.plugi...
]
Kabir Khan commented on WFCORE-1052:
------------------------------------
It should be the same as the --server-config command line option, i.e.
https://docs.jboss.org/author/display/WFLY10/Command+line+parameters. I *believe* that we
turned off the possibility to use absolute paths a long time ago due to the task of
keeping the history directory up to date.
The --server-config command line option is mentioned at the end of
https://docs.jboss.org/author/display/WFLY10/Configuration+file+history, and in
https://docs.jboss.org/author/display/WFLY10/Command+line+parameters.
I could probably append onto the end of the operation parameter something like "This
parameter will be resolved the same as the --server-config command line option used when
starting the server"
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
Fix For: 3.0.0.Alpha1
{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 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
{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 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.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)