Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-939

Embedded host controller should set launch type attribute to EMBEDDED

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.0.CR2
    • 2.0.0.Beta4
    • CLI, Management
    • None

    Description

      DomainRootDefinition.java always set launch type to

      new LaunchTypeHandler(ServerEnvironment.LaunchType.DOMAIN)

      even if the host controller process is embedded.

      Looking into the LaunchType class, I believe that EMBEDDED value should be used.

          /** 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),
      ...
      


      Additional info:

      ./standalone.sh
      launch-type              STANDALONE
      
      ./domain.sh
      launch-type              DOMAIN
      
      [disconnected /] embed-server 
      launch-type              EMBEDDED
      
      [disconnected /] embed-host-controller
      launch-type              DOMAIN
      

      Attachments

        Issue Links

          Activity

            People

              jperkins-rhn James Perkins
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: