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

Sanoussy DIALLO commented on KARAF-4647:
----------------------------------------

Yes, it's correct.

I have already checked it with Christian.

> Can't append into Elasticsearch with JMS
> ----------------------------------------
>
>                 Key: KARAF-4647
>                 URL: https://issues.apache.org/jira/browse/KARAF-4647
>             Project: Karaf
>          Issue Type: Bug
>          Components: decanter
>            Reporter: Sanoussy DIALLO
>            Assignee: Jean-Baptiste Onofré
>
> There is a problem with decanter when try to send message to ES using JMS, 
> here is the stack trace:
> java.lang.IllegalStateException: 
> {"root_cause":[{"type":"remote_transport_exception","reason":"[Hack][127.0.0.1:9300][indices:data/write/index[p]]"}],"type":"illegal_argument_exception","reason":"Field
>  [MDC] is defined as a field in mapping [jms] but this name is already used 
> for an object in other types"} at 
> org.apache.karaf.decanter.appender.elasticsearch.rest.ElasticsearchAppender.send(ElasticsearchAppender.java:112)[153:org.apache.karaf.decanter.appender.elasticsearch.rest:1.1.1.SNAPSHOT]
>  at 
> org.apache.karaf.decanter.appender.elasticsearch.rest.ElasticsearchAppender.handleEvent(ElasticsearchAppender.java:99)[153:org.apache.karaf.decanter.appender.elasticsearch.rest:1.1.1.SNAPSHOT]
>  at 
> org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:415)[3:org.apache.karaf.services.eventadmin:4.0.5]
>  at 
> org.apache.felix.eventadmin.impl.tasks.HandlerTask.run(HandlerTask.java:90)[3:org.apache.karaf.services.eventadmin:4.0.5]
>  at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_77]
>  at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_77] at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_77]
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_77]
>  at java.lang.Thread.run(Thread.java:745)[:1.8.0_77]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to