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

Opentracing fails to load on EAR deployment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 18.0.1.Final
    • MP OpenTracing
    • None
    • Hide

      ear
      bll.jar

      Show
      ear bll.jar

    Description

      wildfly 18, an EAR application (ovirt-engine ), I'm trying to enable opentracing, and failing.

      I added this to our xml:

      ```
      <extension module="org.wildfly.extension.microprofile.opentracing-smallrye"/>
      ...
      <subsystem xmlns="urn:wildfly:microprofile-opentracing-smallrye:1.0"/>
      ```

      Exported Jaeger environment vars:
      ```
      export JAEGER_SERVICE_NAME=ovirt-engine
      export JAEGER_REPORTER_LOG_SPANS=true
      export JAEGER_SAMPLER_TYPE=const
      export JAEGER_SAMPLER_PARAM=1
      ```

      And debugged the `TracerProducer` which throws:
      ```
      "Method threw 'org.jboss.weld.exceptions.IllegalStateException' exception. Cannot evaluate org.jboss.weldx.servlet.ServletContext$$Proxy$_$$_WeldClientProxy.toString()"
      ```

      The deployment structure is:

      engine.ear
      • bll.jar EJB and CDI beans
      • lib/vdsbroker CDI
      restapi.war JAXRS , also CDI beans
      Jboss-Modules
      common.jar
      utils.jar
      dal.jar CDI

      Attachments

        Activity

          People

            ehugonne1@redhat.com Emmanuel Hugonnet
            rgolan1@redhat.com Roy Golan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: