]
Brian Stansberry reassigned WFCORE-297:
---------------------------------------
Assignee: Emmanuel Hugonnet (was: Brian Stansberry)
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.