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

Wildfly 18.0.1 domain mode SmallRye Metrics

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 18.0.0.Final
    • Management
    • None
    • Hide

      PFA  domain.txtfor reference. Master node gets started but slave nodes fails to start with below error:

      2022-12-29 13:15:01     2022-12-29 13:15:00,863 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: WildFly Full 18.0.1.Final (WildFly Core 10.0.3.Final) stopped in 21ms 2022-12-29 13:15:00     2022-12-29 13:15:00,814 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details. 2022-12-29 13:15:00         org.wildfly.management.http.extensible; There are no known registration points which can provide this capability. 2022-12-29 13:15:00     2022-12-29 13:15:00,808 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/subsystem=microprofile-health-smallrye' are not available: 2022-12-29 13:15:00         org.wildfly.management.http.extensible; There are no known registration points which can provide this capability. 2022-12-29 13:15:00     2022-12-29 13:15:00,807 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/subsystem=microprofile-metrics-smallrye' are not available: 2022-12-29 13:14:55     2022-12-29 13:14:50,491 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 39) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation. 2022-12-29 13:14:55     2022-12-29 13:14:50,457 WARN  [org.wildfly.iiop.openjdk] (ServerService Thread Pool -- 21) WFLYIIOP0111: SSL has not been configured but ssl-port property has been specified - the connection will use clear-text protocol 2022-12-29 13:14:55     2022-12-29 13:14:47,705 INFO  [org.wildfly.security] (ServerService Thread Pool -- 2) ELY00001: WildFly Elytron version 1.10.4.Final 2022-12-29 13:14:55     2022-12-29 13:14:47,197 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 5.0.15.Final 2022-12-29 13:14:55     2022-12-29 13:14:47,156 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.7.3.Final 2022-12-29 13:14:55     2022-12-29 13:14:47,149 INFO  [org.xnio] (MSC service thread 1-2) XNIO version 3.7.3.Final  

      Below program should give proper o/p from slave nodes. 

       

      JsonExporter jsonMetricsExporter = new JsonExporter();
      String w_metric = jsonMetricsExporter.exportAllScopes().toString();
      System.out.println("w_metric="+w_metric);placeholder
      
      Show
      PFA   domain.txt for reference. Master node gets started but slave nodes fails to start with below error: 2022-12-29 13:15:01     2022-12-29 13:15:00,863 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: WildFly Full 18.0.1.Final (WildFly Core 10.0.3.Final) stopped in 21ms 2022-12-29 13:15:00     2022-12-29 13:15:00,814 FATAL [org.jboss.as.server] (Controller Boot Thread ) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details. 2022-12-29 13:15:00         org.wildfly.management.http.extensible; There are no known registration points which can provide this capability. 2022-12-29 13:15:00     2022-12-29 13:15:00,808 ERROR [org.jboss.as.controller] (Controller Boot Thread ) WFLYCTL0362: Capabilities required by resource '/subsystem=microprofile-health-smallrye' are not available: 2022-12-29 13:15:00         org.wildfly.management.http.extensible; There are no known registration points which can provide this capability. 2022-12-29 13:15:00     2022-12-29 13:15:00,807 ERROR [org.jboss.as.controller] (Controller Boot Thread ) WFLYCTL0362: Capabilities required by resource '/subsystem=microprofile-metrics-smallrye' are not available: 2022-12-29 13:14:55     2022-12-29 13:14:50,491 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 39) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server= default -server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation. 2022-12-29 13:14:55     2022-12-29 13:14:50,457 WARN  [org.wildfly.iiop.openjdk] (ServerService Thread Pool -- 21) WFLYIIOP0111: SSL has not been configured but ssl-port property has been specified - the connection will use clear-text protocol 2022-12-29 13:14:55     2022-12-29 13:14:47,705 INFO  [org.wildfly.security] (ServerService Thread Pool -- 2) ELY00001: WildFly Elytron version 1.10.4.Final 2022-12-29 13:14:55     2022-12-29 13:14:47,197 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 5.0.15.Final 2022-12-29 13:14:55     2022-12-29 13:14:47,156 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.7.3.Final 2022-12-29 13:14:55     2022-12-29 13:14:47,149 INFO  [org.xnio] (MSC service thread 1-2) XNIO version 3.7.3.Final Below program should give proper o/p from slave nodes.    JsonExporter jsonMetricsExporter = new JsonExporter(); String w_metric = jsonMetricsExporter.exportAllScopes().toString(); System .out.println( "w_metric=" +w_metric);placeholder
    • ---
    • ---

    Description

      Wildfly 18.0.1 domain mode SmallRye Metrics

      We want to extract SmallRye Metrics information from 2 slave nodes attached to the master node of Wildfly.

      We are able to get the same in standalone mode but we are facing issues in domain mode & getting error as below:

       

      2022-12-29 13:15:01    
      2022-12-29 13:15:00,863 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0050: WildFly Full 18.0.1.Final (WildFly Core 10.0.3.Final) stopped in 21ms
      2022-12-29 13:15:00    
      2022-12-29 13:15:00,814 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
      2022-12-29 13:15:00    
          org.wildfly.management.http.extensible; There are no known registration points which can provide this capability.
      2022-12-29 13:15:00    
      2022-12-29 13:15:00,808 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/subsystem=microprofile-health-smallrye' are not available:
      2022-12-29 13:15:00    
          org.wildfly.management.http.extensible; There are no known registration points which can provide this capability.
      2022-12-29 13:15:00    
      2022-12-29 13:15:00,807 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/subsystem=microprofile-metrics-smallrye' are not available:
      2022-12-29 13:14:55    
      2022-12-29 13:14:50,491 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 39) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      2022-12-29 13:14:55    
      2022-12-29 13:14:50,457 WARN  [org.wildfly.iiop.openjdk] (ServerService Thread Pool -- 21) WFLYIIOP0111: SSL has not been configured but ssl-port property has been specified - the connection will use clear-text protocol
      2022-12-29 13:14:55    
      2022-12-29 13:14:47,705 INFO  [org.wildfly.security] (ServerService Thread Pool -- 2) ELY00001: WildFly Elytron version 1.10.4.Final
      2022-12-29 13:14:55    
      2022-12-29 13:14:47,197 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 5.0.15.Final
      2022-12-29 13:14:55    
      2022-12-29 13:14:47,156 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.7.3.Final
      2022-12-29 13:14:55    
      2022-12-29 13:14:47,149 INFO  [org.xnio] (MSC service thread 1-2) XNIO version 3.7.3.Final 

       

      We have configured smallrye metrics subsystem as well as configured management port in domain.xml.

      Attaching   domain.txtfor reference

      Attachments

        Issue Links

          Activity

            People

              jmesnil1@redhat.com Jeff Mesnil
              ameyg7@gmail.com Amey Patil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: