]
Brian Stansberry reassigned WFLY-14298:
---------------------------------------
Component/s: MP Fault Tolerance
MP Metrics
(was: EE)
Assignee: Jason Lee (was: Brian Stansberry)
Using fault-tolerance in Wildfly 22 causes WELD-001408
------------------------------------------------------
Key: WFLY-14298
URL:
https://issues.redhat.com/browse/WFLY-14298
Project: WildFly
Issue Type: Bug
Components: MP Fault Tolerance, MP Metrics
Affects Versions: 22.0.0.Final
Reporter: sdfsd fsdfsdf
Assignee: Jason Lee
Priority: Major
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?