Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-02 Thread Jean-Baptiste Onofré
Hi, I disagree, any component can run in Karaf. The problem is that some component headers are not optimal. For instance, it makes sense to have more deps as private package. I gonna fix this component and do a pass on Camel 3.x. Regards JB On 02/10/2019 17:19, Claus Ibsen wrote: > Not every 3

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-02 Thread Andrea Cosentino
I'm not completely sure, I'd like to check. Il giorno mer 2 ott 2019 alle ore 17:20 Claus Ibsen ha scritto: > Not every 3rd party library is possible to run in OSGi. > If there is the case for this component then we should remove it from > camel karaf. > > > On Wed, Oct 2, 2019 at 4:02 PM David

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-02 Thread Claus Ibsen
Not every 3rd party library is possible to run in OSGi. If there is the case for this component then we should remove it from camel karaf. On Wed, Oct 2, 2019 at 4:02 PM David Ecker wrote: > > Yes, but installing wrap:mvn:com.squareup.moshi/moshi/1.5.0 didn't help > at all. > > The class Moshi$B

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-02 Thread David Ecker
Yes, but installing wrap:mvn:com.squareup.moshi/moshi/1.5.0 didn't help at all. The class Moshi$Builder is even showing up in karaf using "classes" but it won't get used. The error message doesn't change. I linked a KARAF Ticket to the CAMEL Ticket. The error, even if it is decanter based, see

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-02 Thread Andrea Cosentino
Did you find the time to test with only Moshi dep? -- Andrea Cosentino  -- Apache Camel PMC Chair Apache Karaf Committer Apache Servicemix PMC Member Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd On Tuesday, October 1, 2019, 5:10:38 PM GMT+2, A

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-01 Thread Andrea Cosentino
maybe the missing part is com.squareup.moshi/moshi I'll test it soon Il giorno mar 1 ott 2019 alle ore 17:05 David Ecker ha scritto: > Mmh, still the same. > > Reinstalled converter-moshi as 2.4.0 and called "refresh" to recalculate > bindings afterwards > > bye > David > > On 10/1/19 4:44 PM,

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-01 Thread David Ecker
Mmh, still the same. Reinstalled converter-moshi as 2.4.0 and called "refresh" to recalculate bindings afterwards bye David On 10/1/19 4:44 PM, Andrea Cosentino wrote: The converter-moshi in the retrofit bundle has optional resolution.. Il giorno mar 1 ott 2019 alle ore 16:41 Andrea Cosen

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-01 Thread Andrea Cosentino
Yes, I mean that, but I believe you need to use 2.4.0, still need to try Il giorno mar 1 ott 2019 alle ore 16:40 David Ecker ha scritto: > Hi Andrea, > > I guessed you mean installing the converter-moshi as > wrap:mvn:com.squareup.retrofit2/converter-moshi/2.6.2 > > Still getting the same error,

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-01 Thread Andrea Cosentino
The converter-moshi in the retrofit bundle has optional resolution.. Il giorno mar 1 ott 2019 alle ore 16:41 Andrea Cosentino ha scritto: > Yes, I mean that, but I believe you need to use 2.4.0, still need to try > > Il giorno mar 1 ott 2019 alle ore 16:40 David Ecker < > da...@ecker-software.

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-01 Thread David Ecker
Hi Andrea, I guessed you mean installing the converter-moshi as wrap:mvn:com.squareup.retrofit2/converter-moshi/2.6.2 Still getting the same error, missing moshi$Builder class. Or did you mean something else? Thanks, David On 10/1/19 4:25 PM, Andrea Cosentino wrote: Thanks for reporting.

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-01 Thread Andrea Cosentino
Thanks for reporting. For the moment we can wrap the converter-moshi, then we'll need to release a bundle for it. Il giorno mar 1 ott 2019 alle ore 16:25 David Ecker ha scritto: > Thanks, > > I opened the ticket : https://issues.apache.org/jira/browse/CAMEL-14026 > > bye > David > > On 10/1/19

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-01 Thread David Ecker
Thanks, I opened the ticket : https://issues.apache.org/jira/browse/CAMEL-14026 bye David On 10/1/19 4:15 PM, Andrea Cosentino wrote: Nothing wrong from your side, we are missing the converter-moshi dependency on the Karaf feature. Can you please open an issue on Camel JIRA? Thanks Il giorn

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-01 Thread Andrea Cosentino
Nothing wrong from your side, we are missing the converter-moshi dependency on the Karaf feature. Can you please open an issue on Camel JIRA? Thanks Il giorno mar 1 ott 2019 alle ore 16:11 David Ecker ha scritto: > Hi, > > I am running karaf 4.2.6 and camel 2.24.2 (OpenJDK-8, docker). > > Depe

camel-influxdb/NoClassDefFoundError/Moshi

2019-10-01 Thread David Ecker
Hi, I am running karaf 4.2.6 and camel 2.24.2 (OpenJDK-8, docker). Dependencies installed through feature definition automatically:   mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.influxdb-java/2.14_1   mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.retrofit/2.