[jboss-jira] [JBoss JIRA] (WFCORE-939) Embedded host controller should set launch type attribute to EMBEDDED

James Perkins (JIRA) issues at jboss.org
Fri Sep 18 12:41:01 EDT 2015


     [ https://issues.jboss.org/browse/WFCORE-939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins reassigned WFCORE-939:
------------------------------------

    Assignee: James Perkins  (was: Ken Wills)


> Embedded host controller should set launch 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
>            Reporter: Petr Kremensky
>            Assignee: James Perkins
>             Fix For: 2.0.0.CR2
>
>
> *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}



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


More information about the jboss-jira mailing list