[
https://issues.redhat.com/browse/WFLY-14298?page=com.atlassian.jira.plugi...
]
Jason Lee commented on WFLY-14298:
----------------------------------
[~psonpson2] Does your config have something like this in it as well?
{code:java}
<subsystem xmlns="urn:wildfly:metrics:1.0" security-enabled="false"
exposed-subsystems="*"
prefix="${wildfly.metrics.prefix:wildfly}"/>
{code}
That aside, I tested your config changes on WildFly master (WF 23), and the server started
without complaint.
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?
--
This message was sent by Atlassian Jira
(v8.13.1#813001)