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

Can't use smallrye-health without weld extension

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 17.0.1.Final
    • MP Health
    • None
    • Hide

      Use
      <extension module="org.wildfly.extension.microprofile.health-smallrye"/>
      without
      <extension module="org.jboss.as.weld"/>

      Show
      Use <extension module="org.wildfly.extension.microprofile.health-smallrye"/> without <extension module="org.jboss.as.weld"/>

    Description

      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.

      Attachments

        Activity

          People

            mstefank Martin Stefanko
            flow80 Florian Sailer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: