[jboss-jira] [JBoss JIRA] (WFLY-11962) Unable to start wildfly in domain mode when metrics and health extensions are enabled

Brian Stansberry (Jira) issues at jboss.org
Tue Apr 9 10:46:01 EDT 2019


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

Brian Stansberry resolved WFLY-11962.
-------------------------------------
    Resolution: Rejected


These extensions are not supported in a managed domain. They expose data over the management interface and in a domain mode server that is not directly accessible to any caller other than the Host Controller that manages the server.

[~jmesnil] I don't see this noted in the community docs for these subsystems (https://docs.wildfly.org/16/Admin_Guide.html#MicroProfile_Health_SmallRye) or in the proposal docs. I remember it being discussed but it looks like text didn't get in the final documents.

> Unable to start wildfly in domain mode when metrics and health extensions are enabled
> -------------------------------------------------------------------------------------
>
>                 Key: WFLY-11962
>                 URL: https://issues.jboss.org/browse/WFLY-11962
>             Project: WildFly
>          Issue Type: Bug
>    Affects Versions: 16.0.0.Final
>            Reporter: Vlasta Ramik
>            Assignee: Brian Stansberry
>            Priority: Major
>
> When WF is started in domain mode as described in steps to reproduce there is following in console {noformat}
> [Host Controller] 09:10:13,260 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0023: Starting server server-one
> 09:10:13,396 INFO  [org.jboss.as.process.Server:server-one.status] (ProcessController-threads - 3) WFLYPC0018: Starting process 'Server:server-one'
> [Host Controller] 09:10:14,876 INFO  [org.jboss.as.host.controller] (management task-1) WFLYHC0021: Server [Server:server-one] connected using connection [Channel ID 24b9374c (inbound) of Remoting connection 408c47e7 to localhost/127.0.0.1:38776 of endpoint "master:MANAGEMENT" <a16e023>]
> [Host Controller] 09:10:14,906 INFO  [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0023: Starting server server-two
> [Host Controller] 09:10:14,921 INFO  [org.jboss.as.host.controller] (server-registration-threads - 1) WFLYHC0020: Registering server server-one
> 09:10:15,031 INFO  [org.jboss.as.process.Server:server-two.status] (ProcessController-threads - 3) WFLYPC0018: Starting process 'Server:server-two'
> 09:10:16,854 INFO  [org.jboss.as.process.Server:server-one.status] (reaper for Server:server-one) WFLYPC0011: Process 'Server:server-one' finished with an exit status of 1
> [Host Controller] 09:10:16,896 INFO  [org.jboss.as.host.controller] (ProcessControllerConnection-thread - 2) WFLYHC0027: Unregistering server server-one
> [Host Controller] 09:10:17,172 INFO  [org.jboss.as.host.controller] (management task-1) WFLYHC0021: Server [Server:server-two] connected using connection [Channel ID 3d4db366 (inbound) of Remoting connection 382df477 to localhost/127.0.0.1:38794 of endpoint "master:MANAGEMENT" <a16e023>]
> [Host Controller] 09:10:17,207 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0062: Http management interface listening on http://127.0.0.1:9990/management and https://127.0.0.1:-1/management
> [Host Controller] 09:10:17,208 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0053: Admin console listening on http://127.0.0.1:9990 and https://127.0.0.1:-1
> [Host Controller] 09:10:17,212 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 16.0.0.Final (WildFly Core 8.0.0.Final) (Host Controller) started in 6589ms - Started 79 of 81 services (23 services are lazy, passive or on-demand)
> [Host Controller] 09:10:17,232 INFO  [org.jboss.as.host.controller] (server-registration-threads - 1) WFLYHC0020: Registering server server-two
> 09:10:18,663 INFO  [org.jboss.as.process.Server:server-two.status] (reaper for Server:server-two) WFLYPC0011: Process 'Server:server-two' finished with an exit status of 1
> [Host Controller] 09:10:18,665 INFO  [org.jboss.as.host.controller] (ProcessControllerConnection-thread - 2) WFLYHC0027: Unregistering server server-two
> {noformat}
> and there is following in domain/servers/server-one/log/server.log {noformat}2019-04-09 09:04:52,385 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/subsystem=microprofile-health-smallrye' are not available:
>     org.wildfly.management.http.extensible; There are no known registration points which can provide this capability.
> 2019-04-09 09:04:52,386 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/subsystem=microprofile-metrics-smallrye' are not available:
>     org.wildfly.management.http.extensible; There are no known registration points which can provide this capability.
> 2019-04-09 09:04:52,389 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
> 2019-04-09 09:04:52,420 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: WildFly Full 16.0.0.Final (WildFly Core 8.0.0.Final) stopped in 18ms{noformat}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list