[
https://issues.apache.org/jira/browse/CXF-7792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16561568#comment-16561568
]
bambus edited comment on CXF-7792 at 7/30/18 7:43 AM:
------------------------------------------------------
I have tried with this: final Sender sender =
LibthriftSender.create("my-ip-address"); and It is not working.
I have add the port too, but its same.
Also, I have put the zipkin-jar on the same machine as the bundle and still
nothing...
I have tried to change the sender with Http sender and URLConnectionSender, but
for both of them I`ve got problem with installing it:
{code:java}
install -s mvn:io.zipkin.reporter2/zipkin-sender-urlconnection/1.1.2
or
install -s mvn:io.zipkin.reporter2/zipkin-sender-okhttp3/1.1.2
{code}
For both of them I`ve got:
{code:java}
Error executing command: Error installing bundles:
Unable to install bundle
mvn:io.zipkin.reporter2/zipkin-sender-urlconnection/1.1.2
{code}
was (Author: bambus):
I have tried with this: final Sender sender =
LibthriftSender.create("my-ip-address"); and It is not working.
I have add the port too, but its same.
Also, I have put the zipkin-jar on the same machine as the bundle and still
nothing...
> Distributed Tracing with OpenZipkin Brave and OSGi
> --------------------------------------------------
>
> Key: CXF-7792
> URL: https://issues.apache.org/jira/browse/CXF-7792
> Project: CXF
> Issue Type: Wish
> Components: Tracing Brave
> Affects Versions: 3.2.5
> Reporter: bambus
> Priority: Critical
> Attachments: image-2018-07-25-09-01-33-506.png,
> jaxws_tracing_brave_osgi.zip
>
>
> I have followed your example and brave example for implementing brave in cxf
> based application. After I added brave I could not package it like bundle. I
> always get different errors. Error like: Caused by:
> java.lang.NoClassDefFoundError: zipkin/reporter/Reporter
> Another one: Caused by: java.lang.ClassCastException: Cannot cast
> org.apache.cxf.service.factory.FactoryBeanListenerManager to
> org.apache.cxf.service.factory.FactoryBeanListenerManager
> I am using Service Mix 7.0.1 with Karaf 4.0.9.
> Can you help me how to pack it like as a bundle.
> In this example that thing is missing:
>
> [https://cwiki.apache.org/confluence/display/CXF20DOC/Using+OpenZipkin+Brave#UsingOpenZipkinBrave-SpringXML-Configuration]
> I have configured the blueprint like in the example.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)