servicemix-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SM-3763) Changing the version of cxf because of using Brave
Date Fri, 01 Feb 2019 10:15:00 GMT

    [ https://issues.apache.org/jira/browse/SM-3763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16758171#comment-16758171
] 

Jean-Baptiste Onofré commented on SM-3763:
------------------------------------------

What you can try to update the CXF version "embedded" in ServiceMix:

1. Update {{etc/org.apache.karaf.features.cfg}} file. You have to update the {{featuresRepositories}}
property. Currently it contains {{mvn:org.apache.cxf.karaf/apache-cxf/3.1.9/xml/features}},
you can replace with {{mvn:org.apache.cxf.karaf/apache-cxf/3.1.12/xml/features}}.
2. Update {{etc/profiles.cfg}} file.  You will find a line {{repository.mvn\:org.apache.cxf.karaf/apache-cxf/3.1.9/xml/features
= mvn:org.apache.cxf.karaf/apache-cxf/3.1.9/xml/features}}. You can replace with {{repository.mvn\:org.apache.cxf.karaf/apache-cxf/3.1.12/xml/features
= mvn:org.apache.cxf.karaf/apache-
cxf/3.1.12/xml/features}}.

If you have a Internet access, ServiceMix will download the updated version from Maven Central.
If you don't have Internet access, you have to update {{system}} folder (which is a Maven
repository).

> Changing the version of cxf because of using Brave
> --------------------------------------------------
>
>                 Key: SM-3763
>                 URL: https://issues.apache.org/jira/browse/SM-3763
>             Project: ServiceMix
>          Issue Type: Wish
>          Components: servicemix-assembly
>    Affects Versions: 7.0.1
>            Reporter: bambus
>            Assignee: Jean-Baptiste Onofré
>            Priority: Blocker
>             Fix For: 7.0.2
>
>
> Hello guys,
> I have implemented tracing with Brave in my Java application. I want to package it as
a bundle but after deploying on Service Mix I have a lot of errors. The main problem is that
Service Mix 7.0.1 is using cxf 3.1.9 and Brave is implemented after cxf 3.1.12 version. So
now I want to change my cxf version so I could make that work. 
> Is there any way to change the cxf version?
> I have tried to manually remove everything in: /opt/apache-servicemix-7.0.1/system/org/apache/cxf
that has version 3.1.9 and added a new with 3.2.5 version.
> But when I go feature:list everything from cxf is again with 3.1.9 version.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message