]
Petr Kremensky moved JBEAP-951 to WFCORE-939:
---------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-939 (was: JBEAP-951)
Workflow: GIT Pull Request workflow (was: CDW v1)
Component/s: CLI
Domain Management
(was: CLI)
(was: Domain Management)
Target Release: (was: 7.0.0.GA)
Affects Version/s: 2.0.0.Beta4
(was: 7.0.0.DR9)
Embedded host controller should set lunch type attribute to EMBEDDED
--------------------------------------------------------------------
Key: WFCORE-939
URL:
https://issues.jboss.org/browse/WFCORE-939
Project: WildFly Core
Issue Type: Bug
Components: CLI, Domain Management
Affects Versions: 2.0.0.Beta4
Environment: *DomainRootDefinition.java* always set launch type to {noformat}new
LaunchTypeHandler(ServerEnvironment.LaunchType.DOMAIN){noformat} even if the host
controller process is embedded.
Looking into the LaunchType class, I believe that EMBEDDED value should be used.
{noformat}
/** The manner in which a server can be launched */
public static enum LaunchType {
/** Launched by a Host Controller in a managed domain */
DOMAIN(ProcessType.DOMAIN_SERVER),
/** Launched from the command line */
STANDALONE(ProcessType.STANDALONE_SERVER),
/** Launched by another process in which the server is embedded */
EMBEDDED(ProcessType.EMBEDDED_SERVER),
...
{noformat}
\\
*Additional info:*
{noformat}./standalone.sh
launch-type STANDALONE
{noformat}
{noformat}./domain.sh
launch-type DOMAIN
{noformat}
{noformat}[disconnected /] embed-server
launch-type EMBEDDED
{noformat}
{noformat}[disconnected /] embed-host-controller
launch-type DOMAIN
{noformat}
Reporter: Petr Kremensky
Assignee: Ken Wills