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

Using Fault Tolerance in WildFly 22 causes WELD-001408

    XMLWordPrintable

Details

    • ---
    • ---

    Description

      In wildfly 21, I used to put these lines into the standalone-full-ha.xml:

      <extension module="org.wildfly.extension.microprofile.fault-tolerance-smallrye"/>
      ...
      <subsystem xmlns="urn:wildfly:microprofile-fault-tolerance-smallrye:1.0"/>

      If I put those lines into the standalone-full-ha.xml of Wildfly 22 I get the following error when deploying an appliction that uses fault-tolerance:

      WELD-001408: Unsatisfied dependencies for type MetricRegistry with qualifiers @Default
      @Inject io.smallrye.faulttolerance.metrics.MetricsCollectorFactory.registry

       

      I already have these lines in the standalone:

      <extension module="org.wildfly.extension.metrics"/>
      <extension module="org.wildfly.extension.health"/>

       

      Is there something else I need to add in the standalone in order to keep using fault-tolerance in Wildfly 22?

       

       

       

       

      Attachments

        Activity

          People

            jaslee@redhat.com Jason Lee
            lape705 sdfsd fsdfsdf (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: