You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2019/04/08 10:36:00 UTC

[jira] [Resolved] (CAMEL-13396) camel-leveldb can no longer use non-native leveldb libraries

     [ https://issues.apache.org/jira/browse/CAMEL-13396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Cosentino resolved CAMEL-13396.
--------------------------------------
    Resolution: Fixed

> camel-leveldb can no longer use non-native leveldb libraries
> ------------------------------------------------------------
>
>                 Key: CAMEL-13396
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13396
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-leveldb
>    Affects Versions: 3.0.0, 2.23.2
>            Reporter: James Netherton
>            Assignee: James Netherton
>            Priority: Major
>             Fix For: 3.0.0, 2.24.0, 3.0.0-M3, 2.23.3
>
>
> I was testing out the 2.23.2 release with WildFly-Camel and our camel-leveldb integration test has started to fail with:
> java.lang.NoClassDefFoundError: org/fusesource/leveldbjni/JniDBFactory
> I think the changes introduced in CAMEL-13368 have caused this. Specifically the static import for the factory class:
> https://github.com/apache/camel/blob/camel-2.23.x/components/camel-leveldb/src/main/java/org/apache/camel/component/leveldb/LevelDBFile.java#L36
> There's a dedicated private getFactory() method in LevelDBFile, which is more friendly for modular class loading environments. So I think the code should be using that instead.



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