[
https://issues.jboss.org/browse/WFLY-12461?page=com.atlassian.jira.plugin...
]
Florian Sailer commented on WFLY-12461:
---------------------------------------
Hey Jeff,
Thanks for the answer.
I am a bit confused. Looking at the commit messages, it was introduced as a feature to use
smallrye in NON-CDI environment.
{noformat}
[#3] Use SmallRyeHealthReported in non-CDI environment (#4)
* add addHealthCheck & removeHealthCheck method to SmallRyeHealthReporter
to be able to use it in a non-CDI environment.
{noformat}
Thanks for the input, i may fix it on he CXF level, but with major investment and
changes.
Can't use smallrye-health without weld extension
------------------------------------------------
Key: WFLY-12461
URL:
https://issues.jboss.org/browse/WFLY-12461
Project: WildFly
Issue Type: Bug
Components: MP Health
Affects Versions: 17.0.1.Final
Reporter: Florian Sailer
Assignee: Jeff Mesnil
Priority: Major
Since this commit in the smallrye implementation it was possible to use smallrye without
CDI.
https://github.com/smallrye/smallrye-health/commit/a6a7812877d74d2c3f5b29...
I'm trying to migrate from Wildfly 15.0.1-Final to 17.0.1-Final, where the
smallrye-health extension unfortunately needs weld to startup. It's not possbible for
me to activate weld on my sever, because there are some problems using the
org.apache.cxf.jaxrs framework with weld.
I am getting the following exception while starting:
14:16:04,960 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362:
Capabilities required by resource '/subsystem=microprofile-health-smallrye' are
not available:
org.wildfly.weld; There are no known registration points which can provide this
capability.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)