[jboss-jira] [JBoss JIRA] (WFLY-12461) Can't use smallrye-health without weld extension
Florian Sailer (Jira)
issues at jboss.org
Fri Nov 22 03:48:00 EST 2019
[ https://issues.jboss.org/browse/WFLY-12461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13816478#comment-13816478 ]
Florian Sailer edited comment on WFLY-12461 at 11/22/19 3:47 AM:
-----------------------------------------------------------------
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 the CXF level, but with major investment and changes.
was (Author: flow80):
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/a6a7812877d74d2c3f5b29f77fe12bbcc747f47a#diff-a040cf66063b382bb5c1e2e6aa18f8c5
> 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)
More information about the jboss-jira
mailing list