Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6201

Servlet feature pack domain template missing other-server-group

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 10.1.0.CR1, 10.1.0.Final
    • 10.0.0.Final
    • None
    • None
    • Hide

      Launch the embedded host controller in CLI:

      ${JBOSS_HOME}/bin/jboss-cli.sh
      You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
      [disconnected /] embed-host-controller
      [domain@embedded /] /server-group=other-server-group:add(socket-binding-group=standard-sockets, profile=default)
      {
          "outcome" => "success",
          "result" => undefined,
          "server-groups" => undefined
      }
      [domain@embedded /] stop-embedded-host-controller
      

      If using with the wildfly-maven-plugin the following configuration will fix it. Note this only works with version 1.1.0.Alpha6 of the plugin

      <!-- Workaround for WFLY-6201 to allow tests to run with the servlet container only -->
      <plugin>
          <groupId>org.wildfly.plugins</groupId>
          <artifactId>wildfly-maven-plugin</artifactId>
          <executions>
              <execution>
                  <id>fix-servlet</id>
                  <phase>test-compile</phase>
                  <goals>
                      <goal>start</goal>
                      <goal>execute-commands</goal>
                      <goal>shutdown</goal>
                  </goals>
                  <configuration>
                      <server-type>DOMAIN</server-type>
                      <jboss-home>${jboss.home}</jboss-home>
                      <server-args>
                          <server-arg>--admin-only</server-arg>
                      </server-args>
                      <stdout>${project.build.testOutputDirectory}${file.separator}admin-only-config.log</stdout>
                      <execute-commands>
                          <fail-on-error>false</fail-on-error>
                          <commands>
                              <command>/server-group=other-server-group:add(socket-binding-group=standard-sockets, profile=default)</command>
                          </commands>
                      </execute-commands>
                  </configuration>
              </execution>
          </executions>
      </plugin>
      
      Show
      Launch the embedded host controller in CLI: ${JBOSS_HOME}/bin/jboss-cli.sh You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands. [disconnected /] embed-host-controller [domain@embedded /] /server-group=other-server-group:add(socket-binding-group=standard-sockets, profile= default ) { "outcome" => "success" , "result" => undefined, "server-groups" => undefined } [domain@embedded /] stop-embedded-host-controller If using with the wildfly-maven-plugin the following configuration will fix it. Note this only works with version 1.1.0.Alpha6 of the plugin <!-- Workaround for WFLY-6201 to allow tests to run with the servlet container only --> <plugin> <groupId> org.wildfly.plugins </groupId> <artifactId> wildfly-maven-plugin </artifactId> <executions> <execution> <id> fix-servlet </id> <phase> test-compile </phase> <goals> <goal> start </goal> <goal> execute-commands </goal> <goal> shutdown </goal> </goals> <configuration> <server-type> DOMAIN </server-type> <jboss-home> ${jboss.home} </jboss-home> <server-args> <server-arg> --admin-only </server-arg> </server-args> <stdout> ${project.build.testOutputDirectory}${file.separator}admin-only-config.log </stdout> <execute-commands> <fail-on-error> false </fail-on-error> <commands> <command> /server-group=other-server-group:add(socket-binding-group=standard-sockets, profile=default) </command> </commands> </execute-commands> </configuration> </execution> </executions> </plugin>

    Description

      The current domain template from the servlet-feature-pack is missing the other-server-group configuration causing a failure to boot.

      [Host Controller] 09:58:51,179 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0369: Required capabilities are not available:
      [Host Controller]     org.wildfly.domain.server-group.other-server-group in context 'server-config'; There are no known registration points which can provide this capability.
      [Host Controller] 09:58:51,181 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0034: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.
      

      Attachments

        Issue Links

          Activity

            People

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: