[jboss-jira] [JBoss JIRA] (WFLY-2973) Undertow HostAdd requires http-management interface for standalone server

Brian Stansberry (JIRA) issues at jboss.org
Wed Feb 19 20:35:48 EST 2014


Brian Stansberry created WFLY-2973:
--------------------------------------

             Summary: Undertow HostAdd requires http-management interface for standalone server
                 Key: WFLY-2973
                 URL: https://issues.jboss.org/browse/WFLY-2973
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Domain Management, Web (Undertow)
    Affects Versions: 8.0.0.Final
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry


HostAdd has this:

{code}
        if (context.getProcessType() == ProcessType.STANDALONE_SERVER) {
            final ConsoleRedirectService redirectService = new ConsoleRedirectService();
            final ServiceBuilder<ConsoleRedirectService> redirectBuilder = context.getServiceTarget().addService(consoleRedirectName, redirectService)
                    .addDependency(UndertowHttpManagementService.SERVICE_NAME, HttpManagement.class, redirectService.getHttpManagementInjector())
                    .addDependency(virtualHostServiceName, Host.class, redirectService.getHostInjector())
                    .setInitialMode(Mode.PASSIVE);
            consoleServiceServiceController = redirectBuilder.install();
        }
{code}

This means a host can't be added if UndertowHttpManagementService isn't installed, and it won't be installed if only the native-interface is configured.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list