[jboss-jira] [JBoss JIRA] (WFLY-6201) Servlet feature pack domain template missing other-server-group

James Perkins (JIRA) issues at jboss.org
Mon Feb 15 11:52:00 EST 2016


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

James Perkins updated WFLY-6201:
--------------------------------
    Workaround Description: 
Launch the embedded host controller in CLI:
{code}
${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 at embedded /] /server-group=other-server-group:add(socket-binding-group=standard-sockets, profile=default)
{
    "outcome" => "success",
    "result" => undefined,
    "server-groups" => undefined
}
[domain at embedded /] stop-embedded-host-controller
{code}



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
{code:xml}
<!-- 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>
{code}


> Servlet feature pack domain template missing other-server-group
> ---------------------------------------------------------------
>
>                 Key: WFLY-6201
>                 URL: https://issues.jboss.org/browse/WFLY-6201
>             Project: WildFly
>          Issue Type: Bug
>    Affects Versions: 10.0.0.Final
>            Reporter: James Perkins
>            Assignee: James Perkins
>             Fix For: 10.1.0.Final
>
>
> The current domain template from the servlet-feature-pack is missing the {{other-server-group}} configuration causing a failure to boot.
> {code}
> [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.
> {code}



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


More information about the jboss-jira mailing list