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

Web management console reports 500 error while domain host controller is in bootup

XMLWordPrintable

    • Hide

      0) Use EAP 7.1.4 (7.1.5 should reproduce too), all out-of-box configuration: domain.xml host-master.xml and host-slave.xml
      1) Setup domain master, setup 2 slave hosts, each host has 10(or more) server instances, name these server instances appropriately and setup with appropriate port offset, all server instances marked as auto-start=true.
      2) start master node
      3) start all slave hosts at same time
      4) refresh domain master's web management console "http://master:9990"

      Show
      0) Use EAP 7.1.4 (7.1.5 should reproduce too), all out-of-box configuration: domain.xml host-master.xml and host-slave.xml 1) Setup domain master, setup 2 slave hosts, each host has 10(or more) server instances, name these server instances appropriately and setup with appropriate port offset, all server instances marked as auto-start=true. 2) start master node 3) start all slave hosts at same time 4) refresh domain master's web management console "http://master:9990"

      ​In EAP 7.1 domain setup, web management console executes the op `:read-children-resources(child-type=host)` when it starts. A host controller triggers ​managed server instances startup sequentially (​SERVER_STOPPED to SERVER_STARTING) which may take some very long time for host controller to finish boot process (when there are dozens of managed server instances). And in this case `:read-children-resources(child-type=host)` operation could fail with 500 error when using web management console on domain master node. Resulting in the web console becomes un-usable for long time.

      The operation `:read-children-resources(child-type=host)` needs a fix to avoid 500 error.

      The web management console should start up as soon as the domain controller (master node) is available. Hosts and servers in the topology view should show up as soon as they're available.

            yborgess1@redhat.com Yeray Borges Santana
            yborgess1@redhat.com Yeray Borges Santana
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: