[jboss-jira] [JBoss JIRA] (WFLY-13076) Opentracing fails to load on EAR deployment

Roy Golan (Jira) issues at jboss.org
Tue Feb 11 06:28:00 EST 2020


    [ https://issues.redhat.com/browse/WFLY-13076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968651#comment-13968651 ] 

Roy Golan commented on WFLY-13076:
----------------------------------

According to the docs each WAR has its own tracer, so maybe that's the reason my restapi.jar isn't traced by default. 

> Opentracing fails to load on EAR deployment
> -------------------------------------------
>
>                 Key: WFLY-13076
>                 URL: https://issues.redhat.com/browse/WFLY-13076
>             Project: WildFly
>          Issue Type: Bug
>          Components: MP OpenTracing
>    Affects Versions: 18.0.1.Final
>            Reporter: Roy Golan
>            Assignee: Emmanuel Hugonnet
>            Priority: Major
>
> 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 
>   



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list