Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7870

JAXRSUtils referenced in AbstractBraveClientProvider

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.6
    • Fix Version/s: 3.2.7, 3.1.18, 3.3.0
    • Component/s: Tracing Brave
    • Labels:
      None

      Description

      Hello, 

      We are using cxf for its web service (WS) components (not RS), along with brave tracing, i.e., 

      cxf-rt-frontend-jaxws

      cxf-rt-transports-http

      cxf-core

      cxf-rt-ws-policy . and

      cxf-integration-tracing-brave.

      When the call stack references AbstractBraveClientProvider (from  an instantiation of BraveClientFeature, which is used on the WS side), a "java.lang.NoClassDefFoundError" error is thrown because of a missing  org/apache/cxf/jaxrs/utils/JAXRSUtils.  

      If we include a jar that has JAXRSUtils, then we run into a bunch of catch 22 situations with the whole RS side of things.  Did you really intend to include JAXRSUtils in the AbstractBraveClientProvider class?  From the documentation, it looks like BraveClientFeature is only to be used on the WS side, and not the RS side, unless I'm missing something.

      http://cxf.apache.org/docs/using-openzipkin-brave.html

       

      Thanks

       

       

        Attachments

          Activity

            People

            • Assignee:
              reta Andriy Redko
              Reporter:
              sarasota7 sarasota7
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: