[
https://issues.jboss.org/browse/WFCORE-297?page=com.atlassian.jira.plugin...
]
Brian Stansberry commented on WFCORE-297:
-----------------------------------------
Unfortunately the proposed approach will make starting/stopping servers unavailable to the
Operator role when RBAC is enabled. This is because these ops will now need to modify
persistent configuration (the auto-start attribute) and an Operator will not be allowed to
do that.
Even if the 'set-auto-start-on-start-stop' flag were false and the actual
modification is unnecessary, the metadata describing these ops will now need to describe
them as r-w, with the result that the data we provide to tools (i.e. web console) stating
whether the op is available to a role will say the ops are not available to Operator. With
the likely effect that the tools will no longer offer them.
HC should remember the 'run' state of the server instances
after crash or shutdown
----------------------------------------------------------------------------------
Key: WFCORE-297
URL:
https://issues.jboss.org/browse/WFCORE-297
Project: WildFly Core
Issue Type: Feature Request
Components: Domain Management
Reporter: Wolf-Dieter Fink
Assignee: Emmanuel Hugonnet
Labels: EAP, todo
The host controller should save which server is currently up and running. This would
allow the host controller to bring up all previously running instances on a restart.
The idea is to support the same behavior that other application server (i.e WebLogic)
supports.
If a server is started or stopped during the lifetime of the DC/HC it should be in the
same state after shutdown the DC/HC or a system crash.
This can be achieved by an optional flag 'set-auto-start-on-start-stop' where the
default is false which is the current behaviour.
If set to true, a start of the server instance will set auto-start=true and a stop
auto-start=false.
If the server should not be started after a crash for any reason, this can be simple done
by setting auto-start=false within the configuration, after starting the server the flag
will be set b/c of the 'set-auto-start-on-start-stop' flag.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)