karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Achim Nierbeck (JIRA)" <j...@apache.org>
Subject [jira] [Work started] (KARAF-3655) Elasticsearch Appender fails to install after recent change of JSON parser
Date Fri, 10 Apr 2015 22:04:13 GMT

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

Work on KARAF-3655 started by Achim Nierbeck.
> Elasticsearch Appender fails to install after recent change of JSON parser
> --------------------------------------------------------------------------
>                 Key: KARAF-3655
>                 URL: https://issues.apache.org/jira/browse/KARAF-3655
>             Project: Karaf
>          Issue Type: Bug
>          Components: decanter
>            Reporter: Gary Hodgson
>            Assignee: Achim Nierbeck
> A recent commit (9a68a08) to the Elasticsearch appender appears to have broken it.  
> There appears to be a typo in the features file, as "org.apache.johnzon/javax.json" does
not exist.  I suspect that this is meant to be "org.apache.johnzon/johnzon-core".
> Attempting with this however throws a "Jar is not a bundle".  Attempting to wrap the
jar (via wrap:mvn:...) gets a step further, but then there appears to be another missing requirement.
> Once all of these are specified the feature can be installed, but on attempting to append
to Elasticsearch the following Exception is thrown:
> {code}
> javax.json.JsonException: org.apache.johnzon.core.JsonProviderImpl not found
>   at javax.json.spi.JsonProvider.doLoadProvider(JsonProvider.java:132)[98:org.apache.geronimo.specs.geronimo-json_1.0_spec:1.0.0.alpha-1]
>   at javax.json.spi.JsonProvider.provider(JsonProvider.java:64)[98:org.apache.geronimo.specs.geronimo-json_1.0_spec:1.0.0.alpha-1]
>   at javax.json.Json.createObjectBuilder(Json.java:88)[98:org.apache.geronimo.specs.geronimo-json_1.0_spec:1.0.0.alpha-1]
>   at org.apache.karaf.decanter.appender.elasticsearch.ElasticsearchAppender.send(ElasticsearchAppender.java:141)[101:org.apache.karaf.decanter.appender.elasticsearch:3.0.0.SNAPSHOT]
>   at org.apache.karaf.decanter.appender.elasticsearch.ElasticsearchAppender.handleEvent(ElasticsearchAppender.java:130)[101:org.apache.karaf.decanter.appender.elasticsearch:3.0.0.SNAPSHOT]
> {code}

This message was sent by Atlassian JIRA

View raw message